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