diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-08 21:19:40 -0800 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-08 21:19:40 -0800 |
commit | a370c0d754aee37b3df05532dddeb504de89fec7 (patch) | |
tree | 0809a2e245599fdae153e4d10635f4b1915013c0 | |
parent | 78c4f20e89e2b5704bf76a4e1c599210d5811fce (diff) | |
download | specs-a370c0d754aee37b3df05532dddeb504de89fec7.tar.gz specs-a370c0d754aee37b3df05532dddeb504de89fec7.tar.xz specs-a370c0d754aee37b3df05532dddeb504de89fec7.zip |
+ rust
* nu-value-ext
-rw-r--r-- | rust/rust-nu-value-ext.spec | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/rust/rust-nu-value-ext.spec b/rust/rust-nu-value-ext.spec new file mode 100644 index 0000000..5072232 --- /dev/null +++ b/rust/rust-nu-value-ext.spec @@ -0,0 +1,81 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate nu-value-ext + +Name: rust-%{crate} +Version: 0.42.0 +Release: %autorelease +Summary: Extension traits for values in Nushell + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/nu-value-ext +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Extension traits for values in 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 |