summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-08 23:43:00 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-08 23:43:00 -0800
commitf9d44daa39a8daab0e0fdefe20f73f958201e10d (patch)
tree96a9f7c280fb81e4a31ca9ba4ce6f1b84c28278b
parenta1c0ddb4394bd700ef055f64ac8e030de05671d0 (diff)
downloadspecs-f9d44daa39a8daab0e0fdefe20f73f958201e10d.tar.gz
specs-f9d44daa39a8daab0e0fdefe20f73f958201e10d.tar.xz
specs-f9d44daa39a8daab0e0fdefe20f73f958201e10d.zip
+ rust-nu
- parser - engine
-rw-r--r--rust/rust-nu-engine.spec131
-rw-r--r--rust/rust-nu-parser.spec82
2 files changed, 213 insertions, 0 deletions
diff --git a/rust/rust-nu-engine.spec b/rust/rust-nu-engine.spec
new file mode 100644
index 0000000..cec5f00
--- /dev/null
+++ b/rust/rust-nu-engine.spec
@@ -0,0 +1,131 @@
+# Generated by rust2rpm 20
+# Tests fail with path issues
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate nu-engine
+
+Name: rust-%{crate}
+Version: 0.42.0
+Release: %autorelease
+Summary: Core commands for nushell
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-engine
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Core commands 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
+%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}+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}+rustyline-support-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+rustyline-support-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "rustyline-support" feature of the "%{crate}" crate.
+
+%files -n %{name}+rustyline-support-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+trash-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+trash-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "trash" feature of the "%{crate}" crate.
+
+%files -n %{name}+trash-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+trash-support-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+trash-support-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "trash-support" feature of the "%{crate}" crate.
+
+%files -n %{name}+trash-support-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+which-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+which-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "which" feature of the "%{crate}" crate.
+
+%files -n %{name}+which-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-parser.spec b/rust/rust-nu-parser.spec
new file mode 100644
index 0000000..1ed8c2b
--- /dev/null
+++ b/rust/rust-nu-parser.spec
@@ -0,0 +1,82 @@
+# Generated by rust2rpm 20
+# need to fix tests, path issues
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate nu-parser
+
+Name: rust-%{crate}
+Version: 0.42.0
+Release: %autorelease
+Summary: Nushell parser
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-parser
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Nushell parser.}
+
+%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