|
@@ -3,7 +3,7 @@
|
|
Name: libwebp
|
|
Name: libwebp
|
|
Summary: Library and tools for the WebP graphics format
|
|
Summary: Library and tools for the WebP graphics format
|
|
Summary(ja): WebP 画像フォーマットのためのライブラリとツール
|
|
Summary(ja): WebP 画像フォーマットのためのライブラリとツール
|
|
-Version: 1.2.4
|
|
+Version: 1.3.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: system
|
|
Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -15,8 +15,15 @@ License: BSD
|
|
URL: https://developers.google.com/speed/webp
|
|
URL: https://developers.google.com/speed/webp
|
|
Source0: https://github.com/webmproject/libwebp/archive/v%{version}.tar.gz#/libwebp-%{version}.tar.gz
|
|
Source0: https://github.com/webmproject/libwebp/archive/v%{version}.tar.gz#/libwebp-%{version}.tar.gz
|
|
Source1: libwebp_jni_example.java
|
|
Source1: libwebp_jni_example.java
|
|
-
|
|
+# Fix build with freeglut
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
+Patch0: libwebp-freeglut.patch
|
|
|
|
+# Fix cmake module install location
|
|
|
|
+Patch2: libwebp-cmakedir.patch
|
|
|
|
+# Kill rpath
|
|
|
|
+Patch3: libwebp-rpath.patch
|
|
|
|
+
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: cmake
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libtool
|
|
@@ -76,19 +83,18 @@ Java bindings for libwebp.
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
-%setup -q
|
|
+%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
%global optflags %{optflags} -fPIC
|
|
%global optflags %{optflags} -fPIC
|
|
|
|
|
|
-mkdir -p m4
|
|
+%cmake
|
|
-./autogen.sh
|
|
+%cmake_build
|
|
-%configure --disable-static --enable-libwebpmux \
|
|
|
|
- --enable-libwebpdemux --enable-libwebpdecoder \
|
|
|
|
- --disable-neon
|
|
|
|
-make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%if %{with java}
|
|
%if %{with java}
|
|
# swig generated Java bindings
|
|
# swig generated Java bindings
|
|
@@ -115,8 +121,7 @@ jar cvf ../libwebp.jar com/google/webp/*.class
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-make install DESTDIR=%{buildroot}
|
|
+%cmake_install
|
|
-find "%{buildroot}/%{_libdir}" -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
%if %{with java}
|
|
%if %{with java}
|
|
# swig generated Java bindings
|
|
# swig generated Java bindings
|
|
@@ -133,11 +138,14 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
|
|
%license COPYING PATENTS
|
|
%license COPYING PATENTS
|
|
%doc README* NEWS AUTHORS
|
|
%doc README* NEWS AUTHORS
|
|
%{_libdir}/%{name}*.so.*
|
|
%{_libdir}/%{name}*.so.*
|
|
|
|
+%{_libdir}/libsharpyuv.so.*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%{_libdir}/%{name}*.so
|
|
%{_libdir}/%{name}*.so
|
|
|
|
+%{_libdir}/libsharpyuv.so
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
%{_libdir}/pkgconfig/*
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
+%{_libdir}/cmake/*
|
|
|
|
|
|
%if %{with java}
|
|
%if %{with java}
|
|
%files java
|
|
%files java
|
|
@@ -147,6 +155,12 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Sep 28 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
|
|
+* Wed Jul 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Fri Sep 23 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-1
|
|
* Fri Sep 23 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|