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

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