2019-03-27 15:14:29 +00:00
committed by Git OBS Bridge
4 changed files with 39 additions and 25 deletions
+12 -1
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
@@ -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.
- Version 1.8.0
+24 -21
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
@@ -12,30 +12,32 @@
# 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.11.2
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: 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.
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
@@ -43,23 +45,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
BIN
View File
Binary file not shown.
Binary file not shown.