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

Revision 6011, 10.0 KB checked in by Takemikaduchi, 12 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.36.0
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}/themes/bubble/gtk-2.0/*
120
121%files devel
122%defattr(-, root, root)
123%{_libdir}/*.so
124%{_includedir}/librsvg-2.0/librsvg
125%{_libdir}/pkgconfig/librsvg-2.0.pc
126%{_datadir}/gtk-doc/html/rsvg-2.0
127%{_datadir}/gir-1.0/Rsvg-2.0.gir
128
129%changelog
130* Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.0-1
131- new upstream release
132
133* Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.2-1
134- new upstream release
135- add BuildRequires: gobject-introspection-devel
136
137* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.1-1
138- new upstream release
139- remove Patch0
140
141* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.0-1
142- new upstream release
143- add Patch0 (librsvg2-2.34.0-git20110728.patch)
144
145* Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
146- new upstream release
147
148* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
149- new upstream release
150- remove BuildRequires: popt, libart_lgpl, libgnomeui-devel, gnome-vfs2-devel
151- remove Requires: libart_lgpl
152- add configure option (--disable-static)
153- remove unrecognized configure option (--enable-gnome-vfs, --disable-mozilla-plugins)
154- fix %install, %files, %post and %postun
155
156* Wed Sep 22 2010 IWAI, Masaharu <iwai@alib.jp> 2.26.3-1
157- build with rpm-4.8.1-1 for pkg-config file
158
159* Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.3-1
160- new upstream release
161
162* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
163- new upstream release
164- remove static libs
165
166* Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.3-1vl5
167- new upstream release
168- spec in UTF-8
169
170* Wed Mar 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1vl5
171- new upstream release
172
173* Sat Mar  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl2
174- rebuilt with libgsf-1.14.8
175
176* Sat Sep  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
177- new upstream release
178
179* Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.1-0vl1
180- new upstream release
181- add BuildRequires: dbus-glib-devel, avahi-glib-devel
182- add BuildRequires: libgsf-devel, libcroco-devel
183- add Requires(post): dbus-glib, avahi-glib, libgsf, libcroco
184- add Requires(post,postun): glib2
185
186* Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl5
187- rebuild with gtk+-2.10
188
189* Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl4
190- rebuilt without libgsf-devel
191
192* Tue Jun 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl3
193- update %%post scripts to use %%{_sysconfdir}/gtk-2.0/%%{_arch}/gd-pixbuf.loaders
194  for biarch support. (TODO: add compat32)
195
196* Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl2
197- rebuild
198
199* Mon May 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.4-0vl1
200- new upstream release
201
202* Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
203- new upstream release
204
205* Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
206- new upstream release
207
208* Wed Oct 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-0vl1
209- new upstream release
210- added --disable-gtk-doc option
211
212* Sat Oct  8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.6-0vl1
213- new upstream release
214- added gtk-doc to devel package
215
216* Sun Oct  2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
217- new upstream release
218- added Japanese description
219- added --without-svgz option (because it requires libgsf)
220
221* Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
222- new upstream release
223
224* Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
225- new upstream release
226
227* Fri Jun 18 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.0-0vl4
228- rebuilt to avoid unwanted dependency (libgsf)
229
230* Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3
231- add gdk-pixbuf-query-loaders to post/postun script.
232
233* Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
234- rebuild with gtk+-2.4.0
235
236* Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
237- new upstream release
238
239* Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl2
240- fix kanji code of spec file
241- fix file entry, add missing files
242
243* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
244- new upstream release
245
246* Sat Jul 12 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl2
247- added --without-svgz and --without-gimp to %configure
248
249* Thu Jul 10 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl1
250- new upstream release
251- added %{_bindir}/rsvg and %{_mandir}/man1/* to main package
252- added %{_libdir}/gtk-2.0/* to devel package
253
254* Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
255- new upstream release
256
257* Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
258- new upstream release
259
260* Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
261- new upstream release
262
263* Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.2-0vl1
264- build for Vine Linux
265- new upstream release from gnome-2.1.4
266
267* Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
268- 2.0.1
269
270* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
271- automated rebuild
272
273* Sun May 26 2002 Tim Powers <timp@redhat.com>
274- automated rebuild
275
276* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
277- rebuild in different environment
278
279* Thu May 02 2002 Havoc Pennington <hp@redhat.com>
280- rebuild in different environment
281
282* Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
283- 1.1.6
284
285* Mon Feb 11 2002 Alex Larsson <alexl@redhat.com> 1.1.3-1
286- Update to 1.1.3
287
288* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
289- automated rebuild
290
291* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
292- new CVS snap 1.1.0.91
293- remove automake/autoconf calls
294
295* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
296- convert to librsvg2 RPM
297
298* Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
299- 1.0.2
300
301* Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
302- Add a patch that moves the includes to librsvg-1/librsvg
303- in preparation for a later librsvg 2 library.
304
305* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
306- build requires gnome-libs-devel, #49509
307
308* Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
309- own /usr/include/librsvg
310
311* Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
312- fixed the linefeed problem in multibyte environment. (Bug#49310)
313
314* Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
315- put .la file back in package
316
317* Fri Jul  6 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
318- Put changelog at the end
319- Move .so files to devel subpackage
320- Don't mess with ld.so.conf
321- Don't use %%{prefix}, this isn't a relocatable package
322- Don't define a bad docdir
323- Add BuildRequires
324- Use %%{_tmppath}
325- Don't define name, version etc. on top of the file (why do so many do that?)
326- s/Copyright/License/
327
328* Wed May  9 2001 Jonathan Blandford <jrb@redhat.com>
329- Put into Red Hat Build system
330
331* Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
332- removed obsoletes from sub packages and added mozilla and trilobite
333subpackages
334
335* Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
336- created this thing
337
Note: See TracBrowser for help on using the repository browser.