librsvg2-vl.spec 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. %define __libtoolize :
  2. %define libxml2_version 2.6.22
  3. %define gtk2_version 2.16.0
  4. %define freetype_version 2.3.9
  5. %define popt_version 1.5
  6. %define libart_version 2.3.15
  7. %define cairo_version 1.8.6
  8. %define libgnomeui_version 2.24.0
  9. %define gnome_vfs_version 2.24.0
  10. %define dbus_version 1.2.12
  11. %define dbus_glib_version 0.80
  12. %define avahi_glib_version 0.6.23
  13. %define libcroco_version 0.6.1
  14. %define libgsf_version 1.14.8
  15. Name: librsvg2
  16. Summary: An SVG library based on libart.
  17. Summary(ja): libart ベースの SVG ライブラリ
  18. Version: 2.26.3
  19. Release: 1%{?_dist_release}
  20. License: LGPL
  21. Group: System Environment/Libraries
  22. Source: librsvg-%{version}.tar.bz2
  23. Requires(post,postun): gtk2 >= %{gtk2_version}
  24. Requires(post): dbus-glib >= %{dbus_glib_version}
  25. Requires(post): avahi-glib >= %{avahi_glib_devel}
  26. Requires(post): libgsf, libcroco
  27. Requires: gtk2 >= %{gtk2_version}
  28. Requires: libxml2 >= %{libxml2_version}
  29. Requires: popt >= %{popt_version}
  30. Requires: freetype2 >= %{freetype_version}
  31. Requires: libart_lgpl >= %{libart_version}
  32. Requires: libpng
  33. BuildRequires: libpng-devel
  34. BuildRequires: gtk2-devel >= %{gtk2_version}
  35. BuildRequires: libxml2-devel >= %{libxml2_version}
  36. BuildRequires: popt >= %{popt_version}
  37. BuildRequires: freetype2-devel >= %{freetype_version}
  38. BuildRequires: libart_lgpl-devel >= %{libart_version}
  39. BuildRequires: cairo-devel >= %{cairo_version}
  40. BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
  41. BuildRequires: gnome-vfs2-devel >= %{gnome_vfs_version}
  42. BuildRequires: dbus-glib-devel >= %{dbus_glib_devel}
  43. BuildRequires: avahi-glib-devel >= %{avahi_glib_devel}
  44. BuildRequires: libcroco-devel >= %{libcroco_version}
  45. BuildRequires: libgsf-devel >= %{libgsf_version}
  46. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  47. %description
  48. An SVG library based on libart.
  49. %description -l ja
  50. libart ベースの SVG ライブラリです
  51. %package devel
  52. Summary: Libraries and include files for developing with librsvg.
  53. Summary(ja): librsvg の開発用ライブラリおよびヘッダファイル
  54. Group: Development/Libraries
  55. Requires: %{name} = %{version}
  56. Requires: gtk2-devel >= %{gtk2_version}
  57. Requires: libxml2-devel >= %{libxml2_version}
  58. Requires: freetype2-devel >= %{freetype_version}
  59. Requires: libart_lgpl-devel >= %{libart_version}
  60. Requires: libgsf-devel, libcroco-devel
  61. %description devel
  62. This package provides the necessary development libraries and include
  63. files to allow you to develop with librsvg.
  64. %prep
  65. %setup -q -n librsvg-%{version}
  66. %build
  67. %configure --disable-gtk-doc \
  68. --with-svgz \
  69. --enable-gtk-theme \
  70. --enable-gnome-vfs \
  71. --with-croco \
  72. --disable-mozilla-plugin
  73. %__make %{?_smp_mflags}
  74. %install
  75. rm -rf $RPM_BUILD_ROOT
  76. %makeinstall
  77. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  78. rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/libsvg.*a
  79. rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/loaders/svg_loader.*a
  80. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
  81. %clean
  82. rm -rf $RPM_BUILD_ROOT
  83. %post
  84. /sbin/ldconfig
  85. if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
  86. /usr/bin/gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/%{_arch}/gdk-pixbuf.loaders
  87. fi ||:
  88. %postun
  89. /sbin/ldconfig
  90. if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
  91. /usr/bin/gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/%{_arch}/gdk-pixbuf.loaders
  92. fi ||:
  93. %files
  94. %defattr(-, root, root)
  95. %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README
  96. %{_bindir}/*
  97. %{_libdir}/*.so.*
  98. %{_libdir}/gtk-2.0/*/engines/*.so
  99. %{_libdir}/gtk-2.0/*/loaders/*.so
  100. %{_mandir}/man1/*
  101. %{_datadir}/pixmaps/*
  102. %files devel
  103. %defattr(-, root, root)
  104. %{_libdir}/*.so
  105. %{_includedir}/librsvg-2/librsvg
  106. %{_libdir}/pkgconfig/librsvg-2.0.pc
  107. %{_datadir}/gtk-doc/html/rsvg
  108. %changelog
  109. * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.3-1
  110. - new upstream release
  111. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  112. - new upstream release
  113. - remove static libs
  114. * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.3-1vl5
  115. - new upstream release
  116. - spec in UTF-8
  117. * Wed Mar 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1vl5
  118. - new upstream release
  119. * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl2
  120. - rebuilt with libgsf-1.14.8
  121. * Sat Sep 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  122. - new upstream release
  123. * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.1-0vl1
  124. - new upstream release
  125. - add BuildRequires: dbus-glib-devel, avahi-glib-devel
  126. - add BuildRequires: libgsf-devel, libcroco-devel
  127. - add Requires(post): dbus-glib, avahi-glib, libgsf, libcroco
  128. - add Requires(post,postun): glib2
  129. * Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl5
  130. - rebuild with gtk+-2.10
  131. * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl4
  132. - rebuilt without libgsf-devel
  133. * Tue Jun 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl3
  134. - update %%post scripts to use %%{_sysconfdir}/gtk-2.0/%%{_arch}/gd-pixbuf.loaders
  135. for biarch support. (TODO: add compat32)
  136. * Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl2
  137. - rebuild
  138. * Mon May 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.4-0vl1
  139. - new upstream release
  140. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  141. - new upstream release
  142. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  143. - new upstream release
  144. * Wed Oct 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-0vl1
  145. - new upstream release
  146. - added --disable-gtk-doc option
  147. * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.6-0vl1
  148. - new upstream release
  149. - added gtk-doc to devel package
  150. * Sun Oct 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  151. - new upstream release
  152. - added Japanese description
  153. - added --without-svgz option (because it requires libgsf)
  154. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  155. - new upstream release
  156. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  157. - new upstream release
  158. * Fri Jun 18 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.0-0vl4
  159. - rebuilt to avoid unwanted dependency (libgsf)
  160. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3
  161. - add gdk-pixbuf-query-loaders to post/postun script.
  162. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  163. - rebuild with gtk+-2.4.0
  164. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  165. - new upstream release
  166. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl2
  167. - fix kanji code of spec file
  168. - fix file entry, add missing files
  169. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  170. - new upstream release
  171. * Sat Jul 12 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl2
  172. - added --without-svgz and --without-gimp to %configure
  173. * Thu Jul 10 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl1
  174. - new upstream release
  175. - added %{_bindir}/rsvg and %{_mandir}/man1/* to main package
  176. - added %{_libdir}/gtk-2.0/* to devel package
  177. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  178. - new upstream release
  179. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  180. - new upstream release
  181. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
  182. - new upstream release
  183. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.2-0vl1
  184. - build for Vine Linux
  185. - new upstream release from gnome-2.1.4
  186. * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
  187. - 2.0.1
  188. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  189. - automated rebuild
  190. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  191. - automated rebuild
  192. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  193. - rebuild in different environment
  194. * Thu May 02 2002 Havoc Pennington <hp@redhat.com>
  195. - rebuild in different environment
  196. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  197. - 1.1.6
  198. * Mon Feb 11 2002 Alex Larsson <alexl@redhat.com> 1.1.3-1
  199. - Update to 1.1.3
  200. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  201. - automated rebuild
  202. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  203. - new CVS snap 1.1.0.91
  204. - remove automake/autoconf calls
  205. * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
  206. - convert to librsvg2 RPM
  207. * Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
  208. - 1.0.2
  209. * Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
  210. - Add a patch that moves the includes to librsvg-1/librsvg
  211. - in preparation for a later librsvg 2 library.
  212. * Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
  213. - build requires gnome-libs-devel, #49509
  214. * Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
  215. - own /usr/include/librsvg
  216. * Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
  217. - fixed the linefeed problem in multibyte environment. (Bug#49310)
  218. * Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
  219. - put .la file back in package
  220. * Fri Jul 6 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  221. - Put changelog at the end
  222. - Move .so files to devel subpackage
  223. - Don't mess with ld.so.conf
  224. - Don't use %%{prefix}, this isn't a relocatable package
  225. - Don't define a bad docdir
  226. - Add BuildRequires
  227. - Use %%{_tmppath}
  228. - Don't define name, version etc. on top of the file (why do so many do that?)
  229. - s/Copyright/License/
  230. * Wed May 9 2001 Jonathan Blandford <jrb@redhat.com>
  231. - Put into Red Hat Build system
  232. * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
  233. - removed obsoletes from sub packages and added mozilla and trilobite
  234. subpackages
  235. * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
  236. - created this thing