|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
Name: pngquant
|
|
|
|
|
Version: 2.5.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: PNG quantization tool for reducing image file size
|
|
|
|
|
%{?el5:Group: Applications/Multimedia}
|
|
|
|
|
|
|
|
|
@ -63,10 +63,13 @@ rm lib/configure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# this configure export compiler-flags properly
|
|
|
|
|
%configure || :
|
|
|
|
|
# export flags like macro configure do
|
|
|
|
|
# and don't use macro configure because fails in configure.
|
|
|
|
|
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
|
|
|
|
|
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
|
|
|
|
|
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS
|
|
|
|
|
|
|
|
|
|
./configure --prefix=%{_prefix} --enable-debug \
|
|
|
|
|
./configure --prefix=%{_prefix}
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} PREFIX=%{_prefix}
|
|
|
|
|
|
|
|
|
@ -123,6 +126,9 @@ install -Dpm0644 pngquant.1 %{buildroot}/%{_mandir}/man1/pngquant.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 19 2015 Sérgio Basto <sergio@serjux.com> - 2.5.2-2
|
|
|
|
|
- Disable pngquant debug (#1291885)
|
|
|
|
|
|
|
|
|
|
* Thu Nov 26 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 2.5.2-1
|
|
|
|
|
- Update to 2.5.2 (#1285589)
|
|
|
|
|
|
|
|
|
|