diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-08 22:29:47 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-08 22:29:47 -0800 |
commit | a1c0ddb4394bd700ef055f64ac8e030de05671d0 (patch) | |
tree | 2595c1b8380d0574b29017dc0714702e22d20b3b | |
parent | 914e1367fedee0820e6fc37b4b014c1ba19ee9f4 (diff) | |
download | specs-a1c0ddb4394bd700ef055f64ac8e030de05671d0.tar.gz specs-a1c0ddb4394bd700ef055f64ac8e030de05671d0.tar.xz specs-a1c0ddb4394bd700ef055f64ac8e030de05671d0.zip |
+ rust
- nu-stream
- nu-table
- nu-data
- common-path
- sys-locale
- cstr_core
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r-- | rust/rust-common-path.spec | 71 | ||||
-rw-r--r-- | rust/rust-cstr_core.spec | 131 | ||||
-rw-r--r-- | rust/rust-nu-data.spec | 81 | ||||
-rw-r--r-- | rust/rust-nu-stream.spec | 81 | ||||
-rw-r--r-- | rust/rust-nu-table.spec | 76 | ||||
-rw-r--r-- | rust/rust-sys-locale.spec | 73 |
6 files changed, 513 insertions, 0 deletions
diff --git a/rust/rust-common-path.spec b/rust/rust-common-path.spec new file mode 100644 index 0000000..e0167b8 --- /dev/null +++ b/rust/rust-common-path.spec @@ -0,0 +1,71 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate common-path + +Name: rust-%{crate} +Version: 1.0.0 +Release: %autorelease +Summary: Finds the common prefix between a set of paths + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/common-path +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Finds the common prefix between a set of paths.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license LICENSE-APACHE LICENSE-MIT +%doc README.adoc +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/rust/rust-cstr_core.spec b/rust/rust-cstr_core.spec new file mode 100644 index 0000000..93abe4a --- /dev/null +++ b/rust/rust-cstr_core.spec @@ -0,0 +1,131 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate cstr_core + +Name: rust-%{crate} +Version: 0.2.5 +Release: %autorelease +Summary: Implementation of CStr and CString for no_std environments + +# Upstream license specification: Apache-2.0/MIT +License: ASL 2.0 or MIT +URL: https://crates.io/crates/cstr_core +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Implementation of CStr and CString for no_std environments.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license LICENSE-APACHE LICENSE-MIT +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+arc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arc-devel %{_description} + +This package contains library source intended for building other packages which +use the "arc" feature of the "%{crate}" crate. + +%files -n %{name}+arc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages which +use the "nightly" feature of the "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+use_libc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use_libc-devel %{_description} + +This package contains library source intended for building other packages which +use the "use_libc" feature of the "%{crate}" crate. + +%files -n %{name}+use_libc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/rust/rust-nu-data.spec b/rust/rust-nu-data.spec new file mode 100644 index 0000000..f0acfcc --- /dev/null +++ b/rust/rust-nu-data.spec @@ -0,0 +1,81 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate nu-data + +Name: rust-%{crate} +Version: 0.42.0 +Release: %autorelease +Summary: CLI for nushell + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/nu-data +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +CLI for nushell.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+dataframe-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dataframe-devel %{_description} + +This package contains library source intended for building other packages which +use the "dataframe" feature of the "%{crate}" crate. + +%files -n %{name}+dataframe-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/rust/rust-nu-stream.spec b/rust/rust-nu-stream.spec new file mode 100644 index 0000000..097935d --- /dev/null +++ b/rust/rust-nu-stream.spec @@ -0,0 +1,81 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate nu-stream + +Name: rust-%{crate} +Version: 0.42.0 +Release: %autorelease +Summary: Nushell stream + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/nu-stream +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Nushell stream.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+stable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+stable-devel %{_description} + +This package contains library source intended for building other packages which +use the "stable" feature of the "%{crate}" crate. + +%files -n %{name}+stable-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/rust/rust-nu-table.spec b/rust/rust-nu-table.spec new file mode 100644 index 0000000..20cc8dd --- /dev/null +++ b/rust/rust-nu-table.spec @@ -0,0 +1,76 @@ +# Generated by rust2rpm 20 +%bcond_without check + +%global crate nu-table + +Name: rust-%{crate} +Version: 0.42.0 +Release: %autorelease +Summary: Nushell table printing + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/nu-table +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Nushell table printing.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%{_bindir}/table + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/rust/rust-sys-locale.spec b/rust/rust-sys-locale.spec new file mode 100644 index 0000000..6920ecf --- /dev/null +++ b/rust/rust-sys-locale.spec @@ -0,0 +1,73 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate sys-locale + +Name: rust-%{crate} +Version: 0.1.0 +Release: %autorelease +Summary: Small and lightweight library to obtain the active system locale + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/sys-locale +Source: %{crates_source} +# Initial patched metadata +Patch0: sys-locale-fix-metadata.diff + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Small and lightweight library to obtain the active system locale.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog |