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