ruby-bdb-vl.spec 2.1 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: 1%{?_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 db4-devel
  13. Requires: ruby
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. This is an interface to Berkeley DB, distributed by Sleepycat
  18. (http://www.sleepycat.com/)
  19. %desctiption -l ja
  20. Ruby に Berkeley DB ライブラリへのインタフェースを提供する
  21. 拡張ライブラリです。
  22. %prep
  23. %setup -q -n %{srcname}-%{version}
  24. %build
  25. %{ruby} extconf.rb
  26. %{__make}
  27. %{__make} test
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. %ifarch x86_64
  31. %{__make} install sitedir=$RPM_BUILD_ROOT%{_libdir}/ruby
  32. %else
  33. %{__make} install sitedir=$RPM_BUILD_ROOT/usr/lib/ruby
  34. %endif
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root)
  39. %doc Changes README* bdb.* docs examples
  40. %{rarchdir}/*.so
  41. %changelog
  42. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.5-1
  43. - new upstream release
  44. - built with db-4.6.21
  45. - applied new versioning policy
  46. - spec in UTF-8
  47. * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 0.6.0-0vl4
  48. - s|/usr/lib|%%{_libdir}| in install
  49. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-0vl3
  50. - remove Requires: db4
  51. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-0vl2
  52. - rebuilt for VineSeed
  53. - rebuilt with new db-4.3.29
  54. * Sat Jun 2 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-0vl1
  55. - new upstream release
  56. * Wed Nov 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.6-3vl2
  57. - rebuild for VineSeed
  58. * Wed Oct 23 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 0.5.6-3vl1
  59. - initial build for Vine Linux
  60. * Fri Jul 15 2005 Toru Hoshina <t@momonga-linux.org>
  61. - (0.5.6-3m)
  62. - /usr/lib/ruby
  63. * Sun Jun 11 2005 TABUCHI Takaaki <tab@momonga-linux.org>
  64. - (0.5.6-2m)
  65. - fixed missing directory name by tarball
  66. * Mon May 16 2005 Kazuhiko <kazuhiko@fdiary.net>
  67. - (0.5.6-1m)
  68. - initial import to Momonga