librsvg2-vl.spec 10 KB

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