From 509788049da8273f6f67db5b94b7f76df752724b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 04:31:59 +0300 Subject: [PATCH] import rust-av1-grain-0.2.2-1.el9 --- .gitignore | 1 + .rust-av1-grain.metadata | 1 + SPECS/rust-av1-grain.spec | 215 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 217 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-av1-grain.metadata create mode 100644 SPECS/rust-av1-grain.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..918b989 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/av1-grain-0.2.2.crate diff --git a/.rust-av1-grain.metadata b/.rust-av1-grain.metadata new file mode 100644 index 0000000..94ff5cb --- /dev/null +++ b/.rust-av1-grain.metadata @@ -0,0 +1 @@ +ff919ab94cf03914f453d6ae0400122d78e7376e SOURCES/av1-grain-0.2.2.crate diff --git a/SPECS/rust-av1-grain.spec b/SPECS/rust-av1-grain.spec new file mode 100644 index 0000000..a6bd15b --- /dev/null +++ b/SPECS/rust-av1-grain.spec @@ -0,0 +1,215 @@ +## 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 av1-grain + +Name: rust-av1-grain +Version: 0.2.2 +Release: %autorelease +Summary: Helpers for generating and parsing AV1 film grain data + +License: BSD-2-Clause +URL: https://crates.io/crates/av1-grain +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Helpers for generating and parsing AV1 film grain data.} + +%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 +%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}+create-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+create-devel %{_description} + +This package contains library source intended for building other packages which +use the "create" feature of the "%{crate}" crate. + +%files -n %{name}+create-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+diff-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+diff-devel %{_description} + +This package contains library source intended for building other packages which +use the "diff" feature of the "%{crate}" crate. + +%files -n %{name}+diff-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+estimate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+estimate-devel %{_description} + +This package contains library source intended for building other packages which +use the "estimate" feature of the "%{crate}" crate. + +%files -n %{name}+estimate-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+itertools-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+itertools-devel %{_description} + +This package contains library source intended for building other packages which +use the "itertools" feature of the "%{crate}" crate. + +%files -n %{name}+itertools-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nom-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nom-devel %{_description} + +This package contains library source intended for building other packages which +use the "nom" feature of the "%{crate}" crate. + +%files -n %{name}+nom-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+num-rational-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+num-rational-devel %{_description} + +This package contains library source intended for building other packages which +use the "num-rational" feature of the "%{crate}" crate. + +%files -n %{name}+num-rational-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+parse-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+parse-devel %{_description} + +This package contains library source intended for building other packages which +use the "parse" feature of the "%{crate}" crate. + +%files -n %{name}+parse-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serialize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serialize-devel %{_description} + +This package contains library source intended for building other packages which +use the "serialize" feature of the "%{crate}" crate. + +%files -n %{name}+serialize-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v_frame-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v_frame-devel %{_description} + +This package contains library source intended for building other packages which +use the "v_frame" feature of the "%{crate}" crate. + +%files -n %{name}+v_frame-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 +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.2.2-1 +- Rebuilt for MSVSphere 9.3 + +* Wed Jun 28 2023 Fabio Valentini - 0.2.2-1 +- Initial import (#2217974)