Accepting request 688336 from graphics
OBS-URL: https://build.opensuse.org/request/show/688336 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pngquant?expand=0&rev=4
This commit is contained in:
commit
9de4290107
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c74418f1d41db0afad6102cdeaee9e567e35a0b8651a18973160857fe6d6767
|
||||
size 67369
|
3
pngquant-2.12.2-src.tar.gz
Normal file
3
pngquant-2.12.2-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb031c48039ee73ea0e60709bb9ab80c55bfa3a5920b798ea37a03f2757b099c
|
||||
size 143404
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user