librsvg2-vl.spec 12 KB

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