ruby-romkan-vl.spec 2.1 KB

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