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

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

import VineSeed package specs

Line 
1%define rarchdir %(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]')
2
3Summary: Ruby module binding of ``KAKASI''
4Summary(ja): KAKASI を Ruby から用いるためのモジュール
5Name: ruby-kakasi
6Version: 020928
7Release: 1%{?_dist_release}
8License: Ruby's
9Group: Development/Libraries
10Source: http://www.notwork.org/~gotoken/ruby/p/kakasi/kakasi-%{version}.tar.gz
11
12BuildRoot: %{_tmppath}/%{name}-root
13BuildRequires: ruby ruby-devel kakasi-devel
14Requires: ruby kakasi
15
16%description
17This extension module is a Ruby binding of ``KAKASI'', which is
18developed by Hironobu Takahashi.  KAKASI is the language processing
19filter to convert Kanji characters to Hiragana, Katakana or Romaji
20and may be helpful to read Japanese documents.
21
22%description -l ja
23このモジュールは、高橋裕信さんの作成されたソフトウェアKAKASIをrubyから
24用いるためのものです。KAKASIとは漢字かなまじり文をひらがな文やローマ字
25文に変換することを目的として作成したプログラムと辞書の総称です。文字種
26(半角カナ等)や文字コードの変換も行えます。
27
28%prep
29%setup -q -n kakasi-%{version}
30
31%build
32ruby extconf.rb
33make
34
35%install
36rm -rf ${RPM_BUILD_ROOT}
37make sitearchdir=${RPM_BUILD_ROOT}%{rarchdir} install
38
39%clean
40rm -rf ${RPM_BUILD_ROOT}
41
42%files
43%defattr(-,root,root)
44%doc README README.jp ChangeLog wdcnt* test.rb
45%{rarchdir}/kakasi.so
46
47%changelog
48* Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 020928-1
49- applied new versioning policy
50- spec in UTF-8
51
52* Sat Aug 21 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 020928-0vl3
53- rebuild for Ruby 1.8
54- change make environment valuable 'sitearchdir' for install
55
56* Thu Oct 10 2002 UECHI Yasumasa <uh@u.dhis.portside.net> 020928-0vl1
57- 1st release
58
Note: See TracBrowser for help on using the repository browser.