From eabd920295d9ded7c9f58c16cb78260d63b27c25 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Aug 12 2016 14:08:56 +0000 Subject: Update to 0.5.1 --- diff --git a/.gitignore b/.gitignore index 8d42b9d..8639300 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /libwebp-0.4.3.tar.gz /libwebp-0.4.4.tar.gz /libwebp-0.5.0.tar.gz +/libwebp-0.5.1.tar.gz diff --git a/libwebp.spec b/libwebp.spec index d39e2d7..96800b5 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -1,9 +1,8 @@ %global _hardened_build 1 Name: libwebp -Version: 0.5.0 -Release: 2%{?dist} -Group: Development/Libraries +Version: 0.5.1 +Release: 1%{?dist} URL: http://webmproject.org/ Summary: Library and tools for the WebP graphics format # Additional IPR is licensed as well. See PATENTS file for details @@ -28,8 +27,8 @@ container based on RIFF. Webmasters, web developers and browser developers can use WebP to compress, archive and distribute digital images more efficiently. + %package tools -Group: Development/Tools Summary: The WebP command line tools %description tools @@ -39,8 +38,8 @@ container based on RIFF. Webmasters, web developers and browser developers can use WebP to compress, archive and distribute digital images more efficiently. + %package devel -Group: Development/Libraries Summary: Development files for libwebp, a library for the WebP format Requires: %{name}%{?_isa} = %{version}-%{release} @@ -51,8 +50,8 @@ container based on RIFF. Webmasters, web developers and browser developers can use WebP to compress, archive and distribute digital images more efficiently. + %package java -Group: Development/Libraries Summary: Java bindings for libwebp, a library for the WebP format Requires: %{name}%{?_isa} = %{version}-%{release} Requires: java-headless @@ -61,18 +60,22 @@ Requires: jpackage-utils %description java Java bindings for libwebp. + %prep -%setup -q +%autosetup -q + %build autoreconf -vif %ifarch aarch64 export CFLAGS="%{optflags} -frename-registers" %endif +# Neon disabled due to resulting CFLAGS conflict resulting in +# inlining failed in call to always_inline '[...]': target specific option mismatch %configure --disable-static --enable-libwebpmux \ - --enable-libwebpdemux --enable-libwebpdecoder - -make %{?_smp_mflags} + --enable-libwebpdemux --enable-libwebpdecoder \ + --disable-neon +%make_build V=1 # swig generated Java bindings cp %{SOURCE1} . @@ -95,6 +98,7 @@ cd java javac com/google/webp/libwebp.java jar cvf ../libwebp.jar com/google/webp/*.class + %install %make_install find "%{buildroot}/%{_libdir}" -type f -name "*.la" -delete @@ -103,10 +107,12 @@ find "%{buildroot}/%{_libdir}" -type f -name "*.la" -delete mkdir -p %{buildroot}/%{_libdir}/%{name}-java cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ + %post -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig + %files tools %{_bindir}/cwebp %{_bindir}/dwebp @@ -132,7 +138,11 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %doc libwebp_jni_example.java %{_libdir}/%{name}-java/ + %changelog +* Fri Aug 12 2016 Sandro Mani - 0.5.1-1 +- upstream release 0.5.1 + * Thu Feb 04 2016 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild @@ -212,4 +222,3 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ * Wed May 25 2011 Rahul Sundaram - 0.1.2-1 - Initial spec. Based on openSUSE one - diff --git a/sources b/sources index 6579250..cb5a343 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ba81eb9bf23e3c69a2f5cc8dcdb5938f libwebp-0.5.0.tar.gz +3d7db92ebba5b4f679413d25c6040881 libwebp-0.5.1.tar.gz