## 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 25 %bcond_without check %global debug_package %{nil} %global crate rgb Name: rust-rgb Version: 0.8.37 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}+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 * Mon Jan 15 2024 Arkady L. Shane - 0.8.37-1 - Rebuilt for MSVSphere 9.3 * 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