| Rev | Line | |
|---|
| [521] | 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 | |
|---|
| 7 | Summary: A wrapper for GNU gettext for use with Ruby |
|---|
| 8 | Summary(ja): Ruby ¤«¤é GNU gettext ¤ò°·¤¦¤¿¤á¤Î¥é¥¤¥Ö¥é¥ê |
|---|
| 9 | Name: ruby-%{oname} |
|---|
| 10 | Version: 0.11 |
|---|
| 11 | Release: 0vl2 |
|---|
| 12 | License: GPL |
|---|
| 13 | Group: Development/Libraries |
|---|
| 14 | Source0: ruby-%{oname}-%{version}.tar.gz |
|---|
| 15 | URL: http://www.page.sannet.ne.jp/hirata-naoto/ruby-e.html |
|---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 17 | |
|---|
| 18 | Distribution: Vine Linux |
|---|
| 19 | Vendor: Project Vine |
|---|
| 20 | |
|---|
| 21 | BuildPrereq: ruby, ruby-devel >= 1.6.4-0vl3 |
|---|
| 22 | BuildPreReq: gettext |
|---|
| 23 | |
|---|
| 24 | Requires: ruby, gettext |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | %description |
|---|
| 28 | ruby-intl -- A wrapper of GNU gettext for ruby. |
|---|
| 29 | |
|---|
| 30 | %description -l ja |
|---|
| 31 | ruby-intl ¤Ï GNU gettext ¤Î¥é¥Ã¥Ñ¡¼¥¯¥é¥¹¤Ç¤¹¡¥ |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | %prep |
|---|
| 35 | %setup -q -n %{oname} |
|---|
| 36 | echo "rbindir is " %{rbindir} |
|---|
| 37 | echo "rlibdir is " %{rlibdir} |
|---|
| 38 | echo "rarchdir is " %{rarchdir} |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | %build |
|---|
| 42 | %{ruby} extconf.rb |
|---|
| 43 | make |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %install |
|---|
| 47 | rm -rf %{buildroot} |
|---|
| 48 | make sitearchdir=$RPM_BUILD_ROOT%{rarchdir} install |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | %clean |
|---|
| 52 | rm -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.