diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-08 14:37:55 -0800 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-01-08 14:37:55 -0800 |
| commit | 78c4f20e89e2b5704bf76a4e1c599210d5811fce (patch) | |
| tree | 8cf20260a93cabd1587111ce9eb711e4645224b4 /rust | |
| parent | f10b186397fbd91cc147087146d1cf5d61cc2ace (diff) | |
| download | specs-78c4f20e89e2b5704bf76a4e1c599210d5811fce.tar.gz specs-78c4f20e89e2b5704bf76a4e1c599210d5811fce.tar.xz specs-78c4f20e89e2b5704bf76a4e1c599210d5811fce.zip | |
+ rust
* nu-protocol
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/rust-nu-protocol.spec | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/rust/rust-nu-protocol.spec b/rust/rust-nu-protocol.spec new file mode 100644 index 0000000..71feeec --- /dev/null +++ b/rust/rust-nu-protocol.spec @@ -0,0 +1,93 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate nu-protocol + +Name: rust-%{crate} +Version: 0.42.0 +Release: %autorelease +Summary: Core values and protocols for Nushell + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/nu-protocol +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Core values and protocols 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 + +%package -n %{name}+polars-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+polars-devel %{_description} + +This package contains library source intended for building other packages which +use the "polars" feature of the "%{crate}" crate. + +%files -n %{name}+polars-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 |
