commit 0f3f19a25ea9a8a4f2c858ee92bb3014057b9d0d Author: MSVSphere Packaging Team Date: Fri Dec 20 16:55:18 2024 +0300 import rust-rgb-0.8.50-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..72f3cf4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rgb-0.8.50.crate diff --git a/.rust-rgb.metadata b/.rust-rgb.metadata new file mode 100644 index 0000000..06c8605 --- /dev/null +++ b/.rust-rgb.metadata @@ -0,0 +1 @@ +63cf50b737ee98c8615b6519b2123466e59471ba SOURCES/rgb-0.8.50.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..a9732cd --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,9 @@ +[package] +summary = "Struct RGB/RGBA/etc. for sharing pixels between crates" + +[features] +hide = [ + "defmt-03", + "unstable-experimental", +] + diff --git a/SPECS/rust-rgb.spec b/SPECS/rust-rgb.spec new file mode 100644 index 0000000..33b0ccb --- /dev/null +++ b/SPECS/rust-rgb.spec @@ -0,0 +1,258 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate rgb + +Name: rust-rgb +Version: 0.8.50 +Release: %autorelease +Summary: Struct RGB/RGBA/etc. for sharing pixels between crates + +License: MIT +URL: https://crates.io/crates/rgb +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +`struct RGB/RGBA/etc.` for sharing pixels between crates + convenience +methods for color manipulation. Allows no-copy high-level +interoperability. Also adds common convenience methods and implements +standard Rust traits to make `RGB`/`RGBA` pixels and slices first-class +Rust objects.} + +%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}/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}+argb-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+argb-devel %{_description} + +This package contains library source intended for building other packages which +use the "argb" feature of the "%{crate}" crate. + +%files -n %{name}+argb-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+as-bytes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+as-bytes-devel %{_description} + +This package contains library source intended for building other packages which +use the "as-bytes" feature of the "%{crate}" crate. + +%files -n %{name}+as-bytes-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+bytemuck-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bytemuck-devel %{_description} + +This package contains library source intended for building other packages which +use the "bytemuck" feature of the "%{crate}" crate. + +%files -n %{name}+bytemuck-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+checked_fns-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+checked_fns-devel %{_description} + +This package contains library source intended for building other packages which +use the "checked_fns" feature of the "%{crate}" crate. + +%files -n %{name}+checked_fns-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+grb-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+grb-devel %{_description} + +This package contains library source intended for building other packages which +use the "grb" feature of the "%{crate}" crate. + +%files -n %{name}+grb-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 + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.8.50-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Sep 17 2024 Fabio Valentini - 0.8.50-1 +- Update to version 0.8.50; Fixes RHBZ#2303529 + +* Mon Aug 05 2024 Fabio Valentini - 0.8.47-1 +- Update to version 0.8.47; Fixes RHBZ#2302727 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.8.45-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jul 16 2024 Fabio Valentini - 0.8.45-1 +- Update to version 0.8.45; Fixes RHBZ#2296204 + +* Sat Jul 06 2024 Fabio Valentini - 0.8.40-1 +- Update to version 0.8.40; Fixes RHBZ#2295561 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.8.37-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Nov 10 2023 Fabio Valentini - 0.8.37-1 +- Update to version 0.8.37; Fixes RHBZ#2246828 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.8.36-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Feb 21 2023 Fabio Valentini - 0.8.36-1 +- Update to version 0.8.36; Fixes RHBZ#2171942 + +* Tue Feb 07 2023 Fabio Valentini - 0.8.35-1 +- Update to version 0.8.35; Fixes RHBZ#2167553 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.8.34-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Oct 05 2022 Fabio Valentini - 0.8.34-1 +- Update to version 0.8.34; Fixes RHBZ#2127780 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.8.33-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 15 2022 Fabio Valentini - 0.8.33-1 +- Update to version 0.8.33; Fixes RHBZ#2098405 + +* Fri Mar 04 2022 Fabio Valentini - 0.8.32-1 +- Update to version 0.8.32; Fixes RHBZ#2059143 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.8.31-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Fabio Valentini - 0.8.31-1 +- Update to version 0.8.31; Fixes RHBZ#2033782 + +* Wed Dec 15 2021 Fabio Valentini - 0.8.30-1 +- Update to version 0.8.30; Fixes RHBZ#2030743 + +* Wed Nov 10 2021 Fabio Valentini - 0.8.29-1 +- Update to version 0.8.29; Fixes RHBZ#2018474 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.8.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Mar 28 2021 Fabio Valentini - 0.8.27-1 +- Update to version 0.8.27. +- Fixes RHBZ#1943784 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.8.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Sep 16 2020 Fabio Valentini - 0.8.25-1 +- Update to version 0.8.25. + +* Wed Aug 26 2020 Josh Stone - 0.8.24-1 +- Update to 0.8.24 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 0.8.20-1 +- Update to 0.8.20 + +* Tue Jun 02 16:33:44 CEST 2020 Igor Raits - 0.8.18-1 +- Update to 0.8.18 + +* Tue Apr 21 2020 Josh Stone - 0.8.17-1 +- Update to 0.8.17 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.8.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Jan 05 18:38:26 EET 2020 Artem Polishchuk - 0.8.16-1 +- Update to 0.8.16 + +* Sun Sep 01 20:02:49 CEST 2019 Igor Gnatenko - 0.8.14-1 +- Update to 0.8.14 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.8.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Apr 30 18:49:07 EEST 2019 Artem Polishchuk - 0.8.13-1 +- Initial package + +## END: Generated by rpmautospec