update to 18.1.40 [release 18.1.40-1mamba;Thu Jun 02 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:39:25 +01:00
parent 49b75d75cb
commit a4b6d77718

20
db.spec
View File

@ -2,24 +2,26 @@
%define MAJver %(echo %version | cut -d . -f1)
%define majvershort %(echo %version | cut -d . -f1-2 | tr -d .)
Name: db
Version: 6.2.32
Version: 18.1.40
Release: 1mamba
Summary: The Berkeley DB database library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.oracle.com/technology/products/berkeley-db/index.html
URL: https://www.oracle.com/database/technologies/related/berkeleydb-downloads.html
Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
#Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
Patch2: db4-jni-casting.diff
# from http://www.stanford.edu/services/directory/openldap/configuration/patches/db/
Patch3: bdb-transactions.diff
Patch4: btree.diff
Patch5: java.diff
License: GPL
License: Affero GNU Public License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%if "%{stage1}" != "1"
@ -27,7 +29,6 @@ BuildRequires: jpackage-utils
BuildRequires: jdk
%endif
BuildRequires: sharutils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides embedded database support for both traditional and client/server applications.
@ -80,10 +81,11 @@ Requires: lib%{name} = %{version}-%{release}
%description -n lib%{name}-java
Java bindings for the Berkeley DB library.
%prep
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%debug_package
%prep
%setup -q -n db-%{version}
mkdir docs/{bdb-sql,gsg_db_server}
%build
cd build_unix
@ -99,6 +101,7 @@ esac
JAVA_HOME=%{_jvmdir}/jdk/ \
../dist/configure \
--prefix=%{_prefix} \
--docdir=%{_docdir}/db \
--libdir=%{_libdir} \
--datadir=%{_datadir} \
--includedir=%{_includedir}/%{name} \
@ -189,6 +192,9 @@ mv %{buildroot}%{_libdir}/*.jar %{buildroot}%{_datadir}/java/
%endif
%changelog
* Thu Jun 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 18.1.40-1mamba
- update to 18.1.40
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 6.2.32-1mamba
- automatic version update by autodist
@ -292,7 +298,7 @@ mv %{buildroot}%{_libdir}/*.jar %{buildroot}%{_datadir}/java/
* Fri May 07 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.25-6qilnx
- rebuild with --enable-compat185
* Tue Sep 15 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.25-5qilnx
* Mon Sep 15 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.25-5qilnx
- Added symlink /usr/include/db.h so that db4 is system default version
* Tue Sep 09 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.25-4qilnx