source: projects/specs/trunk/lib/libr/librsvg2/librsvg2-vl.spec @ 5168

Revision 5168, 10.0 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

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