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.3.tar.gz
/libwebp-0.4.4.tar.gz /libwebp-0.4.4.tar.gz
/libwebp-0.5.0.tar.gz /libwebp-0.5.0.tar.gz
/libwebp-0.5.1.tar.gz

View File

@ -1,9 +1,8 @@
%global _hardened_build 1 %global _hardened_build 1
Name: libwebp Name: libwebp
Version: 0.5.0 Version: 0.5.1
Release: 2%{?dist} Release: 1%{?dist}
Group: Development/Libraries
URL: http://webmproject.org/ URL: http://webmproject.org/
Summary: Library and tools for the WebP graphics format Summary: Library and tools for the WebP graphics format
# Additional IPR is licensed as well. See PATENTS file for details # 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 developers can use WebP to compress, archive and distribute digital
images more efficiently. images more efficiently.
%package tools %package tools
Group: Development/Tools
Summary: The WebP command line tools Summary: The WebP command line tools
%description 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 developers can use WebP to compress, archive and distribute digital
images more efficiently. images more efficiently.
%package devel %package devel
Group: Development/Libraries
Summary: Development files for libwebp, a library for the WebP format Summary: Development files for libwebp, a library for the WebP format
Requires: %{name}%{?_isa} = %{version}-%{release} 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 developers can use WebP to compress, archive and distribute digital
images more efficiently. images more efficiently.
%package java %package java
Group: Development/Libraries
Summary: Java bindings for libwebp, a library for the WebP format Summary: Java bindings for libwebp, a library for the WebP format
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: java-headless Requires: java-headless
@ -61,18 +60,22 @@ Requires: jpackage-utils
%description java %description java
Java bindings for libwebp. Java bindings for libwebp.
%prep %prep
%setup -q %autosetup -q
%build %build
autoreconf -vif autoreconf -vif
%ifarch aarch64 %ifarch aarch64
export CFLAGS="%{optflags} -frename-registers" export CFLAGS="%{optflags} -frename-registers"
%endif %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 \ %configure --disable-static --enable-libwebpmux \
--enable-libwebpdemux --enable-libwebpdecoder --enable-libwebpdemux --enable-libwebpdecoder \
--disable-neon
make %{?_smp_mflags} %make_build V=1
# swig generated Java bindings # swig generated Java bindings
cp %{SOURCE1} . cp %{SOURCE1} .
@ -95,6 +98,7 @@ cd java
javac com/google/webp/libwebp.java javac com/google/webp/libwebp.java
jar cvf ../libwebp.jar com/google/webp/*.class jar cvf ../libwebp.jar com/google/webp/*.class
%install %install
%make_install %make_install
find "%{buildroot}/%{_libdir}" -type f -name "*.la" -delete 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 mkdir -p %{buildroot}/%{_libdir}/%{name}-java
cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
%post -n %{name} -p /sbin/ldconfig %post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig
%files tools %files tools
%{_bindir}/cwebp %{_bindir}/cwebp
%{_bindir}/dwebp %{_bindir}/dwebp
@ -132,7 +138,11 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
%doc libwebp_jni_example.java %doc libwebp_jni_example.java
%{_libdir}/%{name}-java/ %{_libdir}/%{name}-java/
%changelog %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 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - 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 * Wed May 25 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.2-1
- Initial spec. Based on openSUSE one - Initial spec. Based on openSUSE one

View File

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