ruby-vtk-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. %define ruby /usr/bin/ruby
  2. %define rlibdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
  3. %define rarchdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["archdir"]')
  4. %define name ruby-vtk
  5. %define version 0.2.0
  6. %define release 0vl1
  7. Summary: Ruby library for The Visualization Toolkit(VTK)
  8. Summary(ja): The Visualization Toolkit(VTK) のための Ruby ライブラリ
  9. Name: %{name}
  10. Version: %{version}
  11. Release: %{release}
  12. Source0: %{name}-%{version}.tar.gz
  13. License: distributable
  14. Group: Development/Languages
  15. URL: http://www.gfd-dennou.org/arch/ruby/products/ruby-vtk/index-j.html
  16. Requires: vtk >= 4.4
  17. BuildRequires: vtk, ruby-narray
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. This is the one-to-one wrapper of the Visualization Toolkit (VTK).
  23. The Visualization ToolKit (VTK) is an open source, freely available software system for 3D computer graphics, image processing.
  24. %desctiption -l ja
  25. これは The Visualization ToolKit (VTK) の一対一対応の Ruby ラッパーです。
  26. The Visualization ToolKit (VTK) はオープンソースで自由に利用できる、3Dコンピューゼグラフィックスおよび画像処理ソフトウェアーです。
  27. %prep
  28. %setup -q
  29. %build
  30. ruby extconf.rb --with-vtk-include=/usr/include/vtk
  31. %__make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. %makeinstall sitelibdir=${RPM_BUILD_ROOT}%{rlibdir}
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root)
  39. %doc README samples/
  40. %{rlibdir}/vtk.rb
  41. %{rlibdir}/vtk/
  42. %{rarchdir}/vtk/
  43. %changelog
  44. * Sun May 29 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.2.0-0vl1
  45. - source update
  46. * Tue Apr 12 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.1.2-0vl1
  47. - source update
  48. * Sun Mar 20 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.1.1-0vl1
  49. - initial build for Vine Linux