ruby-romkan-vl.spec 1.8 KB

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