ALT Linux repositórios
Group :: Gráficos
RPM: pngcrush
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: pngcrush
Version: 1.6.4
Release: alt1
Summary: Utility to compress PNG files
License: BSD-like
Group: Graphics
Url: http://pmt.sourceforge.net/pngcrush/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: pngcrush-%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 -q
%build
%__cc pngcrush.c -lpng -o pngcrush %optflags -I. \
-DPNG_INTERNAL -DPNG_USE_LOCAL_ARRAYS -DPNG_USE_PNGGCCRD \
-DGAS_VERSION="\"$(as --version |grep 'GNU assembler' |sed -e 's/GNU assembler //' -e 's/ .*//')\""
%install
install -Dpm755 pngcrush %buildroot%_bindir/pngcrush
%files
%_bindir/*
%doc ChangeLog.txt
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.6.4
Release: alt1
Summary: Utility to compress PNG files
License: BSD-like
Group: Graphics
Url: http://pmt.sourceforge.net/pngcrush/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: pngcrush-%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 -q
%build
%__cc pngcrush.c -lpng -o pngcrush %optflags -I. \
-DPNG_INTERNAL -DPNG_USE_LOCAL_ARRAYS -DPNG_USE_PNGGCCRD \
-DGAS_VERSION="\"$(as --version |grep 'GNU assembler' |sed -e 's/GNU assembler //' -e 's/ .*//')\""
%install
install -Dpm755 pngcrush %buildroot%_bindir/pngcrush
%files
%_bindir/*
%doc ChangeLog.txt
%changelog
…
Todas as alterações você pod ver aqui