rcairo-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. %define rlibdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
  2. %define rarchdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["archdir"]')
  3. Summary: Ruby binding for cairo
  4. Summary(ja): cairo の Ruby バインディング
  5. Name: rcairo
  6. Version: 1.8.0
  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. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Cairo is a 2D graphics library with support for multiple output devices.
  19. Currently supported output targets include the X Window System, win32, and
  20. image buffers. Experimental backends include OpenGL (through glitz), Quartz,
  21. XCB, PostScript and PDF file output.
  22. rcairo provides Ruby binding for cairo.
  23. %description -l ja
  24. cairo は 2D グラフィックスライブラリで,さまざまな出力デバイスをサポートして
  25. います.現在は,X Window System,Win32,イメージバッファをサポートしています.
  26. 実験的に OpenGL(glitz経由),Quartz,XCB,PostScript/PDF ファイルへの出力も
  27. サポートしています.
  28. rcairo は cairo の Ruby バインディングを供給します。
  29. %package devel
  30. Summary: The header file for rcairo
  31. Summary(ja): rcairo を用いた開発用のヘッダーファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}
  34. %description devel
  35. The header file for rcairo
  36. %description devel -l ja
  37. rcairo を用いた開発用のヘッダーファイル
  38. %prep
  39. %setup -q
  40. %build
  41. %ruby ./extconf.rb
  42. %{__make}
  43. %install
  44. rm -rf ${RPM_BUILD_ROOT}
  45. %makeinstall sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} sitearchdir=${RPM_BUILD_ROOT}%{rarchdir}
  46. %clean
  47. rm -rf ${RPM_BUILD_ROOT}
  48. %files
  49. %defattr(-,root,root)
  50. %doc AUTHORS COPYING ChangeLog GPL NEWS README samples
  51. %{rlibdir}/*.rb
  52. %{rlibdir}/cairo
  53. %{rarchdir}/*.so
  54. %files devel
  55. %defattr(-,root,root)
  56. %{rarchdir}/*.h
  57. %changelog
  58. * Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-1
  59. - new upstream release
  60. * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7.0-1
  61. - new upstream release
  62. - applied new versioning policy
  63. - removed BuildRequires: ruby-gnome2 (included pkg-config.rb)
  64. - spec in UTF-8
  65. * Sat Jun 30 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.5.0-0vl1
  66. - upstream release
  67. * Sat Mar 31 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.4.0-0vl2
  68. - upstream release
  69. - add BuildRequires: rugy-gnome2 (extconf.rb requires "pkg-config")
  70. CAUTION: circulated build dependency exists between ruby-gnome2 and rcairo
  71. - modify %%build and %%install scriptlet to cope with extconf.rb
  72. - add "%%{rlibdir}/cairo" subdirectory in %%files section
  73. * Sun Sep 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-0vl3
  74. - changed devel Group to Development/Libraries
  75. * Sat Feb 18 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.0-0vl2
  76. - rebuild
  77. * Sun Oct 30 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.0-0vl1
  78. - initial build for VineSeed