rcairo-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. %define rlibdir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["rubylibdir"]')
  2. %define rarchdir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["archdir"]')
  3. Summary: Ruby binding for cairo
  4. Summary(ja): cairo の Ruby バインディング
  5. Name: rcairo
  6. Version: 1.14.1
  7. Release: 1%{?_dist_release}
  8. Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
  9. License: The same conditions as ruby
  10. Group: System Environment/Libraries
  11. URL: http://cairographics.org/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: ruby-devel >= 1.8.0
  14. BuildRequires: cairo-devel >= 1.2.0
  15. BuildRequires: ruby-pkg-config
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. Cairo is a 2D graphics library with support for multiple output devices.
  20. Currently supported output targets include the X Window System, win32, and
  21. image buffers. Experimental backends include OpenGL (through glitz), Quartz,
  22. XCB, PostScript and PDF file output.
  23. rcairo provides Ruby binding for cairo.
  24. %description -l ja
  25. cairo は 2D グラフィックスライブラリで,さまざまな出力デバイスをサポートして
  26. います.現在は,X Window System,Win32,イメージバッファをサポートしています.
  27. 実験的に OpenGL(glitz経由),Quartz,XCB,PostScript/PDF ファイルへの出力も
  28. サポートしています.
  29. rcairo は cairo の Ruby バインディングを供給します。
  30. %package devel
  31. Summary: The header file for rcairo
  32. Summary(ja): rcairo を用いた開発用のヘッダーファイル
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}
  35. %description devel
  36. The header file for rcairo
  37. %description devel -l ja
  38. rcairo を用いた開発用のヘッダーファイル
  39. %prep
  40. %setup -q
  41. %build
  42. %ruby extconf.rb
  43. %{__make}
  44. %install
  45. rm -rf ${RPM_BUILD_ROOT}
  46. %makeinstall sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} sitearchdir=${RPM_BUILD_ROOT}%{rarchdir}
  47. %clean
  48. rm -rf ${RPM_BUILD_ROOT}
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING ChangeLog GPL NEWS README samples
  52. %{rlibdir}/*.rb
  53. %{rlibdir}/cairo
  54. %{rarchdir}/*.so
  55. %files devel
  56. %defattr(-,root,root)
  57. %{rarchdir}/*.h
  58. %changelog
  59. * Fri Sep 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  60. - update to 1.14.1
  61. * Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.9-1
  62. - new upstream release
  63. * Sat Dec 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.6-2
  64. - rebuild with ruby-2.0.0.353
  65. * Sat Sep 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.6-1
  66. - new upstream release
  67. * Sun Jan 13 2013 IWAI, Masaharu <iwai@alib.jp> 1.12.2-1
  68. - new upstream release
  69. - add BuildRequires: ruby-pkg-config
  70. - build with ruby 1.9.3.362-6
  71. - Use RbConfig instead of obsolete and deprecated Config.
  72. * Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-2
  73. - rebuilt with new toolchains
  74. * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-1
  75. - new upstream release
  76. * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7.0-1
  77. - new upstream release
  78. - applied new versioning policy
  79. - removed BuildRequires: ruby-gnome2 (included pkg-config.rb)
  80. - spec in UTF-8
  81. * Sat Jun 30 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.5.0-0vl1
  82. - upstream release
  83. * Sat Mar 31 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.4.0-0vl2
  84. - upstream release
  85. - add BuildRequires: rugy-gnome2 (extconf.rb requires "pkg-config")
  86. CAUTION: circulated build dependency exists between ruby-gnome2 and rcairo
  87. - modify %%build and %%install scriptlet to cope with extconf.rb
  88. - add "%%{rlibdir}/cairo" subdirectory in %%files section
  89. * Sun Sep 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-0vl3
  90. - changed devel Group to Development/Libraries
  91. * Sat Feb 18 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.0-0vl2
  92. - rebuild
  93. * Sun Oct 30 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.0-0vl1
  94. - initial build for VineSeed