commit 67a2f70f97b990dad9426ed0ffbd3f7e92fe13f9 Author: tigro Date: Mon Jan 15 21:41:10 2024 +0300 import rust-jpeg-decoder-0.3.0-1.el9 diff --git a/.rust-jpeg-decoder.metadata b/.rust-jpeg-decoder.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/jpeg-decoder-0.3.0.crate b/SOURCES/jpeg-decoder-0.3.0.crate new file mode 100644 index 0000000..1a9a501 Binary files /dev/null and b/SOURCES/jpeg-decoder-0.3.0.crate differ diff --git a/SPECS/rust-jpeg-decoder.spec b/SPECS/rust-jpeg-decoder.spec new file mode 100644 index 0000000..509eaf0 --- /dev/null +++ b/SPECS/rust-jpeg-decoder.spec @@ -0,0 +1,177 @@ +## 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 +# * tests and test files are not included in published crates +%bcond_with check +%global debug_package %{nil} + +%global crate jpeg-decoder + +Name: rust-jpeg-decoder +Version: 0.3.0 +Release: %autorelease +Summary: JPEG decoder + +# Upstream license specification: MIT / Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/jpeg-decoder +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +JPEG decoder.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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}+nightly_aarch64_neon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly_aarch64_neon-devel %{_description} + +This package contains library source intended for building other packages which +use the "nightly_aarch64_neon" feature of the "%{crate}" crate. + +%files -n %{name}+nightly_aarch64_neon-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+platform_independent-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+platform_independent-devel %{_description} + +This package contains library source intended for building other packages which +use the "platform_independent" feature of the "%{crate}" crate. + +%files -n %{name}+platform_independent-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rayon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rayon-devel %{_description} + +This package contains library source intended for building other packages which +use the "rayon" feature of the "%{crate}" crate. + +%files -n %{name}+rayon-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.3.0-1 +- Rebuilt for MSVSphere 9.3 + +* Tue Aug 08 2023 Kalev Lember - 0.3.0-1 +- Update to version 0.3.0; Fixes RHBZ#2135555 + +* Tue Aug 08 2023 Kalev Lember - 0.2.6-4 +- Re-generate packaging with rust2rpm 24 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.2.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 0.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Aug 20 2022 Fabio Valentini - 0.2.6-1 +- Update to version 0.2.6; Fixes RHBZ#2029173 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.22-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Mar 03 2021 Fabio Valentini - 0.1.22-1 +- Update to version 0.1.22. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.20-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 0.1.20-1 +- Update to 0.1.20 + +* Wed Apr 29 2020 Josh Stone - 0.1.19-1 +- Update to 0.1.19 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Dec 16 2019 Josh Stone - 0.1.18-1 +- Update to 0.1.18 + +* Sun Sep 01 19:36:11 CEST 2019 Igor Gnatenko - 0.1.16-1 +- Update to 0.1.16 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jun 23 10:56:37 CEST 2019 Igor Gnatenko - 0.1.15-2 +- Regenerate + +* Fri Mar 15 2019 Igor Gnatenko - 0.1.15-1 +- Initial package +