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
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