%define major 6
%define libver %{major}.1
-%define ver %{libver}.26
+%define ver %{libver}.29
%define patchlevel 0
Summary: Berkeley DB database library for C
Summary(pl.UTF-8): Biblioteka C do obsługi baz Berkeley DB
Release: 1
License: AGPL v3
Group: Libraries
-#Source0Download: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
+#Source0Download: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index-082944.html
Source0: http://download.oracle.com/berkeley-db/db-%{ver}.tar.gz
-# Source0-md5: 9525aa57a282d49e5d1bf5e48ffa8a56
+# Source0-md5: 7f4d47302dfec698fe088e5285c9098e
Patch0: %{name}-sql-features.patch
+Patch1: %{name}-jbj13.patch
URL: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
BuildRequires: automake
%if %{with java}
%prep
%setup -q -n db-%{ver}
%patch0 -p1
+%patch1 -p1
%build
cp -f /usr/share/automake/config.sub dist
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/db%{libver}_archive
%attr(755,root,root) %{_bindir}/db%{libver}_checkpoint
+%attr(755,root,root) %{_bindir}/db%{libver}_convert
%attr(755,root,root) %{_bindir}/db%{libver}_deadlock
%attr(755,root,root) %{_bindir}/db%{libver}_dump
%attr(755,root,root) %{_bindir}/db%{libver}_hotbackup