|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
# Generated by rust2rpm 17
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
%global crate oxipng
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 5.0.0
|
|
|
|
|
Version: 5.0.1
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Lossless PNG compression optimizer
|
|
|
|
|
|
|
|
|
@ -13,13 +13,10 @@ License: MIT
|
|
|
|
|
URL: https://crates.io/crates/oxipng
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Downgrade rustc_version to version 0.3
|
|
|
|
|
# Downgrade miniz_oxide to version 0.4
|
|
|
|
|
Patch0: oxipng-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
@ -28,7 +25,6 @@ Lossless PNG compression optimizer.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
# ASL 2.0
|
|
|
|
@ -47,9 +43,8 @@ License: ASL 2.0 and MIT and zlib and Unlicense
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
|
%doc CHANGELOG.md README.md README.template.md
|
|
|
|
|
%{_bindir}/oxipng
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -57,12 +52,12 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
|
%doc CHANGELOG.md README.md README.template.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
@ -71,8 +66,8 @@ 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.
|
|
|
|
|
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
|
|
|
|
@ -83,8 +78,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+binary-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "binary" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "binary" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+binary-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -95,8 +90,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clap-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "clap" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "clap" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+clap-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -107,8 +102,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+filetime-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "filetime" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "filetime" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+filetime-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -119,8 +114,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+libdeflater-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "libdeflater" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "libdeflater" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+libdeflater-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -131,8 +126,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+parallel-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "parallel" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "parallel" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+parallel-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -143,8 +138,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rayon-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "rayon" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "rayon" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rayon-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -155,8 +150,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+stderrlog-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "stderrlog" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "stderrlog" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+stderrlog-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -167,8 +162,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+wild-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "wild" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "wild" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+wild-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -179,8 +174,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+zopfli-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "zopfli" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "zopfli" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+zopfli-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|