|
|
|
# Generated by rust2rpm 16
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%global crate rgb
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.8.27
|
|
|
|
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}+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 "as-bytes" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+as-bytes-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "bytemuck" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+bytemuck-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
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.27-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Mar 28 2021 Fabio Valentini <decathorpe@gmail.com> - 0.8.27-1
|
|
|
|
- Update to version 0.8.27.
|
|
|
|
- Fixes RHBZ#1943784
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.25-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0.8.25-1
|
|
|
|
- Update to version 0.8.25.
|
|
|
|
|
|
|
|
* Wed Aug 26 2020 Josh Stone <jistone@redhat.com> - 0.8.24-1
|
|
|
|
- Update to 0.8.24
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.20-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Josh Stone <jistone@redhat.com> - 0.8.20-1
|
|
|
|
- Update to 0.8.20
|
|
|
|
|
|
|
|
* Tue Jun 02 16:33:44 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.8.18-1
|
|
|
|
- Update to 0.8.18
|
|
|
|
|
|
|
|
* Tue Apr 21 2020 Josh Stone <jistone@redhat.com> - 0.8.17-1
|
|
|
|
- Update to 0.8.17
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.16-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jan 05 18:38:26 EET 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.8.16-1
|
|
|
|
- Update to 0.8.16
|
|
|
|
|
|
|
|
* Sun Sep 01 20:02:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.14-1
|
|
|
|
- Update to 0.8.14
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Apr 30 18:49:07 EEST 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.8.13-1
|
|
|
|
- Initial package
|