commit zopfli for openSUSE:Factory

2019-12-12 Thread root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2019-12-12 23:18:03

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new.4691 (New)


Package is "zopfli"

Thu Dec 12 23:18:03 2019 rev:9 rq:755867 version:1.0.3

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2018-03-04 
12:53:12.670263409 +0100
+++ /work/SRC/openSUSE:Factory/.zopfli.new.4691/zopfli.changes  2019-12-12 
23:18:17.578212784 +0100
@@ -1,0 +2,13 @@
+Wed Dec 11 14:19:50 UTC 2019 - Martin Pluskal 
+
+- Fix download url
+
+---
+Wed Dec 11 12:17:07 UTC 2019 - Matthias Fehring 
+
+- Update to version 1.0.3
+  * No changelog available
+- Spec file changes
+  * Use cmake for building
+
+---

Old:

  Makefile
  _service
  _servicedata
  zopfli-1.0.1+git.20170707.tar.xz

New:

  zopfli-1.0.3.tar.gz



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.Rv0fHw/_old  2019-12-12 23:18:20.734212501 +0100
+++ /var/tmp/diff_new_pack.Rv0fHw/_new  2019-12-12 23:18:20.738212500 +0100
@@ -17,22 +17,23 @@
 
 
 %define pngname zopflipng
-%define libversion 1.0.1
-%define pnglibversion 1.0.0
+%define libversion 1.0.3
+%define pnglibversion 1.0.3
 %define libname lib%{name}1
 %define libpngname lib%{name}png1
+%define releasedateepoch 1574898960
 Name:   zopfli
-Version:1.0.1+git.20170707
+Version:1.0.3
 Release:0
 Summary:GZip compatible compression utlity
 License:Apache-2.0
 Group:  Productivity/Archiving/Compression
 URL:https://github.com/google/zopfli
-Source: %{name}-%{version}.tar.xz
-Source1:Makefile
+Source: 
https://github.com/google/zopfli/archive/zopfli-%{version}.tar.gz
 BuildRequires:  gcc-c++
 BuildRequires:  help2man
 BuildRequires:  make
+BuildRequires:  cmake >= 2.8.11
 
 %description
 Example program for libzopfli to create gzip compatible files. Files can be
@@ -66,31 +67,21 @@
 ZopfliOptions first.
 
 %prep
-%setup -q
-cp %{SOURCE1} Makefile
+%autosetup -n %{name}-%{name}-%{version}
 
 %build
-make CFLAGS="%{optflags}" %{?_smp_mflags} libzopfli libzopflipng zopfli 
zopflipng
+%cmake
+%cmake_build
 # help2man since 1.47.1 respects SOURCE_DATE_EPOCH
