|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: pngquant
|
|
|
|
Name: pngquant
|
|
|
|
Version: 2.4.0.1
|
|
|
|
Version: 2.4.0.1
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: PNG quantization tool for reducing image file size
|
|
|
|
Summary: PNG quantization tool for reducing image file size
|
|
|
|
%{?el5:Group: Applications/Multimedia}
|
|
|
|
%{?el5:Group: Applications/Multimedia}
|
|
|
|
|
|
|
|
|
|
|
@ -13,6 +13,7 @@ Source0: http://github.srcurl.net/pornel/%{name}/%{version}/%{name}-%{version
|
|
|
|
#Source0: https://github.com/pornel/%{name}/archive/%{name}-%{version}.tar.gz
|
|
|
|
#Source0: https://github.com/pornel/%{name}/archive/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: %{name}-2.4.0_fix-Makefile.patch
|
|
|
|
Patch0: %{name}-2.4.0_fix-Makefile.patch
|
|
|
|
|
|
|
|
Patch1: %{name}-2.4.0_fix-epels.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?el5:BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)}
|
|
|
|
%{?el5:BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)}
|
|
|
@ -59,6 +60,7 @@ There is also some brief API-documentation.
|
|
|
|
%global optflags %(echo %{optflags} -fno-math-errno -funroll-loops -fomit-frame-pointer -fPIC )
|
|
|
|
%global optflags %(echo %{optflags} -fno-math-errno -funroll-loops -fomit-frame-pointer -fPIC )
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
rm lib/configure
|
|
|
|
rm lib/configure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -122,6 +124,9 @@ install -Dpm0644 pngquant.1 %{buildroot}/%{_mandir}/man1/pngquant.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Apr 19 2015 Sérgio Basto <sergio@serjux.com> - 2.4.0.1-4
|
|
|
|
|
|
|
|
- epel compile fix or compile fix for png15
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Apr 19 2015 Sérgio Basto <sergio@serjux.com> - 2.4.0.1-3
|
|
|
|
* Sun Apr 19 2015 Sérgio Basto <sergio@serjux.com> - 2.4.0.1-3
|
|
|
|
- Reenabled SSE on i386, compiling is fixed !
|
|
|
|
- Reenabled SSE on i386, compiling is fixed !
|
|
|
|
- Better pngquant-2.4.0_fix-Makefile.patch more close to upstream.
|
|
|
|
- Better pngquant-2.4.0_fix-Makefile.patch more close to upstream.
|
|
|
|