# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate rgb Name: rust-%{crate} Version: 0.8.16 Release: 2%{?dist} Summary: Struct RGB/RGBA/etc. for sharing pixels between crates # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/rgb Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %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 "%{crate}" crate. %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "argb" feature of "%{crate}" crate. %files -n %{name}+argb-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 * 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