From 5e43a793abc19af52b1fed730c033f10b075ca600bb619367abd597e0effb9df Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 10 Sep 2012 13:20:33 +0000 Subject: [PATCH] Accepting request 132458 from devel:libraries:c_c++ - Update to version 0.2.0: * Add support for ARGB -> YUVA conversion for lossless decoder * Add stats for lossless and alpha encoding * Security related hardening: allocation and size checks * Add PAM output support to dwebp * Alpha channel encode/decode support * Lossless encoder/decoder * Add TIFF input support to cwebp * Incompatible changes: - The encode ABI has been modified to support alpha encoding - Deprecated function WebPINew() has been removed - Decode function signatures have changed to consistently use size_t over int/uint32_t - decode_vp8.h is no longer installed system-wide - cwebp will encode the alpha channel if present. * Add libtiff-devel BuildRequires for the new tiff input support. * Rename libwebp2 subpackage to libwebp4 (by changing lname defines), following upstreams soname bump (incl. baselibs.conf). * No reason to run autogen OBS-URL: https://build.opensuse.org/request/show/132458 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwebp?expand=0&rev=9 --- baselibs.conf | 2 +- libwebp-0.1.3.tar.gz | 3 --- libwebp-0.2.0.tar.gz | 3 +++ libwebp.changes | 23 +++++++++++++++++++++++ libwebp.spec | 24 ++++++++++-------------- 5 files changed, 37 insertions(+), 18 deletions(-) delete mode 100644 libwebp-0.1.3.tar.gz create mode 100644 libwebp-0.2.0.tar.gz diff --git a/baselibs.conf b/baselibs.conf index 9f11e97..c480892 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libwebp2 +libwebp4 diff --git a/libwebp-0.1.3.tar.gz b/libwebp-0.1.3.tar.gz deleted file mode 100644 index 5c4ddec..0000000 --- a/libwebp-0.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40b18456e39b2822311b0ea161d6f09507cf5e8e937b02b9be3ee994ded67aba -size 544552 diff --git a/libwebp-0.2.0.tar.gz b/libwebp-0.2.0.tar.gz new file mode 100644 index 0000000..d1caa53 --- /dev/null +++ b/libwebp-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa7d5e162826362c79d7c36d41484042ab7460dc08dc33d4ea6823a0c77d4bfb +size 704034 diff --git a/libwebp.changes b/libwebp.changes index 4aa01a6..10c63d2 100644 --- a/libwebp.changes +++ b/libwebp.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Fri Aug 31 08:57:43 UTC 2012 - dimstar@opensuse.org + +- Update to version 0.2.0: +* Add support for ARGB -> YUVA conversion for lossless decoder +* Add stats for lossless and alpha encoding +* Security related hardening: allocation and size checks +* Add PAM output support to dwebp +* Alpha channel encode/decode support +* Lossless encoder/decoder +* Add TIFF input support to cwebp +* Incompatible changes: + - The encode ABI has been modified to support alpha encoding + - Deprecated function WebPINew() has been removed + - Decode function signatures have changed to consistently use + size_t over int/uint32_t + - decode_vp8.h is no longer installed system-wide + - cwebp will encode the alpha channel if present. +* Add libtiff-devel BuildRequires for the new tiff input support. +* Rename libwebp2 subpackage to libwebp4 (by changing lname + defines), following upstreams soname bump (incl. baselibs.conf). +* No reason to run autogen + ------------------------------------------------------------------- Mon Jan 30 12:51:06 UTC 2012 - jengelh@medozas.de diff --git a/libwebp.spec b/libwebp.spec index daa73fe..34578ef 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -17,22 +17,20 @@ Name: libwebp -%define lname libwebp2 -Version: 0.1.3 +%define lname libwebp4 +Version: 0.2.0 Release: 0 -Url: http://webmproject.org/ +Url: https://developers.google.com/speed/webp/ Summary: Library and tools for the WebP graphics format License: BSD-3-Clause Group: System/Libraries -Source0: http://webp.googlecode.com/files/%{name}-%{version}.tar.gz +Source0: http://webp.googlecode.com/files/%name-%version.tar.gz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf -BuildRequires: automake BuildRequires: libjpeg-devel BuildRequires: libpng-devel -BuildRequires: libtool +BuildRequires: libtiff-devel BuildRequires: pkgconfig BuildRequires: xz @@ -84,15 +82,13 @@ images more efficiently. %setup -q %build -mkdir -p m4 -./autogen.sh %configure --disable-static make %{?_smp_mflags} %install b="%buildroot"; make install DESTDIR="$b"; -rm -f "%buildroot/%_libdir"/*.la; +rm -f "$b/%_libdir"/*.la; %post -n %lname -p /sbin/ldconfig @@ -105,12 +101,12 @@ rm -f "%buildroot/%_libdir"/*.la; %files -n %lname %defattr(-,root,root) -%_libdir/%{name}*.so.* +%_libdir/libwebp.so.4* %files devel %defattr(-,root,root) -%_libdir/%{name}*.so -%_includedir/* -%_libdir/pkgconfig/* +%_libdir/libwebp.so +%_includedir/webp +%_libdir/pkgconfig/libwebp.pc %changelog