|
@@ -4,14 +4,15 @@ Summary: Ruby binding for Berkeley DB
|
|
Summary(ja): Berkeley DB の Ruby バインディング
|
|
Summary(ja): Berkeley DB の Ruby バインディング
|
|
Name: ruby-%{srcname}
|
|
Name: ruby-%{srcname}
|
|
Version: 0.6.5
|
|
Version: 0.6.5
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
Source0: ftp://moulon.inra.fr/pub/ruby/%{srcname}-%{version}.tar.gz
|
|
Source0: ftp://moulon.inra.fr/pub/ruby/%{srcname}-%{version}.tar.gz
|
|
License: GPL
|
|
License: GPL
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
URL: http://moulon.inra.fr/ruby/bdb.html
|
|
URL: http://moulon.inra.fr/ruby/bdb.html
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: ruby ruby-devel db4-devel
|
|
+BuildRequires: ruby ruby-devel
|
|
|
|
+BuildRequires: db4-devel >= 4.8
|
|
Requires: ruby
|
|
Requires: ruby
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -30,20 +31,16 @@ Ruby に Berkeley DB ライブラリへのインタフェースを提供する
|
|
%setup -q -n %{srcname}-%{version}
|
|
%setup -q -n %{srcname}-%{version}
|
|
|
|
|
|
%build
|
|
%build
|
|
-%{ruby} extconf.rb
|
|
+%{ruby} extconf.rb --with-db-version="-4.8 48"
|
|
%{__make}
|
|
%{__make}
|
|
%{__make} test
|
|
%{__make} test
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+rm -rf %{buildroot}
|
|
-%ifarch x86_64
|
|
+%makeinstall sitearchdir=%{buildroot}%{rarchdir}
|
|
-%{__make} install sitedir=$RPM_BUILD_ROOT%{_libdir}/ruby
|
|
|
|
-%else
|
|
|
|
-%{__make} install sitedir=$RPM_BUILD_ROOT/usr/lib/ruby
|
|
|
|
-%endif
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
@@ -53,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.5-2
|
|
|
|
+- rebuild with db4-4.8.x; spec fix
|
|
|
|
+
|
|
* Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.5-1
|
|
* Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.5-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- built with db-4.6.21
|
|
- built with db-4.6.21
|