Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046501
en ru br
ALT Linux repos
S:1.0.3-alt1

Group :: File tools
RPM: zopfli

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: zopfli
Version: 1.0.1
Release: alt1

Summary: Zlib compatible better compressor

License: ASL 2.0
Group: File tools
Url: https://github.com/google/zopfli

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/google/%name/archive/%name-%version.tar.gz

Source: %name-%version.tar

# https://github.com/google/zopfli/pull/92

Patch: 0001-Honor-user-C-XX-FLAGS.patch

BuildRequires: gcc-c++

%description
Zopfli is a compression algorithm bit-stream compatible with
compression used in gzip, Zip, PNG, HTTP requests, and others. Zopfli
compresses more (~5 percent) but is slower (~100x) and uses more CPU, and is
hence best suited for applications where data is compressed once and
sent over a network many times, for example, static content for the
web.

%prep
%setup

%build
CFLAGS="%optflags" CXXFLAGS="%optflags" %make_build \
   zopfli zopflipng

%install
mkdir -p %buildroot%_bindir
install -m 0755 zopfli zopflipng %buildroot%_bindir/

%files
%doc COPYING
%doc CONTRIBUTORS README README.zopflipng
%_bindir/zopfli
%_bindir/zopflipng

%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