From 7f84802b23f835b6c5f8ffd2bdb415c7e602a9c7afddcd6b2d8ba8538855929f Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 13 Feb 2019 16:56:42 +0000 Subject: [PATCH 1/2] Accepting request 673261 from home:munix9 - update to version 2.12.2 * improved speed on large images OBS-URL: https://build.opensuse.org/request/show/673261 OBS-URL: https://build.opensuse.org/package/show/graphics/pngquant?expand=0&rev=11 --- 2.11.2.tar.gz | 3 --- pngquant-2.12.2-src.tar.gz | 3 +++ pngquant.changes | 6 ++++++ pngquant.spec | 31 ++++++++++++++++--------------- 4 files changed, 25 insertions(+), 18 deletions(-) delete mode 100644 2.11.2.tar.gz create mode 100644 pngquant-2.12.2-src.tar.gz diff --git a/2.11.2.tar.gz b/2.11.2.tar.gz deleted file mode 100644 index 67aaea4..0000000 --- a/2.11.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c74418f1d41db0afad6102cdeaee9e567e35a0b8651a18973160857fe6d6767 -size 67369 diff --git a/pngquant-2.12.2-src.tar.gz b/pngquant-2.12.2-src.tar.gz new file mode 100644 index 0000000..157b84c --- /dev/null +++ b/pngquant-2.12.2-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb031c48039ee73ea0e60709bb9ab80c55bfa3a5920b798ea37a03f2757b099c +size 143404 diff --git a/pngquant.changes b/pngquant.changes index 95b1a03..27f75aa 100644 --- a/pngquant.changes +++ b/pngquant.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 11 09:01:47 UTC 2019 - munix9@googlemail.com + +- update to version 2.12.2 + * improved speed on large images + ------------------------------------------------------------------- Thu Mar 22 19:07:35 UTC 2018 - jengelh@inai.de diff --git a/pngquant.spec b/pngquant.spec index 4f912d7..38b3677 100644 --- a/pngquant.spec +++ b/pngquant.spec @@ -1,7 +1,7 @@ # # spec file for package pngquant # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,18 +17,18 @@ Name: pngquant -Version: 2.11.2 +Version: 2.12.2 Release: 0 Summary: Converts 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved License: GPL-3.0-or-later Group: Development/Tools/Other -Url: http://pngquant.org/ -Source: https://github.com/pornel/pngquant/archive/%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libimagequant-devel >= %{version} -BuildRequires: liblcms2-devel -BuildRequires: libpng-devel -BuildRequires: zlib-devel +Url: https://pngquant.org/ +Source: https://pngquant.org/%{name}-%{version}-src.tar.gz +BuildRequires: pkgconfig +BuildRequires: pkgconfig(imagequant) >= %{version} +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(zlib) %description pngquant is a command-line utility and a library for lossy compression of PNG images. @@ -43,23 +43,24 @@ modern web browsers, and have better fallback in IE6 than 24-bit PNGs. %build # not autoconf ./configure \ - --prefix=%prefix \ + --prefix=%{_prefix} \ %ifarch x86_64 --enable-sse \ %else --disable-sse \ %endif --extra-cflags='%{optflags}' \ + --with-libimagequant=%{_libdir} \ --with-openmp make %{?_smp_mflags} %install -mkdir -p %buildroot/%_bindir -install --mode 0755 %name %buildroot%_bindir +%make_install %files -%defattr(-, root, root) -%doc CHANGELOG COPYRIGHT README.md -%_bindir/* +%license COPYRIGHT +%doc CHANGELOG README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1%{?ext_man} %changelog From bda2830fd16cfdd911d860ac3c72c58aefc036064804e9d038adb9e12fec3dfd Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 25 Mar 2019 15:36:18 +0000 Subject: [PATCH 2/2] Accepting request 685652 from home:jengelh:branches:graphics - Use noun phrase in summary. Update description with parts from from README.md. OBS-URL: https://build.opensuse.org/request/show/685652 OBS-URL: https://build.opensuse.org/package/show/graphics/pngquant?expand=0&rev=12 --- pngquant.changes | 7 ++++++- pngquant.spec | 14 ++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pngquant.changes b/pngquant.changes index 27f75aa..0781147 100644 --- a/pngquant.changes +++ b/pngquant.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 13 17:57:56 UTC 2019 - Jan Engelhardt + +- Use noun phrase in summary. Update description with parts from + from README.md. + ------------------------------------------------------------------- Mon Feb 11 09:01:47 UTC 2019 - munix9@googlemail.com @@ -65,4 +71,3 @@ Sat Dec 1 14:17:04 UTC 2012 - joerg@afflerbach.info - Building with OpenMP support makes pngquant faster in wall-clock time on multicore machines when one image at a time is processed. - Version 1.8.0 - diff --git a/pngquant.spec b/pngquant.spec index 38b3677..e08c3f7 100644 --- a/pngquant.spec +++ b/pngquant.spec @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: pngquant Version: 2.12.2 Release: 0 -Summary: Converts 24/32-bit RGBA PNGs to 8-bit palette with alpha channel preserved +Summary: Tool for lossy compression of PNG images License: GPL-3.0-or-later Group: Development/Tools/Other Url: https://pngquant.org/ @@ -31,11 +31,13 @@ BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(zlib) %description -pngquant is a command-line utility and a library for lossy compression of PNG images. +pngquant is a command-line utility and a library for lossy +compression of PNG images. -The conversion reduces file sizes significantly (often as much as 70%%) and -preserves full alpha transparency. Generated images are compatible with all -modern web browsers, and have better fallback in IE6 than 24-bit PNGs. +The conversion reduces file sizes by converting images to 1/2/4/8-bit +paletted PNG format with alpha channel (often 60-80%% smaller than +24/32-bit PNG files). Generated images are compatible with all modern +web browsers, and have better fallback in IE6 than 24-bit PNGs. %prep %setup -q