1 | Summary: Powerful image loading and rendering library |
---|
2 | Summary(ja): 強力な画像ロード & レンダリングライブラリ |
---|
3 | Name: imlib2 |
---|
4 | Version: 1.4.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: BSD |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://www.enlightenment.org/Libraries/Imlib2 |
---|
9 | Source: http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.bz2 |
---|
10 | Patch1: imlib2-1.4.3-cve-2010-0991.patch |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: libjpeg-devel |
---|
14 | BuildRequires: libpng-devel |
---|
15 | BuildRequires: libtiff-devel |
---|
16 | BuildRequires: zlib-devel |
---|
17 | BuildRequires: bzip2-devel |
---|
18 | BuildRequires: freetype2-devel |
---|
19 | BuildRequires: libid3tag-devel |
---|
20 | %if %{?_dist_release} == "vl4" |
---|
21 | BuildRequires: XOrg-devel |
---|
22 | BuildRequires: autoconf libtool |
---|
23 | %else |
---|
24 | BuildRequires: libX11-devel |
---|
25 | BuildRequires: libXext-devel |
---|
26 | %endif |
---|
27 | Requires: %{name}-loaders = %{version} |
---|
28 | |
---|
29 | %description |
---|
30 | Imlib2 is an advanced replacement library for libraries like libXpm that |
---|
31 | provides many more features with much greater flexibility and speed than |
---|
32 | standard libraries, including font rasterization, rotation, RGBA space |
---|
33 | rendering and blending, dynamic binary filters, scripting, and more. |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Imlib2 headers, static libraries and documentation |
---|
37 | Summary(ja): Imlib2 のヘッダーファイル,静的ライブラリ,ドキュメント |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version} |
---|
40 | |
---|
41 | %description devel |
---|
42 | Headers, static libraries and documentation for Imlib2. |
---|
43 | |
---|
44 | %package filters |
---|
45 | Summary: Imlib2 basic plugin filters set |
---|
46 | Group: System Environment/Libraries |
---|
47 | Requires: %{name} = %{version} |
---|
48 | |
---|
49 | %description filters |
---|
50 | Basic set of plugin filters that come with Imlib2 |
---|
51 | |
---|
52 | %package loaders |
---|
53 | Summary: Imlib2 loader set |
---|
54 | Group: System Environment/Libraries |
---|
55 | #Requires: libjpeg libpng zlib libtiff |
---|
56 | Provides: %{name}-loader_jpeg %{name}-loader_png %{name}-loader_argb |
---|
57 | Provides: %{name}-loader_bmp %{name}-loader_gif %{name}-loader_pnm |
---|
58 | Provides: %{name}-loader_tga %{name}-loader_tiff %{name}-loader_xpm |
---|
59 | Provides: %{name}-loader_gz %{name}-loader_bz2 |
---|
60 | Provides: %{name}-loader_lbm %{name}-loader_id3 |
---|
61 | Provides: %{name}-loader = %{version}-%{release} |
---|
62 | Obsoletes: %{name}-loader < %{version}-%{release} |
---|
63 | |
---|
64 | %description loaders |
---|
65 | Set of image loader/saver of Imlib2. This package contains |
---|
66 | the following loader. |
---|
67 | |
---|
68 | loader_lbm - LBM image loader/saver |
---|
69 | loader_jpeg - JPEG image loader/saver |
---|
70 | loader_png - PNG image loader/saver |
---|
71 | loader_argb - ARGB image loader/saver |
---|
72 | loader_bmp - BMP image loader/saver |
---|
73 | loader_gif - GIF image loader |
---|
74 | loader_pnm - PNM image loader/saver |
---|
75 | loader_tga - TGA image loader/saver |
---|
76 | loader_tiff - TIFF image loader/saver |
---|
77 | loader_xpm - XPM image loader/saver |
---|
78 | loader_bz2 - Bzip2 compressed image loader/saver |
---|
79 | loader_gz - gz compressed image loader/saver |
---|
80 | loader_id3 - id3 tag image loader/saver |
---|
81 | |
---|
82 | %prep |
---|
83 | %setup -q |
---|
84 | |
---|
85 | %patch1 -p1 |
---|
86 | |
---|
87 | %if %{?_dist_release} == "vl4" |
---|
88 | libtoolize --force --copy |
---|
89 | autoreconf -f |
---|
90 | %endif |
---|
91 | |
---|
92 | %build |
---|
93 | %configure --disable-static |
---|
94 | make %{?_smp_mflags} |
---|
95 | |
---|
96 | %install |
---|
97 | rm -rf $RPM_BUILD_ROOT |
---|
98 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
99 | |
---|
100 | # remove unpackage files |
---|
101 | rm -f $RPM_BUILD_ROOT%{_libdir}/imlib2/*/*.la |
---|
102 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
103 | |
---|
104 | %clean |
---|
105 | rm -rf $RPM_BUILD_ROOT |
---|
106 | |
---|
107 | %post -p /sbin/ldconfig |
---|
108 | |
---|
109 | %postun -p /sbin/ldconfig |
---|
110 | |
---|
111 | %files |
---|
112 | %defattr(-,root,root,0755) |
---|
113 | %doc AUTHORS README COPYING doc/index.html doc/imlib2.gif doc/blank.gif |
---|
114 | %{_libdir}/lib*.so.* |
---|
115 | %{_bindir}/imlib2_* |
---|
116 | %{_datadir}/imlib2 |
---|
117 | |
---|
118 | %files devel |
---|
119 | %defattr(-,root,root,0755) |
---|
120 | %{_bindir}/imlib2-config |
---|
121 | %{_libdir}/libImlib2.so |
---|
122 | #{_libdir}/*.a |
---|
123 | %{_libdir}/pkgconfig/imlib2.pc |
---|
124 | %{_includedir}/* |
---|
125 | |
---|
126 | %files filters |
---|
127 | %defattr(-,root,root,0755) |
---|
128 | %dir %{_libdir}/imlib2/filters |
---|
129 | %{_libdir}/imlib2/filters/*.so |
---|
130 | |
---|
131 | %files loaders |
---|
132 | %defattr(-,root,root,0755) |
---|
133 | %dir %{_libdir}/imlib2/loaders |
---|
134 | %{_libdir}/imlib2/loaders/*.so |
---|
135 | |
---|
136 | %changelog |
---|
137 | * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1 |
---|
138 | - new upstream release (includeing security fix CVE-2008-6079) |
---|
139 | - added Patch1 for CVE-2010-0991 |
---|
140 | - added --disable-static to %%configure |
---|
141 | - renamed "loader" subpackage to "loaders" |
---|
142 | |
---|
143 | * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-1 |
---|
144 | - new upstream release (including security fix CVE-2008-2426) |
---|
145 | |
---|
146 | * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5 |
---|
147 | - applied new versioning policy, spec in utf-8 |
---|
148 | |
---|
149 | * Wed May 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-0vl1 |
---|
150 | - updated to 1.2.2 |
---|
151 | |
---|
152 | * Sat Feb 5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1 |
---|
153 | - updated to 1.2.0 |
---|
154 | - fix typo |
---|
155 | |
---|
156 | * Wed Oct 6 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.1.0-1vl2 |
---|
157 | - added patch imlib2-1.1.0-bmpfix.patch for CAN-2004-0817 |
---|
158 | |
---|
159 | * Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-1vl1 |
---|
160 | - rebuild with Vine Linux |
---|
161 | - s/Copyright/License/ |
---|
162 | - collect imlib2-loader-* packages and make imlib2-loader package |
---|
163 | |
---|
164 | * Mon Jan 8 2001 The Rasterman <raster@rasterman.com> |
---|
165 | - Fix Requires & BuildRequires for freetype. |
---|
166 | |
---|
167 | * Sat Sep 30 2000 Lyle Kempler <term@kempler.net> |
---|
168 | - Bring back building imlib2 as root via autogen.sh for the lazy (me) |
---|
169 | - Some minor changes |
---|
170 | |
---|
171 | * Sat Sep 30 2000 Joakim Bodin <bodin@dreamhosted.com> |
---|
172 | - Linux-Mandrake:ise the spec file |
---|
173 | |
---|
174 | * Tue Sep 12 2000 The Rasterman <raster@rasterman.com> |
---|
175 | - Redo spec file |
---|
176 | |
---|
177 | * Wed Aug 30 2000 Lyle Kempler <kempler@utdallas.edu> |
---|
178 | - Include imlib2-config |
---|
179 | |
---|
180 | * Sat May 20 2000 Lyle Kempler <kempler@utdallas.edu> |
---|
181 | - Fixed problems with requiring imlib2_view |
---|
182 | - Went back to imlib2_view (not imlib2-view) |
---|
183 | |
---|
184 | * Tue Nov 2 1999 Lyle Kempler <kempler@utdallas.edu> |
---|
185 | - Mangled imlib 1.9.8 imlib spec file into imlib2 spec file |
---|