ruby-bsearch-vl.spec 2.0 KB

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