1 | %define __libtoolize : |
---|
2 | |
---|
3 | %define libxml2_version 2.7.8 |
---|
4 | %define gdk_pixbuf2 2.26.1 |
---|
5 | %define gtk3_version 3.4.1 |
---|
6 | %define freetype_version 2.4.2 |
---|
7 | %define popt_version 1.14 |
---|
8 | %define libart_version 2.3.21 |
---|
9 | %define cairo_version 1.12.0 |
---|
10 | %define dbus_version 1.4.0 |
---|
11 | %define dbus_glib_version 0.88 |
---|
12 | %define avahi_glib_version 0.6.23 |
---|
13 | %define libcroco_version 0.6.2 |
---|
14 | %define libgsf_version 1.14.19 |
---|
15 | |
---|
16 | Name: librsvg2 |
---|
17 | Summary: An SVG library based on libart. |
---|
18 | Summary(ja): libart ベースの SVG ライブラリ |
---|
19 | Version: 2.40.2 |
---|
20 | Release: 1%{?_dist_release} |
---|
21 | License: LGPL |
---|
22 | Group: System Environment/Libraries |
---|
23 | Source: librsvg-%{version}.tar.xz |
---|
24 | |
---|
25 | Requires(post,postun): gtk3 >= %{gtk3_version} |
---|
26 | Requires(post): dbus-glib >= %{dbus_glib_version} |
---|
27 | Requires(post): avahi-glib >= %{avahi_glib_version} |
---|
28 | Requires(post): libgsf, libcroco |
---|
29 | Requires: gtk3 >= %{gtk3_version} |
---|
30 | Requires: libxml2 >= %{libxml2_version} |
---|
31 | Requires: popt >= %{popt_version} |
---|
32 | Requires: freetype2 >= %{freetype_version} |
---|
33 | Requires: libpng |
---|
34 | BuildRequires: libpng-devel |
---|
35 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
36 | BuildRequires: gobject-introspection-devel |
---|
37 | BuildRequires: libxml2-devel >= %{libxml2_version} |
---|
38 | BuildRequires: freetype2-devel >= %{freetype_version} |
---|
39 | BuildRequires: cairo-devel >= %{cairo_version} |
---|
40 | BuildRequires: dbus-glib-devel >= %{dbus_glib_version} |
---|
41 | BuildRequires: avahi-glib-devel >= %{avahi_glib_version} |
---|
42 | BuildRequires: libcroco-devel >= %{libcroco_version} |
---|
43 | BuildRequires: libgsf-devel >= %{libgsf_version} |
---|
44 | BuildRequires: autoconf |
---|
45 | BuildRequires: gtk-doc |
---|
46 | BuildRequires: vala-devel |
---|
47 | BuildRequires: vala-tools |
---|
48 | |
---|
49 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
50 | |
---|
51 | Vendor: Project Vine |
---|
52 | Distribution: Vine Linux |
---|
53 | |
---|
54 | %description |
---|
55 | An SVG library based on libart. |
---|
56 | |
---|
57 | %description -l ja |
---|
58 | libart ベースの SVG ライブラリです |
---|
59 | |
---|
60 | |
---|
61 | %package devel |
---|
62 | Summary: Libraries and include files for developing with librsvg. |
---|
63 | Summary(ja): librsvg の開発用ライブラリおよびヘッダファイル |
---|
64 | Group: Development/Libraries |
---|
65 | Requires: %{name} = %{version} |
---|
66 | Requires: gdk-pixbuf2-devel >= %{gdk_pixbug2_version} |
---|
67 | Requires: cairo-devel >= %{cairo_version} |
---|
68 | |
---|
69 | %description devel |
---|
70 | This package provides the necessary development libraries and include |
---|
71 | files to allow you to develop with librsvg. |
---|
72 | |
---|
73 | |
---|
74 | %package docs |
---|
75 | Summary: Documentation for %{name} |
---|
76 | Summary(ja): %{name} 用のドキュメント |
---|
77 | Group: Documentation |
---|
78 | Requires: %{name} = %{version}-%{release} |
---|
79 | BuildArch: noarch |
---|
80 | |
---|
81 | %description docs |
---|
82 | This package contains documentation for %{name}. |
---|
83 | |
---|
84 | |
---|
85 | %package vala |
---|
86 | Summary: Vala bindings for %{name} |
---|
87 | Summary(ja): %{name} の Vala バインディング |
---|
88 | Group: Development/Libraries |
---|
89 | Requires: %{name} = %{version}-%{release} |
---|
90 | Requires: vala |
---|
91 | |
---|
92 | %description vala |
---|
93 | Vala bindings for %{name}. |
---|
94 | |
---|
95 | |
---|
96 | %prep |
---|
97 | %setup -q -n librsvg-%{version} |
---|
98 | |
---|
99 | %build |
---|
100 | sed -i "s|0.17.1.26|0.20|" configure.in |
---|
101 | autoreconf -if |
---|
102 | %configure --enable-gtk-doc \ |
---|
103 | --enable-introspection=yes \ |
---|
104 | --enable-vala=yes \ |
---|
105 | --with-svgz \ |
---|
106 | --enable-gtk-theme \ |
---|
107 | --with-croco \ |
---|
108 | --disable-static |
---|
109 | %__make %{?_smp_mflags} |
---|
110 | |
---|
111 | %install |
---|
112 | rm -rf $RPM_BUILD_ROOT |
---|
113 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
114 | |
---|
115 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
---|
116 | rm -f $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbuf*.*a |
---|
117 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders |
---|
118 | |
---|
119 | %clean |
---|
120 | rm -rf $RPM_BUILD_ROOT |
---|
121 | |
---|
122 | %post |
---|
123 | /sbin/ldconfig |
---|
124 | if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then |
---|
125 | /usr/bin/gdk-pixbuf-query-loaders --update-cache || : |
---|
126 | fi ||: |
---|
127 | |
---|
128 | %postun |
---|
129 | /sbin/ldconfig |
---|
130 | if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then |
---|
131 | /usr/bin/gdk-pixbuf-query-loaders --update-cache || : |
---|
132 | fi ||: |
---|
133 | |
---|
134 | %files |
---|
135 | %defattr(-,root,root,-) |
---|
136 | %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README |
---|
137 | %{_bindir}/rsvg-convert |
---|
138 | %{_bindir}/rsvg-view-3 |
---|
139 | %{_libdir}/librsvg-2.so.* |
---|
140 | %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so |
---|
141 | %{_libdir}/girepository-1.0/Rsvg-2.0.typelib |
---|
142 | %{_mandir}/man1/rsvg-convert.1.gz |
---|
143 | |
---|
144 | %files devel |
---|
145 | %defattr(-,root,root,-) |
---|
146 | %{_libdir}/librsvg-2.so |
---|
147 | %{_includedir}/librsvg-2.0/librsvg |
---|
148 | %{_libdir}/pkgconfig/librsvg-2.0.pc |
---|
149 | %{_datadir}/gir-1.0/Rsvg-2.0.gir |
---|
150 | |
---|
151 | %files docs |
---|
152 | %defattr(-,root,root,-) |
---|
153 | %{_datadir}/gtk-doc/html/rsvg-2.0 |
---|
154 | |
---|
155 | %files vala |
---|
156 | %defattr(-,root,root,-) |
---|
157 | %{_datadir}/vala/vapi/librsvg-2.0.vapi |
---|
158 | |
---|
159 | |
---|
160 | %changelog |
---|
161 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.2-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Mon Jan 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-2 |
---|
165 | - fix typo |
---|
166 | |
---|
167 | * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-1 |
---|
168 | - new upstream release |
---|
169 | - remove BuildRequires: gtk2-devel |
---|
170 | |
---|
171 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.4-2 |
---|
172 | - add BuildRequires: autoconf, gtk-doc, vala-devel, vala-tools |
---|
173 | - create %%{name}-docs and %%{name}-vala subpackages |
---|
174 | |
---|
175 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.4-1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.3-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.1-1 |
---|
182 | - new upstream release |
---|
183 | |
---|
184 | * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.2-1 |
---|
185 | - new upstream release |
---|
186 | - add BuildRequires: gobject-introspection-devel |
---|
187 | |
---|
188 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.1-1 |
---|
189 | - new upstream release |
---|
190 | - remove Patch0 |
---|
191 | |
---|
192 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.0-1 |
---|
193 | - new upstream release |
---|
194 | - add Patch0 (librsvg2-2.34.0-git20110728.patch) |
---|
195 | |
---|
196 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1 |
---|
197 | - new upstream release |
---|
198 | |
---|
199 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
200 | - new upstream release |
---|
201 | - remove BuildRequires: popt, libart_lgpl, libgnomeui-devel, gnome-vfs2-devel |
---|
202 | - remove Requires: libart_lgpl |
---|
203 | - add configure option (--disable-static) |
---|
204 | - remove unrecognized configure option (--enable-gnome-vfs, --disable-mozilla-plugins) |
---|
205 | - fix %install, %files, %post and %postun |
---|
206 | |
---|
207 | * Wed Sep 22 2010 IWAI, Masaharu <iwai@alib.jp> 2.26.3-1 |
---|
208 | - build with rpm-4.8.1-1 for pkg-config file |
---|
209 | |
---|
210 | * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.3-1 |
---|
211 | - new upstream release |
---|
212 | |
---|
213 | * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
214 | - new upstream release |
---|
215 | - remove static libs |
---|
216 | |
---|
217 | * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.3-1vl5 |
---|
218 | - new upstream release |
---|
219 | - spec in UTF-8 |
---|
220 | |
---|
221 | * Wed Mar 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1vl5 |
---|
222 | - new upstream release |
---|
223 | |
---|
224 | * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl2 |
---|
225 | - rebuilt with libgsf-1.14.8 |
---|
226 | |
---|
227 | * Sat Sep 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1 |
---|
228 | - new upstream release |
---|
229 | |
---|
230 | * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.1-0vl1 |
---|
231 | - new upstream release |
---|
232 | - add BuildRequires: dbus-glib-devel, avahi-glib-devel |
---|
233 | - add BuildRequires: libgsf-devel, libcroco-devel |
---|
234 | - add Requires(post): dbus-glib, avahi-glib, libgsf, libcroco |
---|
235 | - add Requires(post,postun): glib2 |
---|
236 | |
---|
237 | * Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl5 |
---|
238 | - rebuild with gtk+-2.10 |
---|
239 | |
---|
240 | * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl4 |
---|
241 | - rebuilt without libgsf-devel |
---|
242 | |
---|
243 | * Tue Jun 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl3 |
---|
244 | - update %%post scripts to use %%{_sysconfdir}/gtk-2.0/%%{_arch}/gd-pixbuf.loaders |
---|
245 | for biarch support. (TODO: add compat32) |
---|
246 | |
---|
247 | * Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl2 |
---|
248 | - rebuild |
---|
249 | |
---|
250 | * Mon May 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.4-0vl1 |
---|
251 | - new upstream release |
---|
252 | |
---|
253 | * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1 |
---|
254 | - new upstream release |
---|
255 | |
---|
256 | * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
257 | - new upstream release |
---|
258 | |
---|
259 | * Wed Oct 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-0vl1 |
---|
260 | - new upstream release |
---|
261 | - added --disable-gtk-doc option |
---|
262 | |
---|
263 | * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.6-0vl1 |
---|
264 | - new upstream release |
---|
265 | - added gtk-doc to devel package |
---|
266 | |
---|
267 | * Sun Oct 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1 |
---|
268 | - new upstream release |
---|
269 | - added Japanese description |
---|
270 | - added --without-svgz option (because it requires libgsf) |
---|
271 | |
---|
272 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
273 | - new upstream release |
---|
274 | |
---|
275 | * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1 |
---|
276 | - new upstream release |
---|
277 | |
---|
278 | * Fri Jun 18 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.0-0vl4 |
---|
279 | - rebuilt to avoid unwanted dependency (libgsf) |
---|
280 | |
---|
281 | * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3 |
---|
282 | - add gdk-pixbuf-query-loaders to post/postun script. |
---|
283 | |
---|
284 | * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2 |
---|
285 | - rebuild with gtk+-2.4.0 |
---|
286 | |
---|
287 | * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1 |
---|
288 | - new upstream release |
---|
289 | |
---|
290 | * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl2 |
---|
291 | - fix kanji code of spec file |
---|
292 | - fix file entry, add missing files |
---|
293 | |
---|
294 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1 |
---|
295 | - new upstream release |
---|
296 | |
---|
297 | * Sat Jul 12 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl2 |
---|
298 | - added --without-svgz and --without-gimp to %configure |
---|
299 | |
---|
300 | * Thu Jul 10 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl1 |
---|
301 | - new upstream release |
---|
302 | - added %{_bindir}/rsvg and %{_mandir}/man1/* to main package |
---|
303 | - added %{_libdir}/gtk-2.0/* to devel package |
---|
304 | |
---|
305 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1 |
---|
306 | - new upstream release |
---|
307 | |
---|
308 | * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1 |
---|
309 | - new upstream release |
---|
310 | |
---|
311 | * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1 |
---|
312 | - new upstream release |
---|
313 | |
---|
314 | * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.2-0vl1 |
---|
315 | - build for Vine Linux |
---|
316 | - new upstream release from gnome-2.1.4 |
---|
317 | |
---|
318 | * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com> |
---|
319 | - 2.0.1 |
---|
320 | |
---|
321 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
322 | - automated rebuild |
---|
323 | |
---|
324 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
325 | - automated rebuild |
---|
326 | |
---|
327 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
---|
328 | - rebuild in different environment |
---|
329 | |
---|
330 | * Thu May 02 2002 Havoc Pennington <hp@redhat.com> |
---|
331 | - rebuild in different environment |
---|
332 | |
---|
333 | * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com> |
---|
334 | - 1.1.6 |
---|
335 | |
---|
336 | * Mon Feb 11 2002 Alex Larsson <alexl@redhat.com> 1.1.3-1 |
---|
337 | - Update to 1.1.3 |
---|
338 | |
---|
339 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
340 | - automated rebuild |
---|
341 | |
---|
342 | * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com> |
---|
343 | - new CVS snap 1.1.0.91 |
---|
344 | - remove automake/autoconf calls |
---|
345 | |
---|
346 | * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com> |
---|
347 | - convert to librsvg2 RPM |
---|
348 | |
---|
349 | * Tue Oct 23 2001 Havoc Pennington <hp@redhat.com> |
---|
350 | - 1.0.2 |
---|
351 | |
---|
352 | * Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com> |
---|
353 | - Add a patch that moves the includes to librsvg-1/librsvg |
---|
354 | - in preparation for a later librsvg 2 library. |
---|
355 | |
---|
356 | * Tue Jul 24 2001 Havoc Pennington <hp@redhat.com> |
---|
357 | - build requires gnome-libs-devel, #49509 |
---|
358 | |
---|
359 | * Thu Jul 19 2001 Havoc Pennington <hp@redhat.com> |
---|
360 | - own /usr/include/librsvg |
---|
361 | |
---|
362 | * Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4 |
---|
363 | - fixed the linefeed problem in multibyte environment. (Bug#49310) |
---|
364 | |
---|
365 | * Mon Jul 09 2001 Havoc Pennington <hp@redhat.com> |
---|
366 | - put .la file back in package |
---|
367 | |
---|
368 | * Fri Jul 6 2001 Trond Eivind Glomsr藷?<teg@redhat.com> |
---|
369 | - Put changelog at the end |
---|
370 | - Move .so files to devel subpackage |
---|
371 | - Don't mess with ld.so.conf |
---|
372 | - Don't use %%{prefix}, this isn't a relocatable package |
---|
373 | - Don't define a bad docdir |
---|
374 | - Add BuildRequires |
---|
375 | - Use %%{_tmppath} |
---|
376 | - Don't define name, version etc. on top of the file (why do so many do that?) |
---|
377 | - s/Copyright/License/ |
---|
378 | |
---|
379 | * Wed May 9 2001 Jonathan Blandford <jrb@redhat.com> |
---|
380 | - Put into Red Hat Build system |
---|
381 | |
---|
382 | * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com> |
---|
383 | - removed obsoletes from sub packages and added mozilla and trilobite |
---|
384 | subpackages |
---|
385 | |
---|
386 | * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com> |
---|
387 | - created this thing |
---|
388 | |
---|