Rev | Line | |
---|
[521] | 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 | |
---|
| 8 | Summary: Ruby library for The Visualization Toolkit(VTK) |
---|
| 9 | Summary(ja): The Visualization Toolkit(VTK) ¤Î¤¿¤á¤Î Ruby ¥é¥¤¥Ö¥é¥ê |
---|
| 10 | Name: %{name} |
---|
| 11 | Version: %{version} |
---|
| 12 | Release: %{release} |
---|
| 13 | Source0: %{name}-%{version}.tar.gz |
---|
| 14 | License: distributable |
---|
| 15 | Group: Development/Languages |
---|
| 16 | URL: http://www.gfd-dennou.org/arch/ruby/products/ruby-vtk/index-j.html |
---|
| 17 | |
---|
| 18 | Requires: vtk >= 4.4 |
---|
| 19 | BuildRequires: vtk, ruby-narray |
---|
| 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | This is the one-to-one wrapper of the Visualization Toolkit (VTK). |
---|
| 28 | The Visualization ToolKit (VTK) is an open source, freely available software system for 3D computer graphics, image processing. |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %desctiption -l ja |
---|
| 32 | ¤³¤ì¤Ï The Visualization ToolKit (VTK) ¤Î°ìÂаìÂбþ¤Î Ruby ¥é¥Ã¥Ñ¡¼¤Ç¤¹¡£ |
---|
| 33 | The Visualization ToolKit (VTK) ¤Ï¥ª¡¼¥×¥ó¥½¡¼¥¹¤Ç¼«Í³¤ËÍøÍѤǤ¤ë¡¢3D¥³¥ó¥Ô¥å¡¼¥¼¥°¥é¥Õ¥£¥Ã¥¯¥¹¤ª¤è¤Ó²èÁü½èÍý¥½¥Õ¥È¥¦¥§¥¢¡¼¤Ç¤¹¡£ |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | |
---|
| 39 | %setup -q |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %build |
---|
| 43 | ruby extconf.rb --with-vtk-include=/usr/include/vtk |
---|
| 44 | %__make |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | %makeinstall sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root) |
---|
| 58 | %doc README samples/ |
---|
| 59 | %{rlibdir}/vtk.rb |
---|
| 60 | %{rlibdir}/vtk/ |
---|
| 61 | %{rarchdir}/vtk/ |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %changelog |
---|
| 65 | * Sun May 29 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.2.0-0vl1 |
---|
| 66 | - source update |
---|
| 67 | * Tue Apr 12 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.1.2-0vl1 |
---|
| 68 | - source update |
---|
| 69 | * Sun Mar 20 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.1.1-0vl1 |
---|
| 70 | - initial build for Vine Linux |
---|
Note: See
TracBrowser
for help on using the repository browser.