Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37507861
en ru br
ALT Linux repositórios
S:1.8.13-alt2
5.0: 1.6.4-alt1
4.1: 1.6.4-alt1
4.0: 1.6.4-alt1
3.0: 1.5.10-alt2

Group :: Gráficos
RPM: pngcrush

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: pngcrush
Version: 1.7.35
Release: alt1

Summary: Utility to compress PNG files
License: BSD-style
Group: Graphics
Url: http://pmt.sourceforge.net/pngcrush/

# http://download.sourceforge.net/pmt/%name-%version.tar.xz

Source: %name-%version.tar

BuildPreReq: libpng-devel

%description
Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
Its main purpose is to reduce the size of the PNG IDAT data stream by
trying various compression levels and PNG filter methods.  It also can
be used to remove unwanted ancillary chunks, or to add certain chunks
including gAMA, tRNS, and textual chunks.

%prep
%setup
find -name \*.h -type f -not \( -name cexcept.h -or -name pngcrush.h \) -delete

%build
%__cc %optflags pngcrush.c -o pngcrush \
$(pkg-config --cflags --libs libpng) -lz

%install
install -Dpm755 pngcrush %buildroot%_bindir/pngcrush

%files
%_bindir/*
%doc ChangeLog.*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009