libwebp03-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define ver 0.3.1
  2. %define rel 4
  3. Name: libwebp03
  4. Version: %{ver}
  5. Release: %{rel}%{?_dist_release}
  6. Group: System Environment/Libraries
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. URL: http://webmproject.org/
  10. Summary: Library and tools for the WebP graphics format
  11. Summary(ja): WebP 画像フォーマットのためのライブラリとツール
  12. # Additional IPR is licensed as well. See PATENTS file for details
  13. License: BSD
  14. Source0: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-%{version}.tar.gz
  15. Source1: libwebp_jni_example.java
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: libjpeg-devel
  18. BuildRequires: libpng-devel
  19. BuildRequires: libtool
  20. %description
  21. WebP is an image format that does lossy compression of digital
  22. photographic images. WebP consists of a codec based on VP8, and a
  23. container based on RIFF. Webmasters, web developers and browser
  24. developers can use WebP to compress, archive and distribute digital
  25. images more efficiently.
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. %prep
  29. %setup -q -n libwebp-%{version}
  30. %build
  31. mkdir -p m4
  32. ./autogen.sh
  33. %configure --disable-static
  34. make %{?_smp_mflags}
  35. %install
  36. make install DESTDIR=%{buildroot}
  37. find "%{buildroot}/%{_libdir}" -type f -name "*.la" -delete
  38. rm -rf %{buildroot}%{_bindir}
  39. rm -rf %{buildroot}%{_mandir}
  40. rm -f %{buildroot}%{_libdir}/*.so
  41. rm -rf %{buildroot}%{_includedir}
  42. rm -rf %{buildroot}%{_libdir}/pkgconfig
  43. %post -n %{name} -p /sbin/ldconfig
  44. %postun -n %{name} -p /sbin/ldconfig
  45. %files -n %{name}
  46. %doc README PATENTS COPYING NEWS AUTHORS
  47. %{_libdir}/libwebp*.so.*
  48. %changelog
  49. * Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.1-4
  50. - temporary package for ABI compatibility.
  51. * Sun Oct 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.3.1-3
  52. - moved libwebp to System Environment/Libraries Group
  53. * Tue Jul 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-2
  54. - rebuild with libpng-1.6.12
  55. * Sat Oct 12 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.1-1
  56. - new upstream release
  57. * Sat Jan 12 2013 IWAI, Masaharu <iwai@alib.jp> 0.2.1-1
  58. - initial build for Vine Linux
  59. * Thu Dec 27 2012 Rahul Sundaram <sundaram@fedoraproject.org> - 0.2.1-1
  60. - new upstream release 0.2.1
  61. * Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.1.3-3
  62. - rebuild against new libjpeg
  63. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  65. * Thu Feb 02 2012 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.3-1
  66. - Several spec improvements by Scott Tsai <scottt.tw@gmail.com>
  67. * Wed May 25 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.2-1
  68. - Initial spec. Based on openSUSE one