SHA256
1
0
forked from pool/pngquant

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
This commit is contained in:
Marcus Meissner 2019-02-13 16:56:42 +00:00 committed by Git OBS Bridge
parent ea5f8576ae
commit 7f84802b23
4 changed files with 25 additions and 18 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,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

View File

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