forked from pool/libwebp
Accepting request 602158 from home:darix:branches:graphics
- update to 1.0.0 webp support in gimp 2.10 needs at least libwebp >= 0.6.0 OBS-URL: https://build.opensuse.org/request/show/602158 OBS-URL: https://build.opensuse.org/package/show/graphics/libwebp?expand=0&rev=16
This commit is contained in:
54
libwebp.spec
54
libwebp.spec
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: libwebp
|
||||
Version: 0.5.0
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Library and tools for the WebP graphics format
|
||||
License: BSD-3-Clause
|
||||
@@ -58,11 +58,11 @@ container based on RIFF. Webmasters, web developers and browser
|
||||
developers can use WebP to compress, archive and distribute digital
|
||||
images more efficiently.
|
||||
|
||||
%package -n libwebp6
|
||||
%package -n libwebp7
|
||||
Summary: Library for the WebP graphics format
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwebp6
|
||||
%description -n libwebp7
|
||||
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
|
||||
@@ -78,20 +78,20 @@ 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 libwebpmux2
|
||||
%package -n libwebpmux3
|
||||
Summary: Library for reading/adding data to WebP container files
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwebpmux2
|
||||
%description -n libwebpmux3
|
||||
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 -n libwebpdecoder2
|
||||
%package -n libwebpdecoder3
|
||||
Summary: Library for decoding WebP graphics format
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libwebpdecoder2
|
||||
%description -n libwebpdecoder3
|
||||
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
|
||||
@@ -113,11 +113,13 @@ common imports - WebPImportGray/WebPImportRGB565/WebPImportRGB4444.
|
||||
%package devel
|
||||
Summary: Development files for libwebp, a library for the WebP format
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libwebp6 = %version
|
||||
Requires: libwebp7 = %version
|
||||
Requires: libwebpdemux2 = %version
|
||||
Requires: libwebpmux2 = %version
|
||||
Requires: libwebpdecoder2 = %version
|
||||
Requires: libwebpmux3 = %version
|
||||
Requires: libwebpdecoder3 = %version
|
||||
%if %{with extras}
|
||||
Requires: libwebpextras0 = %version
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
WebP is an image format that does lossy compression of digital
|
||||
@@ -139,41 +141,45 @@ make %{?_smp_mflags} V=1
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n libwebp6 -p /sbin/ldconfig
|
||||
%postun -n libwebp6 -p /sbin/ldconfig
|
||||
%post -n libwebp7 -p /sbin/ldconfig
|
||||
%postun -n libwebp7 -p /sbin/ldconfig
|
||||
%post -n libwebpdemux2 -p /sbin/ldconfig
|
||||
%postun -n libwebpdemux2 -p /sbin/ldconfig
|
||||
%post -n libwebpmux2 -p /sbin/ldconfig
|
||||
%postun -n libwebpmux2 -p /sbin/ldconfig
|
||||
%post -n libwebpdecoder2 -p /sbin/ldconfig
|
||||
%postun -n libwebpdecoder2 -p /sbin/ldconfig
|
||||
%post -n libwebpmux3 -p /sbin/ldconfig
|
||||
%postun -n libwebpmux3 -p /sbin/ldconfig
|
||||
%post -n libwebpdecoder3 -p /sbin/ldconfig
|
||||
%postun -n libwebpdecoder3 -p /sbin/ldconfig
|
||||
%if %{with extras}
|
||||
%post -n libwebpextras0 -p /sbin/ldconfig
|
||||
%postun -n libwebpextras0 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files -n libwebp-tools
|
||||
%defattr(-,root,root)
|
||||
%_bindir/*
|
||||
%_mandir/man*/*
|
||||
|
||||
%files -n libwebp6
|
||||
%files -n libwebp7
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libwebp.so.6*
|
||||
%_libdir/libwebp.so.*
|
||||
|
||||
%files -n libwebpdemux2
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libwebpdemux.so.2*
|
||||
%_libdir/libwebpdemux.so.*
|
||||
|
||||
%files -n libwebpmux2
|
||||
%files -n libwebpmux3
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libwebpmux.so.2*
|
||||
%_libdir/libwebpmux.so.*
|
||||
|
||||
%files -n libwebpdecoder2
|
||||
%files -n libwebpdecoder3
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libwebpdecoder.so.2*
|
||||
%_libdir/libwebpdecoder.so.*
|
||||
|
||||
%if %{with extras}
|
||||
%files -n libwebpextras0
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libwebpextras.so.0*
|
||||
%_libdir/libwebpextras.so.*
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user