Dominique Leuenberger 2019-03-27 15:14:29 +00:00 committed by Git OBS Bridge
commit 9de4290107
4 changed files with 39 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c74418f1d41db0afad6102cdeaee9e567e35a0b8651a18973160857fe6d6767
size 67369

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb031c48039ee73ea0e60709bb9ab80c55bfa3a5920b798ea37a03f2757b099c
size 143404

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Feb 13 17:57:56 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary. Update description with parts from
from README.md.
-------------------------------------------------------------------
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 Thu Mar 22 19:07:35 UTC 2018 - jengelh@inai.de
@ -59,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. - 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 - Version 1.8.0

View File

@ -1,7 +1,7 @@
# #
# spec file for package pngquant # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,30 +12,32 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Name: pngquant
Version: 2.11.2 Version: 2.12.2
Release: 0 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 License: GPL-3.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
Url: http://pngquant.org/ Url: https://pngquant.org/
Source: https://github.com/pornel/pngquant/archive/%{version}.tar.gz Source: https://pngquant.org/%{name}-%{version}-src.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig
BuildRequires: libimagequant-devel >= %{version} BuildRequires: pkgconfig(imagequant) >= %{version}
BuildRequires: liblcms2-devel BuildRequires: pkgconfig(lcms2)
BuildRequires: libpng-devel BuildRequires: pkgconfig(libpng)
BuildRequires: zlib-devel BuildRequires: pkgconfig(zlib)
%description %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 The conversion reduces file sizes by converting images to 1/2/4/8-bit
preserves full alpha transparency. Generated images are compatible with all paletted PNG format with alpha channel (often 60-80%% smaller than
modern web browsers, and have better fallback in IE6 than 24-bit PNGs. 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 %prep
%setup -q %setup -q
@ -43,23 +45,24 @@ modern web browsers, and have better fallback in IE6 than 24-bit PNGs.
%build %build
# not autoconf # not autoconf
./configure \ ./configure \
--prefix=%prefix \ --prefix=%{_prefix} \
%ifarch x86_64 %ifarch x86_64
--enable-sse \ --enable-sse \
%else %else
--disable-sse \ --disable-sse \
%endif %endif
--extra-cflags='%{optflags}' \ --extra-cflags='%{optflags}' \
--with-libimagequant=%{_libdir} \
--with-openmp --with-openmp
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
mkdir -p %buildroot/%_bindir %make_install
install --mode 0755 %name %buildroot%_bindir
%files %files
%defattr(-, root, root) %license COPYRIGHT
%doc CHANGELOG COPYRIGHT README.md %doc CHANGELOG README.md
%_bindir/* %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog %changelog