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

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

import VineSeed package specs

Line 
1%define oname    intl
2%define ruby     /usr/bin/ruby
3%define rbindir  %(%{ruby} -r rbconfig -e 'print Config::CONFIG["bindir"]')
4%define rlibdir  %(%{ruby} -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
5%define rarchdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["archdir"]')
6
7Summary:      A wrapper for GNU gettext for use with Ruby
8Summary(ja):  Ruby ¤«¤é GNU gettext ¤ò°·¤¦¤¿¤á¤Î¥é¥¤¥Ö¥é¥ê
9Name:         ruby-%{oname}
10Version:      0.11
11Release:      0vl2
12License:      GPL
13Group:        Development/Libraries
14Source0:      ruby-%{oname}-%{version}.tar.gz
15URL:          http://www.page.sannet.ne.jp/hirata-naoto/ruby-e.html
16BuildRoot:    %{_tmppath}/%{name}-%{version}-root
17
18Distribution: Vine Linux
19Vendor:       Project Vine
20
21BuildPrereq:  ruby, ruby-devel >= 1.6.4-0vl3
22BuildPreReq:  gettext
23
24Requires:     ruby, gettext
25
26
27%description
28ruby-intl -- A wrapper of GNU gettext for ruby.
29
30%description -l ja
31ruby-intl ¤Ï GNU gettext ¤Î¥é¥Ã¥Ñ¡¼¥¯¥é¥¹¤Ç¤¹¡¥
32
33
34%prep
35%setup -q -n %{oname}
36echo "rbindir is " %{rbindir}
37echo "rlibdir is " %{rlibdir}
38echo "rarchdir is " %{rarchdir}
39
40
41%build
42%{ruby} extconf.rb
43make
44
45
46%install
47rm -rf %{buildroot}
48make sitearchdir=$RPM_BUILD_ROOT%{rarchdir} install
49
50
51%clean
52rm -rf %{buildroot}
53
54
55%files
56%defattr(-,root,root)
57%doc COPYING* ChangeLog README*
58%doc hello.rb ja.po
59
60%{rarchdir}/intl.so
61
62
63%changelog
64* Tue Dec 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.11-0vl2
65- rebuilt with ruby-1.8
66- changed Group:
67
68* Sun Aug 05 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
69- 0.11-0vl1
70- initial rpm package for VineSeedPlus
Note: See TracBrowser for help on using the repository browser.