forked from pool/libwebp
libwebp-0.4.3
OBS-URL: https://build.opensuse.org/package/show/graphics/libwebp?expand=0&rev=9
This commit is contained in:
16
libwebp.spec
16
libwebp.spec
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: libwebp
|
||||
Version: 0.4.2
|
||||
Version: 0.4.3
|
||||
Release: 0
|
||||
Summary: Library and tools for the WebP graphics format
|
||||
License: BSD-3-Clause
|
||||
@@ -26,9 +26,10 @@ Url: https://developers.google.com/speed/webp/
|
||||
|
||||
#Git-Clone: http://git.chromium.org/webm/libwebp.git
|
||||
Source: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz
|
||||
Source2: baselibs.conf
|
||||
# PATCH-UPSTREAM-NEVER: incompatible types when initializing type 'int32x4_t' using type 'int32x2_t'
|
||||
Patch0: aarch64-disable-neon.diff
|
||||
Source2: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz.asc
|
||||
Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch1: aarch64-disable-neon.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: giflib-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
@@ -114,7 +115,7 @@ images more efficiently.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
@@ -123,9 +124,8 @@ images more efficiently.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
make install DESTDIR="$b";
|
||||
rm -f "$b/%_libdir"/*.la;
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n libwebp5 -p /sbin/ldconfig
|
||||
%postun -n libwebp5 -p /sbin/ldconfig
|
||||
|
Reference in New Issue
Block a user