librsvg2-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. %define __libtoolize :
  2. Name: librsvg2
  3. Summary: An SVG library based on cairo.
  4. Summary(ja): cairo ベースの SVG ライブラリ
  5. Group: graphics,system
  6. Version: 2.48.8
  7. Release: 1%{?_dist_release}
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPL
  11. %global shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
  12. Source: https://download.gnome.org/sources/librsvg/%{shortver}/librsvg-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gobject-introspection-devel
  15. BuildRequires: cairo-devel
  16. BuildRequires: fontconfig-devel
  17. BuildRequires: gdk-pixbuf2-devel
  18. BuildRequires: glib2-devel
  19. BuildRequires: libxml2-devel
  20. BuildRequires: pango-devel
  21. BuildRequires: gtk-doc
  22. BuildRequires: vala-devel
  23. BuildRequires: vala-tools
  24. BuildRequires: rust
  25. BuildRequires: cargo
  26. Requires: cairo
  27. Requires(post,postun): gdk-pixbuf2
  28. %description
  29. An SVG library based on cairo.
  30. %description -l ja
  31. cairo ベースの SVG ライブラリです
  32. %package devel
  33. Summary: Libraries and include files for developing with librsvg.
  34. Summary(ja): librsvg の開発用ライブラリおよびヘッダファイル
  35. Group: programming
  36. Requires: %{name} = %{version}
  37. Requires: gdk-pixbuf2-devel >= %{gdk_pixbug2_version}
  38. Requires: cairo-devel >= %{cairo_version}
  39. %description devel
  40. This package provides the necessary development libraries and include
  41. files to allow you to develop with librsvg.
  42. %package docs
  43. Summary: Documentation for %{name}
  44. Summary(ja): %{name} 用のドキュメント
  45. Group: documentation
  46. Requires: %{name} = %{version}-%{release}
  47. BuildArch: noarch
  48. %description docs
  49. This package contains documentation for %{name}.
  50. %package vala
  51. Summary: Vala bindings for %{name}
  52. Summary(ja): %{name} の Vala バインディング
  53. Group: programming
  54. Requires: %{name} = %{version}-%{release}
  55. Requires: vala
  56. %description vala
  57. Vala bindings for %{name}.
  58. %debug_package
  59. %prep
  60. %setup -q -n librsvg-%{version}
  61. %build
  62. %configure --enable-gtk-doc \
  63. --enable-introspection=yes \
  64. --enable-vala=yes \
  65. --with-svgz \
  66. --enable-gtk-theme \
  67. --disable-static
  68. %__make %{?_smp_mflags}
  69. %install
  70. rm -rf %{buildroot}
  71. make install DESTDIR=%{buildroot}
  72. rm -f %{buildroot}%{_libdir}/*.{a,la}
  73. rm -f %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbuf*.*a
  74. rm -f %{buildroot}%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
  75. rm -rf %{buildroot}%{_docdir}/librsvg
  76. %find_lang librsvg
  77. %clean
  78. rm -rf %{buildroot}
  79. %post
  80. /sbin/ldconfig
  81. if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
  82. /usr/bin/gdk-pixbuf-query-loaders --update-cache || :
  83. fi ||:
  84. %postun
  85. /sbin/ldconfig
  86. if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
  87. /usr/bin/gdk-pixbuf-query-loaders --update-cache || :
  88. fi ||:
  89. %files -f librsvg.lang
  90. %defattr(-,root,root,-)
  91. %license COPYING.LIB
  92. %doc AUTHORS NEWS README.md
  93. %{_bindir}/rsvg-convert
  94. %{_libdir}/librsvg-2.so.*
  95. %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
  96. %{_libdir}/girepository-1.0/Rsvg-2.0.typelib
  97. %dir %{_datadir}/thumbnailers
  98. %{_datadir}/thumbnailers/librsvg.thumbnailer
  99. %{_mandir}/man1/rsvg-convert.1.gz
  100. %files devel
  101. %defattr(-,root,root,-)
  102. %{_libdir}/librsvg-2.so
  103. %{_includedir}/librsvg-2.0/librsvg
  104. %{_libdir}/pkgconfig/librsvg-2.0.pc
  105. %{_datadir}/gir-1.0/Rsvg-2.0.gir
  106. %files docs
  107. %defattr(-,root,root,-)
  108. %{_datadir}/gtk-doc/html/rsvg-2.0
  109. %files vala
  110. %defattr(-,root,root,-)
  111. %{_datadir}/vala/vapi/librsvg-2.0.*
  112. %changelog
  113. * Thu Aug 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.48.8-1
  114. - new upstream release.
  115. - cleaned BR: up.
  116. * Sat Feb 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.46.4-1
  117. - new upstream release.
  118. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.16-1
  119. - new upstream release
  120. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.12-1
  121. - new upstream release
  122. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.11-1
  123. - new upstream release
  124. - remove Patch0
  125. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.10-1
  126. - new upstream release
  127. - add Patch0 (librsvg-2.40.10-git20150811.patch)
  128. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.9-1
  129. - new upstream release
  130. * Sun Mar 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.8-1
  131. - new upstream release
  132. * Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.7-1
  133. - new upstream release
  134. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.6-1
  135. - new upstream release
  136. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.5-1
  137. - new upstream release
  138. * Thu Aug 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.3-1
  139. - new upstream release
  140. * Sun Jul 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.2-2
  141. - rebuild with libpng-1.6.12
  142. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.2-1
  143. - new upstream release
  144. * Mon Jan 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-2
  145. - fix typo
  146. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.40.1-1
  147. - new upstream release
  148. - remove BuildRequires: gtk2-devel
  149. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.4-2
  150. - add BuildRequires: autoconf, gtk-doc, vala-devel, vala-tools
  151. - create %%{name}-docs and %%{name}-vala subpackages
  152. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.4-1
  153. - new upstream release
  154. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.3-1
  155. - new upstream release
  156. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36.1-1
  157. - new upstream release
  158. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.2-1
  159. - new upstream release
  160. - add BuildRequires: gobject-introspection-devel
  161. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.1-1
  162. - new upstream release
  163. - remove Patch0
  164. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.0-1
  165. - new upstream release
  166. - add Patch0 (librsvg2-2.34.0-git20110728.patch)
  167. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  168. - new upstream release
  169. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  170. - new upstream release
  171. - remove BuildRequires: popt, libart_lgpl, libgnomeui-devel, gnome-vfs2-devel
  172. - remove Requires: libart_lgpl
  173. - add configure option (--disable-static)
  174. - remove unrecognized configure option (--enable-gnome-vfs, --disable-mozilla-plugins)
  175. - fix %install, %files, %post and %postun
  176. * Wed Sep 22 2010 IWAI, Masaharu <iwai@alib.jp> 2.26.3-1
  177. - build with rpm-4.8.1-1 for pkg-config file
  178. * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.3-1
  179. - new upstream release
  180. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  181. - new upstream release
  182. - remove static libs
  183. * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.3-1vl5
  184. - new upstream release
  185. - spec in UTF-8
  186. * Wed Mar 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1vl5
  187. - new upstream release
  188. * Sat Mar 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl2
  189. - rebuilt with libgsf-1.14.8
  190. * Sat Sep 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-0vl1
  191. - new upstream release
  192. * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.1-0vl1
  193. - new upstream release
  194. - add BuildRequires: dbus-glib-devel, avahi-glib-devel
  195. - add BuildRequires: libgsf-devel, libcroco-devel
  196. - add Requires(post): dbus-glib, avahi-glib, libgsf, libcroco
  197. - add Requires(post,postun): glib2
  198. * Tue Apr 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl5
  199. - rebuild with gtk+-2.10
  200. * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl4
  201. - rebuilt without libgsf-devel
  202. * Tue Jun 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.4-0vl3
  203. - update %%post scripts to use %%{_sysconfdir}/gtk-2.0/%%{_arch}/gd-pixbuf.loaders
  204. for biarch support. (TODO: add compat32)
  205. * Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.14.4-0vl2
  206. - rebuild
  207. * Mon May 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.4-0vl1
  208. - new upstream release
  209. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  210. - new upstream release
  211. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  212. - new upstream release
  213. * Wed Oct 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-0vl1
  214. - new upstream release
  215. - added --disable-gtk-doc option
  216. * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.6-0vl1
  217. - new upstream release
  218. - added gtk-doc to devel package
  219. * Sun Oct 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  220. - new upstream release
  221. - added Japanese description
  222. - added --without-svgz option (because it requires libgsf)
  223. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  224. - new upstream release
  225. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  226. - new upstream release
  227. * Fri Jun 18 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.0-0vl4
  228. - rebuilt to avoid unwanted dependency (libgsf)
  229. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl3
  230. - add gdk-pixbuf-query-loaders to post/postun script.
  231. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl2
  232. - rebuild with gtk+-2.4.0
  233. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  234. - new upstream release
  235. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl2
  236. - fix kanji code of spec file
  237. - fix file entry, add missing files
  238. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-0vl1
  239. - new upstream release
  240. * Sat Jul 12 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl2
  241. - added --without-svgz and --without-gimp to %configure
  242. * Thu Jul 10 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.5-0vl1
  243. - new upstream release
  244. - added %{_bindir}/rsvg and %{_mandir}/man1/* to main package
  245. - added %{_libdir}/gtk-2.0/* to devel package
  246. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  247. - new upstream release
  248. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  249. - new upstream release
  250. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-0vl1
  251. - new upstream release
  252. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.2-0vl1
  253. - build for Vine Linux
  254. - new upstream release from gnome-2.1.4
  255. * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com>
  256. - 2.0.1
  257. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  258. - automated rebuild
  259. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  260. - automated rebuild
  261. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  262. - rebuild in different environment
  263. * Thu May 02 2002 Havoc Pennington <hp@redhat.com>
  264. - rebuild in different environment
  265. * Thu Apr 18 2002 Havoc Pennington <hp@redhat.com>
  266. - 1.1.6
  267. * Mon Feb 11 2002 Alex Larsson <alexl@redhat.com> 1.1.3-1
  268. - Update to 1.1.3
  269. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  270. - automated rebuild
  271. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  272. - new CVS snap 1.1.0.91
  273. - remove automake/autoconf calls
  274. * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
  275. - convert to librsvg2 RPM
  276. * Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
  277. - 1.0.2
  278. * Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
  279. - Add a patch that moves the includes to librsvg-1/librsvg
  280. - in preparation for a later librsvg 2 library.
  281. * Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
  282. - build requires gnome-libs-devel, #49509
  283. * Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
  284. - own /usr/include/librsvg
  285. * Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
  286. - fixed the linefeed problem in multibyte environment. (Bug#49310)
  287. * Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
  288. - put .la file back in package
  289. * Fri Jul 6 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  290. - Put changelog at the end
  291. - Move .so files to devel subpackage
  292. - Don't mess with ld.so.conf
  293. - Don't use %%{prefix}, this isn't a relocatable package
  294. - Don't define a bad docdir
  295. - Add BuildRequires
  296. - Use %%{_tmppath}
  297. - Don't define name, version etc. on top of the file (why do so many do that?)
  298. - s/Copyright/License/
  299. * Wed May 9 2001 Jonathan Blandford <jrb@redhat.com>
  300. - Put into Red Hat Build system
  301. * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
  302. - removed obsoletes from sub packages and added mozilla and trilobite
  303. subpackages
  304. * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
  305. - created this thing