librsvg2-vl.spec 10.0 KB

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