diff --git a/libwebp-0.3.0.tar.xz b/libwebp-0.3.0.tar.xz deleted file mode 100644 index f552980..0000000 --- a/libwebp-0.3.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9d64c309e07e8349c01958998148ff6408fbc9739bb4a02d4a6767840a3a95f -size 541768 diff --git a/libwebp-0.3.1.tar.gz b/libwebp-0.3.1.tar.gz new file mode 100644 index 0000000..c19dfcf --- /dev/null +++ b/libwebp-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b37932c625322a69fe4e9b88884b5c7aed2b3eaf9fd5e5b480aee339a92e6ee7 +size 844799 diff --git a/libwebp.changes b/libwebp.changes index 6e78208..46f8514 100644 --- a/libwebp.changes +++ b/libwebp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jun 26 10:22:32 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 0.3.1 +* Add incremental decoding support for images containing + ALPH and ICCP chunks. +- Enable libwebpmux, libwebpdemux + ------------------------------------------------------------------- Tue Apr 16 09:49:31 UTC 2013 - jengelh@inai.de diff --git a/libwebp.spec b/libwebp.spec index 31c96ed..fd317b9 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -18,22 +18,23 @@ Name: libwebp %define lname libwebp4 -Version: 0.3.0 +Version: 0.3.1 Release: 0 Url: https://developers.google.com/speed/webp/ Summary: Library and tools for the WebP graphics format License: BSD-3-Clause -Group: System/Libraries +Group: Development/Libraries/C and C++ -#DL-URL: https://webp.googlecode.com/files/libwebp-0.3.0.tar.gz -Source: %name-%version.tar.xz +#Git-Clone: http://git.chromium.org/webm/libwebp.git +#DL-URL: https://webp.googlecode.com/files/libwebp-0.3.1.tar.gz +Source: https://webp.googlecode.com/files/%name-%version.tar.gz Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: giflib-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: pkgconfig -BuildRequires: xz %description WebP is an image format that does lossy compression of digital @@ -56,21 +57,41 @@ container based on RIFF. Webmasters, web developers and browser developers can use WebP to compress, archive and distribute digital images more efficiently. -%package -n %lname +%package -n libwebp4 Summary: Library for the WebP graphics format Group: System/Libraries -%description -n %lname +%description -n libwebp4 WebP is an image format that does lossy compression of digital photographic images. WebP consists of a codec based on VP8, and a container based on RIFF. Webmasters, web developers and browser developers can use WebP to compress, archive and distribute digital images more efficiently. +%package -n libwebpdemux0 +Summary: Library for extraction of data and images from WebP container files +Group: System/Libraries + +%description -n libwebpdemux0 +The WebP Demux API enables extraction of images and extended format +data from WebP files. This API currently supports reading of XMP/EXIF +metadata, ICC profile and animated images. + +%package -n libwebpmux0 +Summary: Library for reading/adding data to WebP container files +Group: System/Libraries + +%description -n libwebpmux0 +The WebP Mux API contains methods for adding data to and reading data +from WebP files. This API currently supports XMP/EXIF metadata, ICC +profile and animation. + %package devel Summary: Development files for libwebp, a library for the WebP format Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: libwebp4 = %version +Requires: libwebpdemux0 = %version +Requires: libwebpmux0 = %version %description devel WebP is an image format that does lossy compression of digital @@ -83,7 +104,7 @@ images more efficiently. %setup -q %build -%configure --disable-static +%configure --disable-static --enable-libwebpmux --enable-libwebpdemux make %{?_smp_mflags} %install @@ -91,23 +112,34 @@ b="%buildroot"; make install DESTDIR="$b"; rm -f "$b/%_libdir"/*.la; -%post -n %lname -p /sbin/ldconfig - -%postun -n %lname -p /sbin/ldconfig +%post -n libwebp4 -p /sbin/ldconfig +%postun -n libwebp4 -p /sbin/ldconfig +%post -n libwebpdemux0 -p /sbin/ldconfig +%postun -n libwebpdemux0 -p /sbin/ldconfig +%post -n libwebpmux0 -p /sbin/ldconfig +%postun -n libwebpmux0 -p /sbin/ldconfig %files -n libwebp-tools %defattr(-,root,root) %_bindir/* %_mandir/man*/* -%files -n %lname +%files -n libwebp4 %defattr(-,root,root) %_libdir/libwebp.so.4* +%files -n libwebpdemux0 +%defattr(-,root,root) +%_libdir/libwebpdemux.so.0* + +%files -n libwebpmux0 +%defattr(-,root,root) +%_libdir/libwebpmux.so.0* + %files devel %defattr(-,root,root) -%_libdir/libwebp.so -%_includedir/webp -%_libdir/pkgconfig/libwebp.pc +%_libdir/libwebp*.so +%_includedir/webp/ +%_libdir/pkgconfig/libwebp*.pc %changelog