|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate image
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.22.3
|
|
|
|
|
Version: 0.22.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Imaging library written in Rust
|
|
|
|
|
|
|
|
|
@ -13,6 +13,9 @@ Summary: Imaging library written in Rust
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/image
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Bump to tiff 0.4, https://github.com/image-rs/image/pull/1081
|
|
|
|
|
Patch0: image-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
@ -39,7 +42,7 @@ which use "%{crate}" crate.
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md CHANGES.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -51,7 +54,7 @@ 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}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+benchmarks-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -63,7 +66,7 @@ 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
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+bmp-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -75,7 +78,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "bmp" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+bmp-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+dxt-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -87,7 +90,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "dxt" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+dxt-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gif-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -99,7 +102,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "gif" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gif-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gif_codec-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -111,7 +114,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "gif_codec" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gif_codec-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+hdr-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -123,7 +126,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "hdr" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+hdr-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+ico-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -135,7 +138,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "ico" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ico-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+jpeg-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -147,7 +150,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "jpeg" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+jpeg-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+jpeg-decoder-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -159,7 +162,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "jpeg-decoder" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+jpeg-decoder-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+jpeg_rayon-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -171,7 +174,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "jpeg_rayon" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+jpeg_rayon-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+png-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -183,7 +186,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "png" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+png-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+png_codec-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -195,7 +198,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "png_codec" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+png_codec-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pnm-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -207,7 +210,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "pnm" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pnm-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+scoped_threadpool-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -219,7 +222,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "scoped_threadpool" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+scoped_threadpool-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tga-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -231,7 +234,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "tga" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+tga-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tiff-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -243,7 +246,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "tiff" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+tiff-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+webp-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -255,7 +258,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "webp" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+webp-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
@ -277,6 +280,9 @@ which use "webp" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 16 2020 Josh Stone <jistone@redhat.com> - 0.22.4-1
|
|
|
|
|
- Update to 0.22.4
|
|
|
|
|
|
|
|
|
|
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.22.3-1
|
|
|
|
|
- Update to 0.22.3
|
|
|
|
|
|
|
|
|
|