Name: pngcrush Summary: Utility to compress PNG files Version: 1.6.10 Release: %mkrel 1 License: zlib Group: Graphics URL: http://pmt.sourceforge.net/%{name}/ Source0: http://downloads.sourceforge.net/pmt/%{name}-%{version}.tar.lzma Buildrequires: zlib-devel BuildRequires: libpng-devel BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description pngcrush is an optimizer for PNG (Portable Network Graphics) files. It can compress them as much as 40% losslessly. %prep %setup -q # Use Mandriva's default gcc, CFLAGS and LDFLAGS sed -i -e "s/gcc-4.3.0/gcc/" Makefile # -e "/CFLAGS/d" -e "/LDFLAGS/d" Makefile %build %make CFLAGS="%{optflags}" %install mkdir -p %{buildroot}%{_bindir} install -m 0755 pngcrush %{buildroot}%{_bindir} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog.txt %{_bindir}/* %changelog * Tue Aug 26 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.6.10-1mdv2009.0 + Revision: 276301 - update to new version 1.6.10 - spec file clean - update to new version 1.6.7 - spec file clean + Thierry Vignaud <tvignaud@mandriva.com> - rebuild early 2009.0 package (before pixel changes) * Thu May 22 2008 Frederik Himpe <fhimpe@mandriva.org> 1.6.6-1mdv2009.0 + Revision: 210091 - New version - Fix license - Use sed hack to use Mandriva's default gcc, CFLAGS and LDFLAGS - A few SPEC clean-ups + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu May 03 2007 Michael Scherer <misc@mandriva.org> 1.6.4-1mdv2008.0 + Revision: 21511 - update to 1.6.4 * Mon Feb 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.6.3-2mdv2007.0 + Revision: 122786 - kill merged patch - Import pngcrush * Sun Apr 23 2006 Jerome Soyer <saispo@mandriva.org> 1.6.3-1mdk - New release 1.6.3 * Tue Mar 07 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.6.2-1mdk - New release 1.6.2 - make rpmbuildupdate friendly * Fri Oct 07 2005 Lenny Cartier <lenny@mandriva.com> 1.5.10-5mdk - rebuild * Fri Aug 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.5.10-4mdk - rebuild