source: projects/specs/branches/6/lib/libr/librsvg2/librsvg2-vl.spec @ 10704

Revision 10704, 10.0 KB checked in by tomop, 8 years ago (diff)

librsvg2-2.36.4-1

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