|
|
|
@ -1,21 +1,29 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate image
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.21.1
|
|
|
|
|
Version: 0.21.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Imaging library written in Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/image
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Update glob to 0.3, https://github.com/image-rs/image/pull/972
|
|
|
|
|
Patch0: image-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(byteorder/default) >= 1.2.1 with crate(byteorder/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(gif/default) >= 0.10.0 with crate(gif/default) < 0.11.0)
|
|
|
|
|
BuildRequires: (crate(jpeg-decoder) >= 0.1.0 with crate(jpeg-decoder) < 0.2.0)
|
|
|
|
@ -28,14 +36,15 @@ BuildRequires: (crate(png/default) >= 0.14.0 with crate(png/default) < 0.15.0)
|
|
|
|
|
BuildRequires: (crate(scoped_threadpool/default) >= 0.1.0 with crate(scoped_threadpool/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(tiff/default) >= 0.2.0 with crate(tiff/default) < 0.3.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(glob/default) >= 0.2.10 with crate(glob/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(glob/default) >= 0.3.0 with crate(glob/default) < 0.4.0)
|
|
|
|
|
BuildRequires: (crate(num-complex/default) >= 0.2.0 with crate(num-complex/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(quickcheck/default) >= 0.6.2 with crate(quickcheck/default) < 0.7.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Imaging library written in Rust. Provides basic filters and decoders for the\
|
|
|
|
|
most common image formats.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Imaging library written in Rust. Provides basic filters and decoders for the
|
|
|
|
|
most common image formats.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -65,6 +74,18 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+benchmarks-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+benchmarks-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "benchmarks" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+benchmarks-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+bmp-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -273,6 +294,9 @@ which use "webp" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 09 17:07:34 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.21.2-1
|
|
|
|
|
- Update to 0.21.2
|
|
|
|
|
|
|
|
|
|
* Mon Apr 15 2019 Josh Stone <jistone@redhat.com> - 0.21.1-1
|
|
|
|
|
- Update to 0.21.1
|
|
|
|
|
|
|
|
|
|