commit a453f3033a46be85a163581088a5c93bb37a904c Author: tigro Date: Mon Jan 15 20:52:59 2024 +0300 import rust-crosstermion-0.10.1-1.el9 diff --git a/.rust-crosstermion.metadata b/.rust-crosstermion.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/crosstermion-0.10.1.crate b/SOURCES/crosstermion-0.10.1.crate new file mode 100644 index 0000000..49a3fcd Binary files /dev/null and b/SOURCES/crosstermion-0.10.1.crate differ diff --git a/SPECS/rust-crosstermion.spec b/SPECS/rust-crosstermion.spec new file mode 100644 index 0000000..4f80828 --- /dev/null +++ b/SPECS/rust-crosstermion.spec @@ -0,0 +1,333 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate crosstermion + +Name: rust-crosstermion +Version: 0.10.1 +Release: %autorelease +Summary: Unification of crossterm and termion behind a common facade for use with feature flags + +License: MIT +URL: https://crates.io/crates/crosstermion +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +The 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 the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE.md +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%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 %{crate_instdir}/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 the "ansi_term" feature of the "%{crate}" crate. + +%files -n %{name}+ansi_term-devel +%ghost %{crate_instdir}/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 the "async-channel" feature of the "%{crate}" crate. + +%files -n %{name}+async-channel-devel +%ghost %{crate_instdir}/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 the "color" feature of the "%{crate}" crate. + +%files -n %{name}+color-devel +%ghost %{crate_instdir}/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 the "crossterm" feature of the "%{crate}" crate. + +%files -n %{name}+crossterm-devel +%ghost %{crate_instdir}/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 the "futures-channel" feature of the "%{crate}" crate. + +%files -n %{name}+futures-channel-devel +%ghost %{crate_instdir}/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 the "futures-core" feature of the "%{crate}" crate. + +%files -n %{name}+futures-core-devel +%ghost %{crate_instdir}/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 the "futures-lite" feature of the "%{crate}" crate. + +%files -n %{name}+futures-lite-devel +%ghost %{crate_instdir}/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 the "input-async" feature of the "%{crate}" crate. + +%files -n %{name}+input-async-devel +%ghost %{crate_instdir}/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 the "input-async-crossterm" feature of the "%{crate}" crate. + +%files -n %{name}+input-async-crossterm-devel +%ghost %{crate_instdir}/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 the "termion" feature of the "%{crate}" crate. + +%files -n %{name}+termion-devel +%ghost %{crate_instdir}/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 the "tui" feature of the "%{crate}" crate. + +%files -n %{name}+tui-devel +%ghost %{crate_instdir}/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 the "tui-crossterm" feature of the "%{crate}" crate. + +%files -n %{name}+tui-crossterm-devel +%ghost %{crate_instdir}/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 the "tui-crossterm-backend" feature of the "%{crate}" crate. + +%files -n %{name}+tui-crossterm-backend-devel +%ghost %{crate_instdir}/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 the "tui-react" feature of the "%{crate}" crate. + +%files -n %{name}+tui-react-devel +%ghost %{crate_instdir}/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 the "tui-react-crossterm" feature of the "%{crate}" crate. + +%files -n %{name}+tui-react-crossterm-devel +%ghost %{crate_instdir}/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 the "tui-react-termion" feature of the "%{crate}" crate. + +%files -n %{name}+tui-react-termion-devel +%ghost %{crate_instdir}/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 the "tui-termion" feature of the "%{crate}" crate. + +%files -n %{name}+tui-termion-devel +%ghost %{crate_instdir}/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 the "tui-termion-backend" feature of the "%{crate}" crate. + +%files -n %{name}+tui-termion-backend-devel +%ghost %{crate_instdir}/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 +* Mon Jan 15 2024 Arkady L. Shane - 0.10.1-1 +- Rebuilt for MSVSphere 9.3 + +* Sat Jul 22 2023 Fabio Valentini - 0.10.1-1 +- Update to version 0.10.1 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.9.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 23 2023 Fabio Valentini - 0.9.0-4 +- Regenerate with rust2rpm v24 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Feb 13 2022 Fabio Valentini - 0.9.0-1 +- Update to version 0.9.0; Fixes RHBZ#1956134 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jul 20 2021 Igor Raits - 0.7.0-1 +- Update to 0.7.0 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Jan 10 2021 Igor Raits - 0.6.0-1 +- Update to 0.6.0 + +* Fri Dec 25 2020 Igor Raits - 0.5.0-1 +- Initial import