-export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%%s`
+export SOURCE_DATE_EPOCH=%{releasedateepoch}
+export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RPM_BUILD_DIR/%{name}-%{name}-%{version}/build
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{name} > %{name}.1
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{pngname} > %{pngname}.1
 
 %install
-install -D -pm 0755 %{name} %{buildroot}%{_bindir}/%{name}
-install -D -pm 0755 %{pngname} %{buildroot}%{_bindir}/%{pngname}
-install -D -pm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
-install -D -pm 0644 %{pngname}.1 %{buildroot}%{_mandir}/man1/%{pngname}.1
-install -d -pm 0755 %{buildroot}%{_libdir}
-install -pm 0755 libzopfli.so.%{libversion} %{buildroot}%{_libdir}/
-install -pm 0755 libzopflipng.so.%{pnglibversion} %{buildroot}%{_libdir}/
-install -d -pm 0755 %{buildroot}%{_includedir}/zopfli/
-install -pm 0644 src/zopfli/*.h %{buildroot}%{_includedir}/zopfli/
-install -pm 0644 src/zopflipng/*.h %{buildroot}%{_includedir}/zopfli/
-ln -s libzopfli.so.%{libversion} %{buildroot}%{_libdir}/libzopfli.so
-ln -s libzopfli.so.%{libversion} %{buildroot}%{_libdir}/libzopfli.so.1
-ln -s libzopflipng.so.%{pnglibversion} %{buildroot}%{_libdir}/libzopflipng.so
-ln -s libzopflipng.so.%{pnglibversion} %{buildroot}%{_libdir}/libzopflipng.so.1
+%cmake_install
+install -D -pm 0644 build/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+install -D -pm 0644 build/%{pngname}.1 %{buildroot}%{_mandir}/man1/%{pngname}.1
 
 %post -n %{libname} -p /sbin/ldconfig
 %post -n %{libpngname} -p /sbin/ldconfig
@@ -98,7 +89,8 @@
 %postun -n %{libpngname} -p /sbin/ldconfig
 
 %files
-%doc README COPYING README.zopflipng
+%doc README README.zopflipng
+%license COPYING
 %{_bindir}/%{name}
 %{_bindir}/zopflipng
 %{_mandir}/man1/%{name}.1%{ext_man}
@@ -112,6 +104,8 @@
 
 %files -n libzopfli-devel
 %{_libdir}/libzopfli*.so
-%{_includedir}/zopfli/
+%{_includedir}/zopfli.h
+%{_includedir}/zopflipng_lib.h
+%{_libdir}/cmake/Zopfli
 
 %changelog




commit zopfli for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2018-03-04 12:52:51

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new (New)


Package is "zopfli"

Sun Mar  4 12:52:51 2018 rev:8 rq:582335 version:1.0.1+git.20170707

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2018-02-21 
14:12:43.911466105 +0100
+++ /work/SRC/openSUSE:Factory/.zopfli.new/zopfli.changes   2018-03-04 
12:53:12.670263409 +0100
@@ -1,0 +2,5 @@
+Fri Mar  2 11:23:37 UTC 2018 - o...@aepfle.de
+
+- Escape options for date(1) in spec file
+
+---



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.wh4bn4/_old  2018-03-04 12:53:13.262241839 +0100
+++ /var/tmp/diff_new_pack.wh4bn4/_new  2018-03-04 12:53:13.262241839 +0100
@@ -72,7 +72,7 @@
 %build
 make CFLAGS="%{optflags}" %{?_smp_mflags} libzopfli libzopflipng zopfli 
zopflipng
 # help2man since 1.47.1 respects SOURCE_DATE_EPOCH
-export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%s`
+export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%%s`
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{name} > %{name}.1
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{pngname} > %{pngname}.1
 




commit zopfli for openSUSE:Factory

2018-02-21 Thread root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2018-02-21 14:12:42

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new (New)


Package is "zopfli"

Wed Feb 21 14:12:42 2018 rev:7 rq:578502 version:1.0.1+git.20170707

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2017-12-31 
01:13:22.258068104 +0100
+++ /work/SRC/openSUSE:Factory/.zopfli.new/zopfli.changes   2018-02-21 
14:12:43.911466105 +0100
@@ -1,0 +2,5 @@
+Tue Feb 20 17:07:44 UTC 2018 - bwiedem...@suse.com
+
+- Fixup reproducible package man page build
+
+---



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.EJ90K7/_old  2018-02-21 14:12:44.839432686 +0100
+++ /var/tmp/diff_new_pack.EJ90K7/_new  2018-02-21 14:12:44.843432542 +0100
@@ -72,7 +72,7 @@
 %build
 make CFLAGS="%{optflags}" %{?_smp_mflags} libzopfli libzopflipng zopfli 
zopflipng
 # help2man since 1.47.1 respects SOURCE_DATE_EPOCH
-export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%{s}`
+export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%s`
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{name} > %{name}.1
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{pngname} > %{pngname}.1
 




commit zopfli for openSUSE:Factory

2017-12-30 Thread root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2017-12-31 01:13:21

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new (New)


Package is "zopfli"

Sun Dec 31 01:13:21 2017 rev:6 rq:559886 version:1.0.1+git.20170707

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2017-09-05 
15:17:08.189075480 +0200
+++ /work/SRC/openSUSE:Factory/.zopfli.new/zopfli.changes   2017-12-31 
01:13:22.258068104 +0100
@@ -1,0 +2,5 @@
+Mon Dec 25 19:51:45 UTC 2017 - mplus...@suse.com
+
+- Install missing headers
+
+---



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.KhLafX/_old  2017-12-31 01:13:23.009817294 +0100
+++ /var/tmp/diff_new_pack.KhLafX/_new  2017-12-31 01:13:23.009817294 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zopfli
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,20 +21,18 @@
 %define pnglibversion 1.0.0
 %define libname lib%{name}1
 %define libpngname lib%{name}png1
-
 Name:   zopfli
 Version:1.0.1+git.20170707
 Release:0
 Summary:GZip compatible compression utlity
 License:Apache-2.0
 Group:  Productivity/Archiving/Compression
-Url:https://github.com/google/zopfli
+URL:https://github.com/google/zopfli
 Source: %{name}-%{version}.tar.xz
 Source1:Makefile
 BuildRequires:  gcc-c++
 BuildRequires:  help2man
 BuildRequires:  make
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Example program for libzopfli to create gzip compatible files. Files can be
@@ -74,7 +72,7 @@
 %build
 make CFLAGS="%{optflags}" %{?_smp_mflags} libzopfli libzopflipng zopfli 
zopflipng
 # help2man since 1.47.1 respects SOURCE_DATE_EPOCH
-export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%s`
+export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%{s}`
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{name} > %{name}.1
 help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{pngname} > %{pngname}.1
 
@@ -87,11 +85,8 @@
 install -pm 0755 libzopfli.so.%{libversion} %{buildroot}%{_libdir}/
 install -pm 0755 libzopflipng.so.%{pnglibversion} %{buildroot}%{_libdir}/
 install -d -pm 0755 %{buildroot}%{_includedir}/zopfli/
-install -pm 0644 src/zopfli/zopfli.h %{buildroot}%{_includedir}/zopfli/
-install -pm 0644 src/zopfli/deflate.h %{buildroot}%{_includedir}/zopfli/
-install -pm 0644 src/zopfli/zlib_container.h %{buildroot}%{_includedir}/zopfli/
-install -pm 0644 src/zopfli/gzip_container.h %{buildroot}%{_includedir}/zopfli/
-install -pm 0644 src/zopflipng/zopflipng_lib.h 
%{buildroot}%{_includedir}/zopfli/
+install -pm 0644 src/zopfli/*.h %{buildroot}%{_includedir}/zopfli/
+install -pm 0644 src/zopflipng/*.h %{buildroot}%{_includedir}/zopfli/
 ln -s libzopfli.so.%{libversion} %{buildroot}%{_libdir}/libzopfli.so
 ln -s libzopfli.so.%{libversion} %{buildroot}%{_libdir}/libzopfli.so.1
 ln -s libzopflipng.so.%{pnglibversion} %{buildroot}%{_libdir}/libzopflipng.so
@@ -103,7 +98,6 @@
 %postun -n %{libpngname} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %doc README COPYING README.zopflipng
 %{_bindir}/%{name}
 %{_bindir}/zopflipng
@@ -111,15 +105,12 @@
 %{_mandir}/man1/zopflipng.1%{ext_man}
 
 %files -n %{libname}
-%defattr(-,root,root)
 %{_libdir}/libzopfli.so.*
 
 %files -n %{libpngname}
-%defattr(-,root,root)
 %{_libdir}/libzopflipng.so.*
 
 %files -n libzopfli-devel
-%defattr(-,root,root)
 %{_libdir}/libzopfli*.so
 %{_includedir}/zopfli/
 




commit zopfli for openSUSE:Factory

2017-09-05 Thread root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2017-09-05 15:16:56

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new (New)


Package is "zopfli"

Tue Sep  5 15:16:56 2017 rev:5 rq:520651 version:1.0.1+git.20170707

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2016-07-14 
09:47:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.zopfli.new/zopfli.changes   2017-09-05 
15:17:08.189075480 +0200
@@ -1,0 +2,6 @@
+Mon Sep  4 11:43:51 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.0.1+git.20170707:
+  * Faster stdout writing
+
+---

Old:

  zopfli-1.0.1+git.20160527.tar.xz

New:

  _servicedata
  zopfli-1.0.1+git.20170707.tar.xz



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.WqngSI/_old  2017-09-05 15:17:10.144800576 +0200
+++ /var/tmp/diff_new_pack.WqngSI/_new  2017-09-05 15:17:10.148800014 +0200
@@ -23,7 +23,7 @@
 %define libpngname lib%{name}png1
 
 Name:   zopfli
-Version:1.0.1+git.20160527
+Version:1.0.1+git.20170707
 Release:0
 Summary:GZip compatible compression utlity
 License:Apache-2.0

++ _servicedata ++


https://github.com/google/zopfli
  64c6f362fefd56dccbf31906fdb3e31f6a6faf80++
 zopfli-1.0.1+git.20160527.tar.xz -> zopfli-1.0.1+git.20170707.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zopfli-1.0.1+git.20160527/src/zopfli/zopfli_bin.c 
new/zopfli-1.0.1+git.20170707/src/zopfli/zopfli_bin.c
--- old/zopfli-1.0.1+git.20160527/src/zopfli/zopfli_bin.c   2016-07-10 
09:03:33.0 +0200
+++ new/zopfli-1.0.1+git.20170707/src/zopfli/zopfli_bin.c   2017-07-07 
13:57:52.0 +0200
@@ -114,14 +114,11 @@
   if (outfilename) {
 SaveFile(outfilename, out, outsize);
   } else {
-size_t i;
 #if _WIN32
 /* Windows workaround for stdout output. */
 _setmode(_fileno(stdout), _O_BINARY);
 #endif
-for (i = 0; i < outsize; i++) {
-  printf("%c", out[i]);
-}
+fwrite(out, 1, outsize, stdout);
   }
 
   free(out);




commit zopfli for openSUSE:Factory

2016-07-14 Thread h_root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2016-07-14 09:47:30

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new (New)


Package is "zopfli"

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2016-05-19 
12:14:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.zopfli.new/zopfli.changes   2016-07-14 
09:47:35.0 +0200
@@ -1,0 +2,13 @@
+Sun Jul 10 07:03:33 UTC 2016 - mplus...@suse.com
+
+- Update to version 1.0.1+git.20160527:
+  * Fix excessive usage of malloc/free
+  * Avoid min name conflict
+  * Update README.zopflipng
+  * Update README
+  * Update README.zopflipng
+  * Update katajainen.c
+  * standardize code style
+  * try both with and without OptimizeHuffmanForRle, for better compression on 
small files
+
+---

Old:

  zopfli-1.0.1+git.20160511.tar.xz

New:

  zopfli-1.0.1+git.20160527.tar.xz



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.Yzu6IV/_old  2016-07-14 09:47:37.0 +0200
+++ /var/tmp/diff_new_pack.Yzu6IV/_new  2016-07-14 09:47:37.0 +0200
@@ -23,7 +23,7 @@
 %define libpngname lib%{name}png1
 
 Name:   zopfli
-Version:1.0.1+git.20160511
+Version:1.0.1+git.20160527
 Release:0
 Summary:GZip compatible compression utlity
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.Yzu6IV/_old  2016-07-14 09:47:37.0 +0200
+++ /var/tmp/diff_new_pack.Yzu6IV/_new  2016-07-14 09:47:37.0 +0200
@@ -1,14 +1,14 @@
 
-  
-git://github.com/google/zopfli
+  
+https://github.com/google/zopfli
 git
 enable
 zopfli
 1.0.1+git.%cd
   
-  
+  
 *.tar
 xz
   
-  
+  
 

++ zopfli-1.0.1+git.20160511.tar.xz -> zopfli-1.0.1+git.20160527.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zopfli-1.0.1+git.20160511/src/zopfli/squeeze.c 
new/zopfli-1.0.1+git.20160527/src/zopfli/squeeze.c
--- old/zopfli-1.0.1+git.20160511/src/zopfli/squeeze.c  2016-05-16 
20:49:08.0 +0200
+++ new/zopfli-1.0.1+git.20160527/src/zopfli/squeeze.c  2016-07-10 
09:03:33.0 +0200
@@ -197,7 +197,7 @@
   return costmodel(bestlength, bestdist, costcontext);
 }
 
-static size_t min(size_t a, size_t b) {
+static size_t zopfli_min(size_t a, size_t b) {
   return a < b ? a : b;
 }
 
@@ -283,7 +283,7 @@
   }
 }
 /* Lengths. */
-kend = min(leng, inend-i);
+kend = zopfli_min(leng, inend-i);
 mincostaddcostj = mincost + costs[j];
 for (k = 3; k <= kend; k++) {
   double newCost;




commit zopfli for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2016-05-19 12:14:49

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new (New)


Package is "zopfli"

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2016-01-04 
09:22:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.zopfli.new/zopfli.changes   2016-05-19 
12:14:50.0 +0200
@@ -1,0 +2,24 @@
+Mon May 16 19:19:26 UTC 2016 - jeng...@inai.de
+
+- Update summary and compact filelists. Retain timestamps where
+  possible.
+
+---
+Mon May 16 18:49:08 UTC 2016 - mplus...@suse.com
+
+- Update to version 1.0.1+git.20160511:
+  * Fix excessive usage of malloc/free
+  * Update squeeze.c
+  * make the sort stable, and move some function definitions to header for 
speedup
+  * Update README.zopflipng
+  * Update README
+  * Update README.zopflipng
+  * Update katajainen.c
+  * standardize code style
+  * try both with and without OptimizeHuffmanForRle, for better compression on 
small files
+- Add _service and Makefile
+  * merged from package in home:StefanBruens:branches:Archiving
+- Provide zopflipng (boo#980155)
+- Corect generation of manpages (boo#980149)
+
+---

Old:

  zopfli-1.0.1.tar.gz

New:

  Makefile
  _service
  zopfli-1.0.1+git.20160511.tar.xz



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.KEyov4/_old  2016-05-19 12:14:51.0 +0200
+++ /var/tmp/diff_new_pack.KEyov4/_new  2016-05-19 12:14:51.0 +0200
@@ -16,42 +16,111 @@
 #
 
 
+%define pngname zopflipng
+%define libversion 1.0.1
+%define pnglibversion 1.0.0
+%define libname lib%{name}1
+%define libpngname lib%{name}png1
+
 Name:   zopfli
-Version:1.0.1
+Version:1.0.1+git.20160511
 Release:0
-Summary:Zlib compression library
+Summary:GZip compatible compression utlity
 License:Apache-2.0
 Group:  Productivity/Archiving/Compression
 Url:https://github.com/google/zopfli
-Source: 
https://github.com/google/zopfli/archive/zopfli-%{version}.tar.gz
+Source: %{name}-%{version}.tar.xz
+Source1:Makefile
+BuildRequires:  gcc-c++
 BuildRequires:  help2man
+BuildRequires:  make
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-Zopfli Compression Algorithm is a compression library programmed in C to 
perform
-very good, but slow, deflate or zlib compression.
+Example program for libzopfli to create gzip compatible files. Files can be
+decompressed with e.g. gzip.
+
+%package -n %{libname}
+Summary:Deflate/zlib compatible compression library
+Group:  System/Libraries
+
+%description -n %{libname}
+Zopfli Compression Algorithm is a compression library programmed in C to
+perform very good, but slow, deflate or zlib compression.
+
+%package -n %{libpngname}
+Summary:Deflate/zlib compatible compression library
+Group:  System/Libraries
+
+%description -n %{libpngname}
+This package contain the libzopflipng PNG optimizer library.
+
+%package -n libzopfli-devel
+Summary:Header files for libzopfli, a gzip-compatible compressor
+Group:  Development/Libraries/C and C++
+Requires:   %{libname} = %{version}
+Requires:   %{libpngname} = %{version}
 
+%description -n libzopfli-devel
 The basic function to compress data is ZopfliCompress in zopfli.h. Use the
 ZopfliOptions object to set parameters that affect the speed and compression.
 Use the ZopfliInitOptions function to place the default values in the
 ZopfliOptions first.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q
+cp %{SOURCE1} Makefile
 
 %build
-# do not use provided makefile as it hardcodes CFLAGS
-cc src/zopfli/*.c %{optflags} -O2 -W -Wall -Wextra -ansi -pedantic -lm -o 
%{name}
-help2man -h "h" -v "" -no-info --no-discard-stderr ./%{name} > %{name}.1
+make CFLAGS="%{optflags}" %{?_smp_mflags} libzopfli libzopflipng zopfli 
zopflipng
+# help2man since 1.47.1 respects SOURCE_DATE_EPOCH
+export SOURCE_DATE_EPOCH=`echo %{version} | sed -e 's/.*git\.//' | date 
-f/dev/stdin +%s`
+help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{name} > %{name}.1
+help2man --help-option="-h" --version-string=%{version} --no-info 
--no-discard-stderr ./%{pngname} > %{pngname}.1
 
 %install
-install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
-install -D -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+install -D -pm 0755 %{name} %{buildroot}%{_bindir}/%{name}
+install -D -pm 0755 %{pngname} 

commit zopfli for openSUSE:Factory

2016-01-04 Thread h_root
Hello community,

here is the log from the commit of package zopfli for openSUSE:Factory checked 
in at 2016-01-04 09:22:01

Comparing /work/SRC/openSUSE:Factory/zopfli (Old)
 and  /work/SRC/openSUSE:Factory/.zopfli.new (New)


Package is "zopfli"

Changes:

--- /work/SRC/openSUSE:Factory/zopfli/zopfli.changes2015-04-21 
10:51:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.zopfli.new/zopfli.changes   2016-01-04 
09:22:29.0 +0100
@@ -1,0 +2,6 @@
+Sun Jan  3 14:09:42 UTC 2016 - p.drou...@gmail.com
+
+- Update to version 1.0.1
+  * No changelog available
+
+---

Old:

  zopfli-1.0.0.tar.gz

New:

  zopfli-1.0.1.tar.gz



Other differences:
--
++ zopfli.spec ++
--- /var/tmp/diff_new_pack.W9aHgy/_old  2016-01-04 09:22:29.0 +0100
+++ /var/tmp/diff_new_pack.W9aHgy/_new  2016-01-04 09:22:29.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zopfli
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   zopfli
-Version:1.0.0
+Version:1.0.1
 Release:0
 Summary:Zlib compression library
 License:Apache-2.0

++ zopfli-1.0.0.tar.gz -> zopfli-1.0.1.tar.gz ++
 10809 lines of diff (skipped)