|
|
@ -4,7 +4,7 @@
|
|
|
|
%global libname libimagequant
|
|
|
|
%global libname libimagequant
|
|
|
|
|
|
|
|
|
|
|
|
Name: pngquant
|
|
|
|
Name: pngquant
|
|
|
|
Version: 2.7.2
|
|
|
|
Version: 2.8.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: PNG quantization tool for reducing image file size
|
|
|
|
Summary: PNG quantization tool for reducing image file size
|
|
|
|
|
|
|
|
|
|
|
@ -12,6 +12,7 @@ License: GPLv3+
|
|
|
|
|
|
|
|
|
|
|
|
URL: http://%{name}.org
|
|
|
|
URL: http://%{name}.org
|
|
|
|
Source0: https://github.com/pornel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/pornel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Source1: https://github.com/ImageOptim/libimagequant/archive/%{version}/%{libname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: libpng-devel >= 1.2.46-1
|
|
|
|
BuildRequires: libpng-devel >= 1.2.46-1
|
|
|
|
BuildRequires: zlib-devel >= 1.2.3-1
|
|
|
|
BuildRequires: zlib-devel >= 1.2.3-1
|
|
|
@ -52,8 +53,10 @@ There is also some brief API-documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -a1
|
|
|
|
rm -f lib/configure
|
|
|
|
rmdir lib/
|
|
|
|
|
|
|
|
mv %{libname}-%{version} lib
|
|
|
|
|
|
|
|
rm lib/configure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -96,12 +99,15 @@ make test.shared
|
|
|
|
%{_libdir}/%{libname}.so.*
|
|
|
|
%{_libdir}/%{libname}.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%doc lib/MANUAL.md
|
|
|
|
%doc lib/README.md
|
|
|
|
%{_includedir}/imagequant
|
|
|
|
%{_includedir}/imagequant
|
|
|
|
%{_libdir}/%{libname}.so
|
|
|
|
%{_libdir}/%{libname}.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Dec 02 2016 Sérgio Basto <sergio@serjux.com> - 2.8.1-1
|
|
|
|
|
|
|
|
- New upstream vesion, 2.8.1
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 02 2016 Sérgio Basto <sergio@serjux.com> - 2.7.2-1
|
|
|
|
* Fri Dec 02 2016 Sérgio Basto <sergio@serjux.com> - 2.7.2-1
|
|
|
|
- Update pngquant 2.7.2
|
|
|
|
- Update pngquant 2.7.2
|
|
|
|
|
|
|
|
|
|
|
|