parent
069d44967e
commit
22e25aab44
@ -1,3 +0,0 @@
|
|||||||
/oxipng-4.0.3.crate
|
|
||||||
/oxipng-5.0.0.crate
|
|
||||||
/oxipng-5.0.1.crate
|
|
@ -1,2 +0,0 @@
|
|||||||
* Mon May 31 2021 Rémi Lauzier <remilauzier@protonmail.com> - 4.0.3-1
|
|
||||||
- Initial package
|
|
@ -0,0 +1 @@
|
|||||||
|
no longer used
|
@ -1,20 +0,0 @@
|
|||||||
--- oxipng-5.0.1/Cargo.toml 1970-01-01T00:00:01+00:00
|
|
||||||
+++ oxipng-5.0.1/Cargo.toml 2022-01-17T23:31:54.908377+00:00
|
|
||||||
@@ -78,7 +78,7 @@
|
|
||||||
version = "0.4.14"
|
|
||||||
|
|
||||||
[dependencies.miniz_oxide]
|
|
||||||
-version = "0.5"
|
|
||||||
+version = "0.4"
|
|
||||||
|
|
||||||
[dependencies.rayon]
|
|
||||||
version = "^1.5.0"
|
|
||||||
@@ -96,7 +96,7 @@
|
|
||||||
optional = true
|
|
||||||
|
|
||||||
[dependencies.zopfli]
|
|
||||||
-version = "^0.4.0"
|
|
||||||
+version = "^0.5.0"
|
|
||||||
optional = true
|
|
||||||
[build-dependencies.rustc_version]
|
|
||||||
version = "0.4"
|
|
@ -1,204 +0,0 @@
|
|||||||
# Generated by rust2rpm 20
|
|
||||||
%bcond_without check
|
|
||||||
|
|
||||||
%global crate oxipng
|
|
||||||
|
|
||||||
Name: rust-%{crate}
|
|
||||||
Version: 5.0.1
|
|
||||||
Release: %autorelease
|
|
||||||
Summary: Lossless PNG compression optimizer
|
|
||||||
|
|
||||||
# Upstream license specification: MIT
|
|
||||||
License: MIT
|
|
||||||
URL: https://crates.io/crates/oxipng
|
|
||||||
Source: %{crates_source}
|
|
||||||
# Initial patched metadata
|
|
||||||
# Downgrade miniz_oxide to version 0.4
|
|
||||||
# Upgrade zopfli to version 0.5
|
|
||||||
Patch0: oxipng-fix-metadata.diff
|
|
||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
|
||||||
|
|
||||||
BuildRequires: rust-packaging
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
Lossless PNG compression optimizer.}
|
|
||||||
|
|
||||||
%description %{_description}
|
|
||||||
|
|
||||||
%package -n %{crate}
|
|
||||||
Summary: %{summary}
|
|
||||||
# 0BSD or MIT or ASL 2.0
|
|
||||||
# ASL 2.0
|
|
||||||
# ASL 2.0 and MIT
|
|
||||||
# ASL 2.0 or MIT
|
|
||||||
# MIT
|
|
||||||
# MIT and zlib or ASL 2.0 and zlib
|
|
||||||
# MIT or ASL 2.0
|
|
||||||
# MIT or zlib or ASL 2.0
|
|
||||||
# Unlicense or MIT
|
|
||||||
# zlib
|
|
||||||
# zlib or ASL 2.0 or MIT
|
|
||||||
License: ASL 2.0 and MIT and zlib
|
|
||||||
|
|
||||||
%description -n %{crate} %{_description}
|
|
||||||
|
|
||||||
%files -n %{crate}
|
|
||||||
%license LICENSE
|
|
||||||
%doc CHANGELOG.md README.md README.template.md
|
|
||||||
%{_bindir}/oxipng
|
|
||||||
|
|
||||||
%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 CHANGELOG.md README.md README.template.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}+binary-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+binary-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+clap-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+clap-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+filetime-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+filetime-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+libdeflater-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+libdeflater-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+parallel-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+parallel-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+rayon-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+rayon-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+stderrlog-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+stderrlog-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+wild-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+wild-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+zopfli-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
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.
|
|
||||||
|
|
||||||
%files -n %{name}+zopfli-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
|
|
||||||
%autochangelog
|
|
Loading…
Reference in new issue