ruby-bsearch-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #%%define rlibdir ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]'
  2. Summary: a binary search library for Ruby
  3. Name: ruby-bsearch
  4. Version: 1.5
  5. Release: 1%{?_dist_release}
  6. License: Ruby's
  7. Group: Development/Libraries
  8. Source0: http://0xcc.net/ruby-bsearch/ruby-bsearch-%{version}.tar.gz
  9. URL: http://0xcc.net/ruby-bsearch/
  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/Bsearch is a binary search library for Ruby. It can search the FIRST or
  16. LAST occurrence in an array with a condition given by a block.
  17. %prep
  18. %setup -q
  19. %install
  20. rm -rf $RPM_BUILD_ROOT
  21. mkdir -p $RPM_BUILD_ROOT%{rlibdir}
  22. install -m 644 bsearch.rb $RPM_BUILD_ROOT%{rlibdir}
  23. %clean
  24. rm -rf ${RPM_BUILD_ROOT}
  25. %files
  26. %defattr(-,root,root)
  27. %doc ChangeLog bsearch.en.rd bsearch.ja.rd tests
  28. %{rlibdir}/bsearch.rb
  29. %changelog
  30. * Tue Sep 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-1
  31. - applied new versioning policy
  32. - updated Source0 URL, URL:
  33. * Wed Oct 08 2003 akira yamada <akira@vinelinux.org> 1.5-0vl4
  34. - rebuild with ruby-1.8.0.
  35. - Requires: libruby >= 1.8.0.
  36. - BuildRequires: ruby >= 1.8.0.
  37. - removed Prefix:. this package is not relocatable.
  38. * Fri Mar 21 2003 IWAI Masaharu <iwai@alib.jp> 1.5-0vl3
  39. - rebuild
  40. * Wed Feb 6 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.5-0vl2
  41. - moved the directory installed the ruby library
  42. - sitelibdir -> rubylibdir
  43. - changed rpm version in BuildRequires: 3.0.6-0vl19 -> rpm-3.0.6-0vl16
  44. * Wed Jan 2 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.5-0vl1
  45. - upstream release
  46. - first release for Vine Linux
  47. * Fri Oct 19 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  48. - 1.4-1
  49. - upstream release
  50. * Tue Sep 18 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  51. - 1.3-1
  52. - upstream release
  53. * Fri Sep 7 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  54. - 1.2-1
  55. - first release