source: projects/specs/trunk/r/rbogl/rbogl-vl.spec @ 521

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define ruby /usr/bin/ruby
2%define rarchdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["archdir"]')
3%define name rbogl
4
5Summary:  OpenGL Interface for ruby
6Summary(ja): OpenGLのRubyのための拡張モジュール
7Name: %{name}
8Version: 0.32g
9Release: 1%{?_dist_release}
10Source0: %{name}-%{version}.tar.gz
11Patch0: %{name}-vine.patch
12License: distributable
13Group: Development/Libraries
14URL:  http://www2.giganet.net/~yoshi/
15
16Requires: ruby
17BuildRequires: mesa-libGL-devel
18BuildRequires: mesa-libGLU-devel
19BuildRequires: freeglut-devel
20BuildRequires: ruby
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27This is a module to use OpenGL+glut in ruby.
28
29%description -l ja
30このモジュールはrubyからOpenGL+glutを使用するためのモジュールです。
31
32%prep
33%setup -q -n opengl-%{version}
34
35%patch0 -p1
36
37%build
38ruby extconf.rb
39%__make
40
41
42%install
43rm -rf $RPM_BUILD_ROOT
44%makeinstall sitelibdir=${RPM_BUILD_ROOT}%{rlibdir}
45
46rm -rf sample/.svn
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51
52%files
53%defattr(-,root,root)
54%doc COPYRIGHT ChangeLog README.EUC sample/
55%{rarchdir}/opengl.so
56%{rarchdir}/glut.so
57
58%changelog
59* Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32g-1vl5
60- applied new versioning policy
61- spec in UTF-8
62- updated build dependency
63
64* Fri Aug 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.32g-0vl3
65- fix typo in spec file
66- changed Group to Development/Libraries
67
68* Wed May 31 2006 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.32g-0vl2
69- add patch to change path of ruby in sample script
70- remove directory of sample/.svn
71
72* Tue May 30 2006 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.23g-0vl1
73- source update
74
75* Sun Mar 20 2005 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> 0.23f-0vl1
76- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.