librsvg2-vl.spec 9.4 KB

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