From 60364c984a9f73a96eb0c8ca28430cbba6d542fc Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Fri, 25 Dec 2020 18:52:22 +0100 Subject: [PATCH] Initial import Signed-off-by: Igor Raits --- .gitignore | 1 + rust-crosstermion.spec | 292 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 294 insertions(+) create mode 100644 .gitignore create mode 100644 rust-crosstermion.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2495a73 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/crosstermion-0.5.0.crate diff --git a/rust-crosstermion.spec b/rust-crosstermion.spec new file mode 100644 index 0000000..c1caf57 --- /dev/null +++ b/rust-crosstermion.spec @@ -0,0 +1,292 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate crosstermion + +Name: rust-%{crate} +Version: 0.5.0 +Release: 1%{?dist} +Summary: Unification of crossterm and termion behind a common facade for use with feature flags + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/crosstermion +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Unification of crossterm and termion behind a common facade for use with +feature flags.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE.md +%doc README.md CHANGELOG.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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+ansi_term-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ansi_term-devel %{_description} + +This package contains library source intended for building other packages +which use "ansi_term" feature of "%{crate}" crate. + +%files -n %{name}+ansi_term-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+async-channel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-channel-devel %{_description} + +This package contains library source intended for building other packages +which use "async-channel" feature of "%{crate}" crate. + +%files -n %{name}+async-channel-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+color-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+color-devel %{_description} + +This package contains library source intended for building other packages +which use "color" feature of "%{crate}" crate. + +%files -n %{name}+color-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+crossterm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+crossterm-devel %{_description} + +This package contains library source intended for building other packages +which use "crossterm" feature of "%{crate}" crate. + +%files -n %{name}+crossterm-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+futures-channel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-channel-devel %{_description} + +This package contains library source intended for building other packages +which use "futures-channel" feature of "%{crate}" crate. + +%files -n %{name}+futures-channel-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+futures-core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-core-devel %{_description} + +This package contains library source intended for building other packages +which use "futures-core" feature of "%{crate}" crate. + +%files -n %{name}+futures-core-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+futures-lite-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-lite-devel %{_description} + +This package contains library source intended for building other packages +which use "futures-lite" feature of "%{crate}" crate. + +%files -n %{name}+futures-lite-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+input-async-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+input-async-devel %{_description} + +This package contains library source intended for building other packages +which use "input-async" feature of "%{crate}" crate. + +%files -n %{name}+input-async-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+input-async-crossterm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+input-async-crossterm-devel %{_description} + +This package contains library source intended for building other packages +which use "input-async-crossterm" feature of "%{crate}" crate. + +%files -n %{name}+input-async-crossterm-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+termion-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+termion-devel %{_description} + +This package contains library source intended for building other packages +which use "termion" feature of "%{crate}" crate. + +%files -n %{name}+termion-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-devel %{_description} + +This package contains library source intended for building other packages +which use "tui" feature of "%{crate}" crate. + +%files -n %{name}+tui-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-crossterm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-crossterm-devel %{_description} + +This package contains library source intended for building other packages +which use "tui-crossterm" feature of "%{crate}" crate. + +%files -n %{name}+tui-crossterm-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-crossterm-backend-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-crossterm-backend-devel %{_description} + +This package contains library source intended for building other packages +which use "tui-crossterm-backend" feature of "%{crate}" crate. + +%files -n %{name}+tui-crossterm-backend-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-react-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-react-devel %{_description} + +This package contains library source intended for building other packages +which use "tui-react" feature of "%{crate}" crate. + +%files -n %{name}+tui-react-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-react-crossterm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-react-crossterm-devel %{_description} + +This package contains library source intended for building other packages +which use "tui-react-crossterm" feature of "%{crate}" crate. + +%files -n %{name}+tui-react-crossterm-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-react-termion-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-react-termion-devel %{_description} + +This package contains library source intended for building other packages +which use "tui-react-termion" feature of "%{crate}" crate. + +%files -n %{name}+tui-react-termion-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-termion-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-termion-devel %{_description} + +This package contains library source intended for building other packages +which use "tui-termion" feature of "%{crate}" crate. + +%files -n %{name}+tui-termion-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+tui-termion-backend-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tui-termion-backend-devel %{_description} + +This package contains library source intended for building other packages +which use "tui-termion-backend" feature of "%{crate}" crate. + +%files -n %{name}+tui-termion-backend-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 +* Fri Dec 25 18:43:18 CET 2020 Igor Raits - 0.5.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..61d93d6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (crosstermion-0.5.0.crate) = f6898b14306238cc9072fcac12d39ea39dfb7d11a227c91fb2e8ea657c3e432aa532430b6a58b1ebbf23839497d905366bff2e172e832508d4544bfd0a5ce1eb