Update to 2.12.1

epel9
Sandro Mani 7 years ago
parent 481543af7c
commit 6ea6e6c11f

1
.gitignore vendored

@ -11,3 +11,4 @@
/libimagequant-2.11.6.tar.gz
/libimagequant-2.11.7.tar.gz
/libimagequant-2.11.10.tar.gz
/libimagequant-2.12.1.tar.gz

@ -1,5 +1,5 @@
Name: libimagequant
Version: 2.11.10
Version: 2.12.1
Release: 1%{?dist}
Summary: Palette quantization library
@ -7,6 +7,9 @@ License: GPLv3+ and MIT
URL: https://github.com/ImageOptim/libimagequant
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# Fix shared library permissions
Patch0: libimagequant_solibperm.patch
BuildRequires: gcc
%description
@ -29,12 +32,15 @@ developing applications that use %{name}.
%build
%configure --with-openmp
%make_build shared
%make_build
%install
%make_install
# Don't ship static library
rm -f %{buildroot}%{_libdir}/%{name}.a
%post -p /sbin/ldconfig
@ -53,6 +59,9 @@ developing applications that use %{name}.
%changelog
* Fri Jun 08 2018 Sandro Mani <manisandro@gmail.com> - 2.12.1-1
- Update to 2.12.1
* Mon Mar 12 2018 Sandro Mani <manisandro@gmail.com> - 2.11.10-1
- Update to 2.11.10

@ -0,0 +1,12 @@
diff -rupN libimagequant-2.12.1/Makefile libimagequant-2.12.1-new/Makefile
--- libimagequant-2.12.1/Makefile 2018-06-03 21:46:28.000000000 +0200
+++ libimagequant-2.12.1-new/Makefile 2018-06-08 15:44:20.705219935 +0200
@@ -114,7 +114,7 @@ install: all $(PKGCONFIG)
install -d $(DESTDIR)$(PKGCONFIGDIR)
install -d $(DESTDIR)$(INCLUDEDIR)
install -m 644 $(STATICLIB) $(DESTDIR)$(LIBDIR)/$(STATICLIB)
- install -m 644 $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIBVER)
+ install -m 755 $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIBVER)
ln -sf $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIB)
install -m 644 $(PKGCONFIG) $(DESTDIR)$(PKGCONFIGDIR)/$(PKGCONFIG)
install -m 644 libimagequant.h $(DESTDIR)$(INCLUDEDIR)/libimagequant.h

@ -1 +1 @@
SHA512 (libimagequant-2.11.10.tar.gz) = ac59ecd04d6a3a688cc4f9f77c063a59da8dc6f3ddd05bdc3b15b9809d057462fe5b712fdbfb38e975d633a1bd5179b8ae6b2aee765f5dd9dcfef107f5eb22c0
SHA512 (libimagequant-2.12.1.tar.gz) = 2e65d1ccae4e885e200446756496c2446696f0d4c7057d85e40c9ab4d524fed5505584f21f240ce3a7c589b9156ccb117cf5b1562b4851f3fbf14bf11fed0f13

Loading…
Cancel
Save