ruby-bdb-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. %define srcname bdb
  2. Summary: Ruby binding for Berkeley DB
  3. Summary(ja): Berkeley DB の Ruby バインディング
  4. Name: ruby-%{srcname}
  5. Version: 0.6.5
  6. Release: 2%{?_dist_release}
  7. Source0: ftp://moulon.inra.fr/pub/ruby/%{srcname}-%{version}.tar.gz
  8. License: GPL
  9. Group: Development/Libraries
  10. URL: http://moulon.inra.fr/ruby/bdb.html
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: ruby ruby-devel
  13. BuildRequires: db4-devel >= 4.8
  14. Requires: ruby
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. This is an interface to Berkeley DB, distributed by Sleepycat
  19. (http://www.sleepycat.com/)
  20. %desctiption -l ja
  21. Ruby に Berkeley DB ライブラリへのインタフェースを提供する
  22. 拡張ライブラリです。
  23. %prep
  24. %setup -q -n %{srcname}-%{version}
  25. %build
  26. %{ruby} extconf.rb --with-db-version="-4.8 48"
  27. %{__make}
  28. %{__make} test
  29. %install
  30. rm -rf %{buildroot}
  31. %makeinstall sitearchdir=%{buildroot}%{rarchdir}
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root)
  36. %doc Changes README* bdb.* docs examples
  37. %{rarchdir}/*.so
  38. %changelog
  39. * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.5-2
  40. - rebuild with db4-4.8.x; spec fix
  41. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.5-1
  42. - new upstream release
  43. - built with db-4.6.21
  44. - applied new versioning policy
  45. - spec in UTF-8
  46. * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 0.6.0-0vl4
  47. - s|/usr/lib|%%{_libdir}| in install
  48. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-0vl3
  49. - remove Requires: db4
  50. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-0vl2
  51. - rebuilt for VineSeed
  52. - rebuilt with new db-4.3.29
  53. * Sat Jun 2 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-0vl1
  54. - new upstream release
  55. * Wed Nov 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.6-3vl2
  56. - rebuild for VineSeed
  57. * Wed Oct 23 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 0.5.6-3vl1
  58. - initial build for Vine Linux
  59. * Fri Jul 15 2005 Toru Hoshina <t@momonga-linux.org>
  60. - (0.5.6-3m)
  61. - /usr/lib/ruby
  62. * Sun Jun 11 2005 TABUCHI Takaaki <tab@momonga-linux.org>
  63. - (0.5.6-2m)
  64. - fixed missing directory name by tarball
  65. * Mon May 16 2005 Kazuhiko <kazuhiko@fdiary.net>
  66. - (0.5.6-1m)
  67. - initial import to Momonga