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