Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37565247
en ru br
ALT Linux repos
S:0.7.7-alt1
5.0: 0.4.8-alt1
4.1: 0.4.8-alt1
4.0: 0.4.8-alt1

Group :: Graphics
RPM: optipng

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: optipng
Version: 0.7.7
Release: alt1

Summary: Optimizer for png files

Packager: Vitaly Lipatov <lav at altlinux.ru>

License: zlib/libpng
Group: Graphics
Url: http://optipng.sourceforge.net/

Source: http://prdownloads.sf.net/%name/%name-%version.tar

# Automatically added by buildreq on Sun Aug 04 2013

# optimized out: zlib-devel
BuildRequires: libpng-devel

%description
The main purpose of OptiPNG is to *optimize* PNG files, i.e. to reduce
their size to a minimum, without losing any information. In order to
achieve this goal, OptiPNG performs the following tasks:

- It losslessly reduces the bit depth, the color type and the color
 palette of the image. This step reduces the size of the uncompressed
 image, which, indirectly, reduces the size of the compressed image
 (i.e. the size of the PNG file).

- It runs a suite of compression methods and strategies, and selects
 the compression parameters that yield the smallest output file.

%prep
%setup

%build
# non autotools configure
./configure --prefix=%prefix --mandir=%_mandir \
--with-system-libpng --with-system-zlib
%make_build

%install
%makeinstall_std

%check
make test

%files
%doc README.txt LICENSE.txt doc/*
%_bindir/%name
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin