[521] | 1 | #%%define rlibdir ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]' |
---|
| 2 | |
---|
| 3 | Summary: a Romaji <-> Kana conversion library for Ruby |
---|
| 4 | Name: ruby-romkan |
---|
| 5 | Version: 0.4 |
---|
[3760] | 6 | Release: 2%{?_dist_release} |
---|
[521] | 7 | License: Ruby's |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | Source0: http://0xcc.net/ruby-romkan/ruby-romkan-%{version}.tar.gz |
---|
| 10 | URL: http://0xcc.net/ruby-romkan/ |
---|
| 11 | BuildArch: noarch |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | Requires: libruby >= 1.8.0 |
---|
| 14 | BuildRequires: ruby >= 1.8.0, rpm >= 3.0.6-0vl16 |
---|
| 15 | |
---|
[3760] | 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
| 18 | |
---|
[521] | 19 | %description |
---|
| 20 | Ruby/Romkan is a Romaji <-> Kana conversion library for |
---|
| 21 | Ruby. It can convert a Japanese Romaji string to a Japanese |
---|
| 22 | Kana string or vice versa. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q |
---|
| 26 | |
---|
| 27 | %install |
---|
| 28 | rm -rf $RPM_BUILD_ROOT |
---|
| 29 | mkdir -p $RPM_BUILD_ROOT%{rlibdir} |
---|
| 30 | install -m 644 romkan.rb $RPM_BUILD_ROOT%{rlibdir} |
---|
| 31 | |
---|
| 32 | %clean |
---|
| 33 | rm -rf $RPM_BUILD_ROOT |
---|
| 34 | |
---|
| 35 | %files |
---|
| 36 | %defattr(-,root,root) |
---|
| 37 | %doc ChangeLog romkan.en.rd romkan.ja.rd test.rb test.sh |
---|
| 38 | %{rlibdir}/romkan.rb |
---|
| 39 | |
---|
| 40 | %changelog |
---|
[3760] | 41 | * Sun May 1 2011 IWAI, Masaharu <iwai@alib.jp> 0.4-2 |
---|
| 42 | - add Vendor and Distribution tags |
---|
| 43 | |
---|
[521] | 44 | * Tue Sep 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4-1 |
---|
| 45 | - applied new versioning policy |
---|
| 46 | - updated Source0 URL, URL: |
---|
| 47 | |
---|
| 48 | * Wed Oct 08 2003 akira yamada <akira@vinelinux.org> 0.4-0vl3 |
---|
| 49 | - rebuild with ruby-1.8.0 |
---|
| 50 | - Requires: libruby >= 1.8.0 |
---|
| 51 | - BuildRequires: ruby >= 1.8.0 |
---|
| 52 | - removed Prefix:. this package is not relocatable. |
---|
| 53 | |
---|
| 54 | * Fri Mar 21 2003 IWAI Masaharu <iwai@alib.jp> 0.4-0vl2 |
---|
| 55 | - rebuild |
---|
| 56 | |
---|
| 57 | * Sat Feb 16 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.4-0vl1 |
---|
| 58 | - upstream release |
---|
| 59 | |
---|
| 60 | * Wed Feb 6 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.3-0vl2 |
---|
| 61 | - moved the directory installed the ruby library |
---|
| 62 | - sitelibdir -> rubylibdir |
---|
| 63 | - changed rpm version in BuildRequires: 3.0.6-0vl19 -> rpm-3.0.6-0vl16 |
---|
| 64 | |
---|
| 65 | * Wed Jan 2 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.3-0vl1 |
---|
| 66 | - upstream release |
---|
| 67 | - first release for Vine Linux |
---|
| 68 | |
---|
| 69 | * Fri Sep 7 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> |
---|
| 70 | - 0.3-1 |
---|
| 71 | - first release |
---|