summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-08 14:37:55 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-08 14:37:55 -0800
commit78c4f20e89e2b5704bf76a4e1c599210d5811fce (patch)
tree8cf20260a93cabd1587111ce9eb711e4645224b4 /rust
parentf10b186397fbd91cc147087146d1cf5d61cc2ace (diff)
downloadspecs-78c4f20e89e2b5704bf76a4e1c599210d5811fce.tar.gz
specs-78c4f20e89e2b5704bf76a4e1c599210d5811fce.tar.xz
specs-78c4f20e89e2b5704bf76a4e1c599210d5811fce.zip
+ rust
* nu-protocol
Diffstat (limited to 'rust')
-rw-r--r--rust/rust-nu-protocol.spec93
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