ruby-gnome2-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. %define ruby /usr/bin/ruby
  2. %define rbindir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["bindir"]')
  3. %define rlibdir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["rubylibdir"]')
  4. %define rarchdir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["archdir"]')
  5. Summary: language bindings for GNOME2 and GNOME3 for use with Ruby
  6. Summary(ja): Ruby から GNOME2 及び GNOME3 を使う為のライブラリ
  7. Name: ruby-gnome2
  8. Version: 2.0.2
  9. Release: 2%{?_dist_release}
  10. Group: Development/Libraries
  11. License: GPL
  12. URL: http://ruby-gnome2.sourceforge.net/
  13. Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{name}-2.0.2/%{name}-all-2.0.2.tar.gz
  14. Requires: ruby-gtk2 = %{version}-%{release}
  15. Requires: ruby-gtk3 = %{version}-%{release}
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: ruby-devel
  18. BuildRequires: ruby-pkg-config
  19. BuildRequires: rcairo-devel >= 1.8.0
  20. BuildRequires: glib2-devel
  21. BuildRequires: pango-devel
  22. BuildRequires: atk-devel
  23. BuildRequires: gtk2-devel
  24. BuildRequires: gtk3-devel >= 3.4.2
  25. BuildRequires: gobject-introspection-devel >= 1.32.1
  26. BuildRequires: gtksourceview2-devel >= 2.0.0
  27. BuildRequires: gtksourceview3-devel >= 3.4.2
  28. BuildRequires: librsvg2-devel >= 2.8.0
  29. BuildRequires: goocanvas-devel >= 0.8.0
  30. BuildRequires: gstreamer1-devel
  31. BuildRequires: gstreamer1-plugins-base-devel
  32. BuildRequires: vte-devel >= 0.12.1
  33. BuildRequires: vte3-devel >= 0.32.2
  34. BuildRequires: poppler-devel >= 0.14.2
  35. BuildRequires: sed
  36. Obsoletes: ruby-gtkglext < 2.0.0
  37. Obsoletes: ruby-gtkmozembed < 2.0.0
  38. Obsoletes: ruby-glade2 < 2.0.0
  39. %description
  40. This is a set of bindings for the GNOME-2.x and GNOME-3.x libraries to
  41. use from Ruby 1.9.x.
  42. %package -n ruby-gtk2
  43. Summary: language bindings for GTK+2 for use with Ruby
  44. Summary(ja): Ruby から GTK+2 を使う為のライブラリ
  45. Group: Development/Libraries
  46. Requires: ruby
  47. Requires: rcairo >= 1.12.0
  48. %description -n ruby-gtk2
  49. This package is a ruby bindings for gtk2.
  50. This package contains follow bindings.
  51. * Ruby/GLib2: Ruby binding of GLib-2.x.
  52. * Ruby/GIO2: Ruby binding of gio-2.0.x.
  53. * Ruby/ATK: Ruby binding of ATK-1.0.x or later.
  54. * Ruby/Pango: Ruby binding of pango-1.x.
  55. * Ruby/GdkPixbuf2: Ruby binding of GdkPixbuf-2.x.
  56. * Ruby/GTK2: Ruby binding of GTK+-2.0.x.
  57. * Ruby/GObjectIntrospection: Ruby binding of GObject Introspect.
  58. * Ruby/CairoGObject: Ruby binding of cairo-gobject.
  59. %package -n ruby-gtk3
  60. Summary: language bindings for GTK+2 for use with Ruby
  61. Summary(ja): Ruby から GTK+2 を使う為のライブラリ
  62. Group: Development/Libraries
  63. Requires: ruby
  64. Requires: ruby-gtk2
  65. %description -n ruby-gtk3
  66. This package is a ruby bindings for gtk3.
  67. This package contains follow bindings.
  68. * Ruby/GDK3: Ruby binding of GDK 3.
  69. * Ruby/GTK3: Ruby binding of GTK 3.
  70. %package -n %{name}-devel
  71. Summary: The header files for the ruby-gnome2.
  72. Summary(ja): ruby-gnome2 用のヘッダーファイル群
  73. Group: Development/Libraries
  74. Requires: %{name} = %{version}-%{release}
  75. %description -n %{name}-devel
  76. %{name}-devel provides the header files for the %{name}.
  77. %package -n ruby-goocanvas
  78. Summary: Ruby binding of GooCanvas
  79. Group: Development/Libraries
  80. Requires: ruby-gtk2 = %{version}-%{release}
  81. %description -n ruby-goocanvas
  82. Ruby/GooCanvas is a Ruby binding for GooCanvas
  83. %package -n ruby-gstreamer
  84. Summary: Ruby binding of GStreamer
  85. Group: Development/Libraries
  86. Requires: ruby-gtk3 = %{version}-%{release}
  87. %description -n ruby-gstreamer
  88. Ruby/GStreamer is a Ruby binding for GStreamer
  89. %package -n ruby-gtksourceview2
  90. Summary: Ruby binding of gtksourceview-2.x
  91. Summary(ja): Ruby の gtksourceview-2.x バインディング
  92. Group: Development/Libraries
  93. Requires: ruby-gtk2 = %{version}-%{release}
  94. %description -n ruby-gtksourceview2
  95. Ruby/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.
  96. %package -n ruby-gtksourceview3
  97. Summary: Ruby binding of gtksourceview-3.x
  98. Summary(ja): Ruby の gtksourceview-3.x バインディング
  99. Group: Development/Libraries
  100. Requires: ruby-gtk3 = %{version}-%{release}
  101. %description -n ruby-gtksourceview3
  102. Ruby/GtkSourceView3 is a Ruby binding of gtksourceview-3.x.
  103. %package -n ruby-poppler
  104. Summary: bindings for poppler for use with Ruby
  105. Summary(ja): Ruby から poppler を使う為のライブラリ
  106. Group: Development/Libraries
  107. License: LGPL
  108. Requires: ruby-gtk2 = %{version}-%{release}
  109. %description -n ruby-poppler
  110. Ruby/Poppler is a Ruby binding of poppler-glib.
  111. %package -n ruby-vte
  112. Summary: bindings for vte for use with Ruby
  113. Summary(ja): Ruby から vte を使う為のライブラリ
  114. Group: Development/Libraries
  115. License: LGPL
  116. Requires: ruby-gtk2 = %{version}-%{release}
  117. %description -n ruby-vte
  118. Ruby/VTE is a Ruby binding of VTE.
  119. %package -n ruby-vte3
  120. Summary: bindings for vte3 for use with Ruby
  121. Summary(ja): Ruby から vte3 を使う為のライブラリ
  122. Group: Development/Libraries
  123. License: LGPL
  124. Requires: ruby-gtk3 = %{version}-%{release}
  125. %description -n ruby-vte3
  126. Ruby/VTE3 is a Ruby binding of VTE3.
  127. %package -n ruby-rsvg2
  128. Summary: Ruby binding of librsvg2
  129. Summary(ja): Ruby の rsvg-2.x バインディング
  130. Group: Development/Libraries
  131. Requires: ruby-gtk2 = %{version}-%{release}
  132. %description -n ruby-rsvg2
  133. Ruby/RSVG is a Ruby binding of librsvg2.
  134. %prep
  135. %setup -q -n %{name}-all-%{version}
  136. for file in `find . -regex '.*/sample/.*\.rb'`
  137. do
  138. sed -e 's/^#! *\/usr\/local\/bin\/ruby/#!\/usr\/bin\/env ruby/' < $file > $file.mod
  139. mv $file.mod $file
  140. done
  141. %build
  142. %{ruby} extconf.rb --with-opt-include=%{rarchdir}
  143. make
  144. %install
  145. rm -rf $RPM_BUILD_ROOT
  146. make DESTDIR=$RPM_BUILD_ROOT \
  147. sitearchdir=$RPM_BUILD_ROOT%{rarchdir} \
  148. sitelibdir=$RPM_BUILD_ROOT%{rlibdir} install
  149. %clean
  150. rm -rf $RPM_BUILD_ROOT
  151. %files
  152. %defattr(-,root,root)
  153. %doc AUTHORS COPYING.LIB NEWS README
  154. %{rlibdir}/gnome2/
  155. %{rlibdir}/gnome2-raketask.rb
  156. %{rlibdir}/mkmf-gnome2.rb
  157. %files -n %{name}-devel
  158. %defattr(-,root,root)
  159. %{rarchdir}/*.h
  160. %files -n ruby-gtk2
  161. %defattr(-,root,root)
  162. %doc glib2/COPYING.LIB glib2/README glib2/sample
  163. %doc gdk_pixbuf2/COPYING.LIB gdk_pixbuf2/README gdk_pixbuf2/sample
  164. %doc gio2/COPYING.LIB gio2/README gio2/sample
  165. %doc gobject-introspection/COPYING.LIB
  166. %doc gobject-introspection/README gobject-introspection/sample
  167. %doc gtk2/COPYING.LIB gtk2/README gtk2/sample
  168. %doc pango/COPYING.LIB pango/README pango/sample
  169. %{rlibdir}/atk.rb
  170. %{rlibdir}/cairo-gobject.rb
  171. %{rlibdir}/gdk_pixbuf2.rb
  172. %{rlibdir}/glib2.rb
  173. %{rlibdir}/glib2/
  174. %{rlibdir}/gio2.rb
  175. %{rlibdir}/gio2/
  176. %{rlibdir}/glib-mkenums.rb
  177. %{rlibdir}/gobject-introspection/
  178. %{rlibdir}/gobject-introspection.rb
  179. %{rlibdir}/gtk2/
  180. %{rlibdir}/gtk2.rb
  181. %{rlibdir}/pango.rb
  182. %{rarchdir}/atk.so
  183. %{rarchdir}/cairo_gobject.so
  184. %{rarchdir}/gdk_pixbuf2.so
  185. %{rarchdir}/glib2.so
  186. %{rarchdir}/gio2.so
  187. %{rarchdir}/gobject_introspection.so
  188. %{rarchdir}/gtk2.so
  189. %{rarchdir}/pango.so
  190. %files -n ruby-gtk3
  191. %defattr(-,root,root)
  192. %doc gdk3/COPYING.LIB gdk3/README
  193. %doc gtk3/COPYING.LIB gtk3/README gtk3/sample
  194. %{rlibdir}/gdk3/
  195. %{rlibdir}/gdk3.rb
  196. %{rlibdir}/gtk3/
  197. %{rlibdir}/gtk3.rb
  198. %{rarchdir}/gdk3.so
  199. %{rarchdir}/gtk3.so
  200. %files -n ruby-goocanvas
  201. %defattr(-,root,root,-)
  202. %doc goocanvas/README
  203. %{rlibdir}/goo/
  204. %{rlibdir}/goocanvas.rb
  205. %{rarchdir}/goocanvas.so
  206. %files -n ruby-gstreamer
  207. %defattr(-,root,root,-)
  208. %doc gstreamer/COPYING.LIB gstreamer/sample
  209. %{rlibdir}/gst/
  210. %{rlibdir}/gst.rb
  211. %{rarchdir}/gstreamer.so
  212. %files -n ruby-gtksourceview2
  213. %defattr(-,root,root,-)
  214. %doc gtksourceview2/COPYING.LIB gtksourceview2/README gtksourceview2/sample
  215. %{rlibdir}/gtksourceview2.rb
  216. %{rarchdir}/gtksourceview2.so
  217. %files -n ruby-gtksourceview3
  218. %defattr(-,root,root,-)
  219. %doc gtksourceview3/COPYING.LIB gtksourceview3/README gtksourceview3/sample
  220. %{rlibdir}/gtksourceview3.rb
  221. %{rlibdir}/gtksourceview3/
  222. %{rarchdir}/gtksourceview3.so
  223. %files -n ruby-poppler
  224. %defattr(-,root,root)
  225. %doc poppler/COPYING.LIB poppler/README poppler/sample
  226. %{rlibdir}/poppler.rb
  227. %{rarchdir}/poppler.so
  228. %files -n ruby-vte
  229. %defattr(-,root,root)
  230. %doc vte/COPYING.LIB vte/README vte/sample
  231. %{rlibdir}/vte.rb
  232. %{rlibdir}/vte/
  233. %{rarchdir}/vte.so
  234. %files -n ruby-vte3
  235. %defattr(-,root,root)
  236. %doc vte3/COPYING.LIB vte3/README vte3/sample
  237. %{rlibdir}/vte3.rb
  238. %{rlibdir}/vte3/
  239. %{rarchdir}/vte3.so
  240. %files -n ruby-rsvg2
  241. %defattr(-,root,root)
  242. %doc rsvg2/COPYING.LIB rsvg2/README rsvg2/sample
  243. %{rlibdir}/rsvg2.rb
  244. %{rarchdir}/rsvg2.so
  245. %changelog
  246. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-2
  247. - rebuild with poppler-0.24.2
  248. * Sat Sep 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-1
  249. - new upstream release
  250. - fix BR
  251. - remove old patches
  252. - remove ruby-gtkglext, ruby-gtkmozembed, ruby-glade2 subpackages
  253. - add ruby-gtk3, ruby-gtksourceview3, ruby-vte3, ruby-rsvg2 subpackages
  254. * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19.3-3
  255. - rebuilt with poppler-0.16.3
  256. - added Patch15
  257. - added BuildRequires: goocanvas-devel
  258. * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.3-2
  259. - rebuild with poppler-0.14.2
  260. - add BuildRequires: ruby
  261. - change BuildRequires: gnome-panel-devel instead of gnome-panel
  262. - fix %files (add pkgconfig files)
  263. * Fri Mar 19 2010 IWAI, Masaharu <iwai@alib.jp> 0.19.3-1
  264. - new upstream release
  265. - drop gtkmozembed.patch (Patch15): upstream fixed
  266. - add BuildRequires:
  267. - gtksourceview-devel >= 1.0.1
  268. - gstreamer-plugins-base-devel
  269. - mesa-libGLU-devel
  270. - libXmu-devel
  271. * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.19.0-1
  272. - new upstream release
  273. - build with xulrunner-1.9.1
  274. * Sun Dec 14 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.18.1-2
  275. - rebuild with poppler-0.10.2
  276. * Sat Nov 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.1-1vl5
  277. - new upstream release
  278. - changed Group to Development/Libraries
  279. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.0-1vl5
  280. - applied new versioning policy
  281. - spec in UTF-8
  282. - new upstream release
  283. - added Patch14 from Fedora for building with xulrunner
  284. * Fri Dec 28 2007 Alex Lancaster <alexlan@fedoraproject.org> 0.16.0-21
  285. - Add xulrunner patch from bugzilla #402591
  286. - Rebuild against gecko-lib 1.9 (xulrunner)
  287. - dropped Patch20-23
  288. - new ruby-gstreaner, ruby-gtksourceview2 subpackage
  289. * Fri Aug 31 2007 Shu KONNO <owa@bg.wakwak.com> 0.16.0-0vl3
  290. - add Patch20: ruby-gnome2-all-0.16.0-rbglib_unicode.patch
  291. - add Patch21: ruby-gnome2-all-0.16.0-rbglib_maincontext.patch
  292. - add Patch22: ruby-gnome2-all-0.16.0-rbgobj_boxed.patch
  293. - add Patch23: ruby-gnome2-all-0.16.0-rbgtktreeiter.patch
  294. - set iffox is true if x86_64
  295. * Sun Jun 25 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.16.0-0vl2
  296. - upstream release
  297. - add BuildRequires: poppler-devel, vte-devel
  298. - add new packages: ruby-poppler, ruby-vte
  299. - add Obsoletes: ruby-libgda (no longer supported)
  300. - drop Patch10
  301. - add Requires: mozilla to ruby-gtkmozembed
  302. * Tue May 16 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.14.1-0vl5
  303. - rebuild with Ruby-1.8.4
  304. * Sat Apr 1 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.14.1-0vl4
  305. - rebuild with GNOME-2.14
  306. - change BuildRequires: from gstreamer-devel to gstreamer08-devel
  307. - change BuildRequires: from firefox-devel to mozilla-devel
  308. (Patch 10 is kept in package)
  309. * Sat Feb 25 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.14.1-0vl3
  310. - add Requires: ruby-gtk2 to ruby-gtkmozembed
  311. - add Requires: ruby-gnome2 to ruby-libglade2
  312. * Tue Feb 21 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.14.1-0vl2
  313. - added Patch10 (use firefox-devel instead of mozilla-devel)
  314. * Sat Feb 18 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.14.1-0vl1
  315. - upstream release
  316. - temporally remove ruby-libgda
  317. (libgda binding is not available with libgda-1.9.100-0vl1)
  318. * Sun Oct 30 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.14.0-0vl2
  319. - fix typo in Summary: of ruby-gtk2
  320. - add Requires: rcairo for ruby-gtk2
  321. - add BuildRequires: rcairo-devel to support rcairo
  322. * Sun Oct 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.14.0-0vl1
  323. - upstream release
  324. - add BuildRequires: mozilla-devel to build ruby-gtkmozembed
  325. * Sun Sep 4 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.13.0-0vl1
  326. - upstream release
  327. - change BuildRequires: kernel-headers to glibc-kernheaders
  328. * Mon May 9 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.12.0-0vl2
  329. - add gtkglext and libgda modules as independent VineSeedPlus package
  330. * Fri May 6 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.12.0-0vl1
  331. - catch up to upstream release
  332. - replace Patch10 with eqivalent C-shell script
  333. - replace BuildRequires
  334. - add new modules to ruby-gnome2
  335. - remove gtkglext modules (currently in VineSeedPlus)
  336. * Fri Nov 12 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.1-0vl3
  337. - rebuilt with newest gnome in VineSeed
  338. * Sun Sep 26 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.1-0vl2
  339. - remove ruby-libglade2's ruby-gnome2 dependency
  340. - temporarily removed libgda module (libgda is in VineSeedPlus)
  341. * Fri Mar 26 2004 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.9.1-0vl1
  342. - updated to newest upstream release
  343. - add ruby-gnome2-0.9.1-vine.patch for remove /usr/local/bin/ruby
  344. - add atk to ruby-gtk2 and libgda and gtkglext to ruby-gnome2
  345. - remove sentence for Imlib from description
  346. * Sun Dec 07 2003 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.8.1-0vl1
  347. - updated to newest upstream releas
  348. - added to kernel-headers and libgnomeui-devel in BuildPrereq
  349. - new subpackage ruby-gnome2-devel for header files
  350. * Fri Oct 10 2003 Satoshi MACHINO <machino@vinelinux.org> 0.7.0-0vl2
  351. - added to gstreamer-devel in BuildPrereq
  352. * Thu Oct 09 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.0-0vl1
  353. - updated to newest upstream release
  354. * Mon May 26 2003 Kazuhisa TAKEI <takei@vinelinux.org> 0.4.0-0vl6
  355. - add html_stream_close
  356. * Sun May 25 2003 Kazuhisa TAKEI <takei@vinelinux.org> 0.4.0-0vl5
  357. - fixed lack of HtmlStrem's free.
  358. * Sun May 25 2003 Kazuhisa TAKEI <takei@vinelinux.org> 0.4.0-0vl4
  359. - add html_stream_write.
  360. * Sun May 25 2003 Kazuhisa TAKEI <takei@vinelinux.org> 0.4.0-0vl3
  361. - add libgtkhtml2
  362. * Mon May 12 2003 kazuhisa TAKEI <takei@vinelinux.org> 0.4.0vl2
  363. - rebuild for new gtk2,gnome2
  364. * Fri Apr 11 2003 Kazuhisa TAKEI <takei@linux.or.jp> 0.4.0-0vl1
  365. - new upstream version
  366. * Wed Jan 1 2003 Kazuhisa TAKEI <takei@linux.or.jp> 0.2-0vl1
  367. - initial package for ruby-gnome2 based on ruby-gnme package.
  368. * Sat Sep 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.30-0vl1
  369. - updated to new upstream release
  370. - ruby-libgrade requires ruby-gnome
  371. * Fri Aug 02 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.29-0vl2
  372. - increased release number to avoid confusion between VinePlus and VineSeedPlus
  373. - put ruby-classbrowser-{%{gtk},gnome} to %%{_bindir}
  374. * Mon Jul 01 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.29-0vl1
  375. - updated to 0.29 upstream release
  376. - Patch0 removed
  377. - added forgottten %%clean section
  378. * Mon Jun 03 2002 Satoshi MACHINO <machino@vinelinux.org> 0.28-0vl1
  379. - updated ruby-gnome-0.28
  380. - dropped ruby-gnome-itemfactory.patch
  381. -- merged upstream
  382. - added ruby-gnome-0.28-extconf.patch
  383. -- To install gnome.rb
  384. * Wed May 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.27-0vl1
  385. - tons of changes since 0.27-0vl0 :)
  386. - now ruby-gtk and ruby-libglade are separated subpackages
  387. - files installed to rlibdir, NOT sitedir
  388. - added Obsoletes: gnome-ruby < %%{version}
  389. * Fri Apr 12 2002 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp>
  390. - First package.