Update to 0.5.1

This commit is contained in:
Sandro Mani 2016-08-12 16:08:56 +02:00
parent 4e224df358
commit eabd920295
3 changed files with 22 additions and 12 deletions

1
.gitignore vendored
View File

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

View File

@ -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 <manisandro@gmail.com> - 0.5.1-1
- upstream release 0.5.1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 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 <sundaram@fedoraproject.org> - 0.1.2-1
- Initial spec. Based on openSUSE one

View File

@ -1 +1 @@
ba81eb9bf23e3c69a2f5cc8dcdb5938f libwebp-0.5.0.tar.gz
3d7db92ebba5b4f679413d25c6040881 libwebp-0.5.1.tar.gz