ruby-romkan-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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: 2%{?_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. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. Ruby/Romkan is a Romaji <-> Kana conversion library for
  18. Ruby. It can convert a Japanese Romaji string to a Japanese
  19. Kana string or vice versa.
  20. %prep
  21. %setup -q
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. mkdir -p $RPM_BUILD_ROOT%{rlibdir}
  25. install -m 644 romkan.rb $RPM_BUILD_ROOT%{rlibdir}
  26. %clean
  27. rm -rf $RPM_BUILD_ROOT
  28. %files
  29. %defattr(-,root,root)
  30. %doc ChangeLog romkan.en.rd romkan.ja.rd test.rb test.sh
  31. %{rlibdir}/romkan.rb
  32. %changelog
  33. * Sun May 1 2011 IWAI, Masaharu <iwai@alib.jp> 0.4-2
  34. - add Vendor and Distribution tags
  35. * Tue Sep 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4-1
  36. - applied new versioning policy
  37. - updated Source0 URL, URL:
  38. * Wed Oct 08 2003 akira yamada <akira@vinelinux.org> 0.4-0vl3
  39. - rebuild with ruby-1.8.0
  40. - Requires: libruby >= 1.8.0
  41. - BuildRequires: ruby >= 1.8.0
  42. - removed Prefix:. this package is not relocatable.
  43. * Fri Mar 21 2003 IWAI Masaharu <iwai@alib.jp> 0.4-0vl2
  44. - rebuild
  45. * Sat Feb 16 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.4-0vl1
  46. - upstream release
  47. * Wed Feb 6 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.3-0vl2
  48. - moved the directory installed the ruby library
  49. - sitelibdir -> rubylibdir
  50. - changed rpm version in BuildRequires: 3.0.6-0vl19 -> rpm-3.0.6-0vl16
  51. * Wed Jan 2 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.3-0vl1
  52. - upstream release
  53. - first release for Vine Linux
  54. * Fri Sep 7 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  55. - 0.3-1
  56. - first release