Репозитории ALT
S: | 1.8.13-alt2 |
5.1: | 1.6.4-alt1 |
4.1: | 1.6.4-alt1 |
4.0: | 1.6.4-alt1 |
3.0: | 1.5.10-alt2 |
Группа :: Графика
Пакет: pngcrush
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь