From 8cdd5f570d49c2cdc81f5f4178fe87f9d6a19050 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: May 16 2013 07:02:04 +0000 Subject: initial commit --- diff --git a/.gitignore b/.gitignore index e69de29..23ec3ec 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/zopfli-1.0.0.zip diff --git a/sources b/sources index e69de29..cb33e5f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c981a8fd52b079ec0eef71e1c60fada1 zopfli-1.0.0.zip diff --git a/zopfli.spec b/zopfli.spec new file mode 100644 index 0000000..9319c60 --- /dev/null +++ b/zopfli.spec @@ -0,0 +1,38 @@ +Name: zopfli +Summary: Zlib compatible better compressor +Version: 1.0.0 +Release: 1%{?dist} +URL: http://code.google.com/p/zopfli/ +Group: Applications/Archiving +License: ASL 2.0 + +Source0: https://%{name}.googlecode.com/files/%{name}-%{version}.zip + +%description +Zopfli is a compresssion algorithm bit-stream compatible with compression +used in gzip, Zip, PNG, HTTP requests, and others. Zopfli compresses more (~5%) +but is slower (~100x) and uses more CPU and 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 -q + +%build +gcc src/zopfli/*.c -lm %{optflags} -o zopfli + +%install +mkdir -p %{buildroot}%{_bindir} +install -m 0755 %{name} %{buildroot}%{_bindir}/%{name} + +%files +%doc README COPYING +%{_bindir}/%{name} + +%changelog +* Thu May 16 2013 Rahul Sundaram - 1.0.0-1 +- upstream release 1.0.0 + +* Sun Mar 03 2013 Rahul Sundaram - 0-0.20130303gitacc035 +- initial spec +