2010-04-21 04:53:25 +00:00
|
|
|
%define __soversion_major 5
|
2012-03-20 10:40:24 +00:00
|
|
|
%define __soversion %{__soversion_major}.3
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
Summary: The Berkeley DB database library for C
|
|
|
|
Name: libdb
|
2013-10-08 13:03:14 +00:00
|
|
|
Version: 5.3.28
|
2015-06-17 15:06:29 +00:00
|
|
|
Release: 13%{?dist}
|
2010-04-21 04:53:25 +00:00
|
|
|
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
|
|
|
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
2013-05-28 15:28:46 +00:00
|
|
|
# For mt19937db.c
|
|
|
|
Source2: http://www.gnu.org/licenses/lgpl-2.1.txt
|
2012-04-21 07:25:27 +00:00
|
|
|
Patch0: libdb-multiarch.patch
|
2010-04-21 04:53:25 +00:00
|
|
|
# db-1.85 upstream patches
|
|
|
|
Patch10: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.1
|
|
|
|
Patch11: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.2
|
|
|
|
Patch12: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.3
|
|
|
|
Patch13: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.4
|
|
|
|
# other patches
|
|
|
|
Patch20: db-1.85-errno.patch
|
|
|
|
Patch22: db-4.6.21-1.85-compat.patch
|
|
|
|
Patch24: db-4.5.20-jni-include-dir.patch
|
2013-05-09 15:33:30 +00:00
|
|
|
# License clarification patch
|
|
|
|
# http://devel.trisquel.info/gitweb/?p=package-helpers.git;a=blob;f=helpers/DATA/db4.8/007-mt19937db.c_license.patch;h=1036db4d337ce4c60984380b89afcaa63b2ef88f;hb=df48d40d3544088338759e8bea2e7f832a564d48
|
|
|
|
Patch25: 007-mt19937db.c_license.patch
|
2014-07-14 11:35:12 +00:00
|
|
|
#Adds missing constant to Optcodes.java and changes ClassReader.java to use it. This makes package to build with Java 8.
|
|
|
|
Patch26: java8-fix.patch
|
2015-05-19 09:13:28 +00:00
|
|
|
# memp_stat fix provided by upstream (rhbz#1211871)
|
|
|
|
Patch27: db-5.3.21-memp_stat-upstream-fix.patch
|
2014-07-14 11:35:12 +00:00
|
|
|
|
2010-04-21 04:53:25 +00:00
|
|
|
URL: http://www.oracle.com/database/berkeley-db/
|
2013-10-08 13:03:14 +00:00
|
|
|
License: BSD and LGPLv2 and Sleepycat
|
2010-04-21 04:53:25 +00:00
|
|
|
Group: System Environment/Libraries
|
2012-05-06 15:45:55 +00:00
|
|
|
BuildRequires: perl libtool
|
2010-04-21 04:53:25 +00:00
|
|
|
BuildRequires: tcl-devel >= 8.5.2-3
|
2012-02-17 19:52:02 +00:00
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
2010-04-21 04:53:25 +00:00
|
|
|
BuildRequires: chrpath
|
2014-06-10 10:04:15 +00:00
|
|
|
BuildRequires: zlib-devel
|
2012-01-25 20:12:27 +00:00
|
|
|
Conflicts: filesystem < 3
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
|
used by many applications, including Python and Perl, so this should
|
|
|
|
be installed on all systems.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Command line tools for managing Berkeley DB databases
|
|
|
|
Group: Applications/Databases
|
2012-05-06 15:45:55 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
%description utils
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. Berkeley DB includes B+tree, Extended
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
recovery. DB supports C, C++, Java and Perl APIs.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: C development files for the Berkeley DB library
|
|
|
|
Group: Development/Libraries
|
2012-05-06 15:45:55 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the header files,
|
|
|
|
libraries, and documentation for building programs which use the
|
|
|
|
Berkeley DB.
|
|
|
|
|
2011-06-15 04:55:15 +00:00
|
|
|
%package devel-doc
|
|
|
|
Summary: C development documentation files for the Berkeley DB library
|
2012-05-06 15:45:55 +00:00
|
|
|
Group: Documentation
|
2011-06-15 04:55:15 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
2012-05-06 15:45:55 +00:00
|
|
|
BuildArch: noarch
|
2011-06-15 04:55:15 +00:00
|
|
|
|
|
|
|
%description devel-doc
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the header files,
|
|
|
|
libraries, and documentation for building programs which use the
|
|
|
|
Berkeley DB.
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%package devel-static
|
2010-04-21 04:53:25 +00:00
|
|
|
Summary: Berkeley DB static libraries
|
|
|
|
Group: Development/Libraries
|
2012-05-06 15:45:55 +00:00
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%description devel-static
|
2010-04-21 04:53:25 +00:00
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains static libraries
|
|
|
|
needed for applications that require static linking of
|
|
|
|
Berkeley DB.
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%package cxx
|
|
|
|
Summary: The Berkeley DB database library for C++
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description cxx
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
|
used by many applications, including Python and Perl, so this should
|
|
|
|
be installed on all systems.
|
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%package cxx-devel
|
|
|
|
Summary: The Berkeley DB database library for C++
|
|
|
|
Group: System Environment/Libraries
|
2012-07-03 06:53:10 +00:00
|
|
|
Requires: %{name}-cxx%{?_isa} = %{version}-%{release}
|
2012-07-03 09:58:09 +00:00
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2010-09-12 10:18:19 +00:00
|
|
|
|
|
|
|
%description cxx-devel
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
|
used by many applications, including Python and Perl, so this should
|
|
|
|
be installed on all systems.
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%package tcl
|
|
|
|
Summary: Development files for using the Berkeley DB with tcl
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description tcl
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
for building programs which use the Berkeley DB in Tcl.
|
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%package tcl-devel
|
2010-04-21 04:53:25 +00:00
|
|
|
Summary: Development files for using the Berkeley DB with tcl
|
|
|
|
Group: Development/Libraries
|
2012-07-03 06:53:10 +00:00
|
|
|
Requires: %{name}-tcl%{?_isa} = %{version}-%{release}
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%description tcl-devel
|
2010-04-21 04:53:25 +00:00
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
for building programs which use the Berkeley DB in Tcl.
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%package sql
|
|
|
|
Summary: Development files for using the Berkeley DB with sql
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description sql
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
for building programs which use the Berkeley DB in SQL.
|
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%package sql-devel
|
2010-04-21 04:53:25 +00:00
|
|
|
Summary: Development files for using the Berkeley DB with sql
|
|
|
|
Group: Development/Libraries
|
2012-07-03 06:53:10 +00:00
|
|
|
Requires: %{name}-sql%{?_isa} = %{version}-%{release}
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%description sql-devel
|
2010-04-21 04:53:25 +00:00
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
for building programs which use the Berkeley DB in SQL.
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%package java
|
|
|
|
Summary: Development files for using the Berkeley DB with Java
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description java
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
for building programs which use the Berkeley DB in Java.
|
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%package java-devel
|
2010-04-21 04:53:25 +00:00
|
|
|
Summary: Development files for using the Berkeley DB with Java
|
|
|
|
Group: Development/Libraries
|
2012-07-03 06:53:10 +00:00
|
|
|
Requires: %{name}-java%{?_isa} = %{version}-%{release}
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%description java-devel
|
2010-04-21 04:53:25 +00:00
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
for building programs which use the Berkeley DB in Java.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n db-%{version} -a 1
|
2013-05-28 15:28:46 +00:00
|
|
|
cp %{SOURCE2} .
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-04-21 07:25:27 +00:00
|
|
|
%patch0 -p1 -b .multiarch
|
2010-04-21 04:53:25 +00:00
|
|
|
pushd db.1.85/PORT/linux
|
|
|
|
%patch10 -p0 -b .1.1
|
|
|
|
popd
|
|
|
|
pushd db.1.85
|
|
|
|
%patch11 -p0 -b .1.2
|
|
|
|
%patch12 -p0 -b .1.3
|
|
|
|
%patch13 -p0 -b .1.4
|
|
|
|
%patch20 -p1 -b .errno
|
|
|
|
popd
|
|
|
|
|
|
|
|
%patch22 -p1 -b .185compat
|
|
|
|
%patch24 -p1 -b .4.5.20.jni
|
2013-05-09 15:33:30 +00:00
|
|
|
%patch25 -p1 -b .licensefix
|
2014-07-14 11:35:12 +00:00
|
|
|
%patch26 -p1 -b .java8-fix
|
2015-05-19 09:13:28 +00:00
|
|
|
%patch27 -p1 -b .memp_stat-fix
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
cd dist
|
|
|
|
./s_config
|
2013-11-06 09:23:00 +00:00
|
|
|
cd ..
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
%build
|
2013-04-03 08:49:29 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/"
|
|
|
|
export CFLAGS
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
# Build the old db-185 libraries.
|
|
|
|
make -C db.1.85/PORT/%{_os} OORG="$CFLAGS"
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
test -d dist/dist-tls || mkdir dist/dist-tls
|
|
|
|
# Static link db_dump185 with old db-185 libraries.
|
2012-07-14 16:41:07 +00:00
|
|
|
/bin/sh libtool --tag=CC --mode=compile %{__cc} $RPM_OPT_FLAGS -Idb.1.85/PORT/%{_os}/include -D_REENTRANT -c util/db_dump185.c -o dist/dist-tls/db_dump185.lo
|
|
|
|
/bin/sh libtool --tag=LD --mode=link %{__cc} -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a
|
2012-05-06 15:45:55 +00:00
|
|
|
|
2014-02-23 01:32:08 +00:00
|
|
|
# Update config files to understand aarch64
|
|
|
|
for dir in dist lang/sql/sqlite lang/sql/jdbc lang/sql/odbc; do
|
|
|
|
cp /usr/lib/rpm/redhat/config.{guess,sub} "$dir"
|
|
|
|
done
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
pushd dist/dist-tls
|
2014-01-26 21:49:39 +00:00
|
|
|
%define _configure ../configure
|
2013-03-27 16:50:05 +00:00
|
|
|
%configure -C \
|
2012-05-06 15:45:55 +00:00
|
|
|
--enable-compat185 --enable-dump185 \
|
|
|
|
--enable-shared --enable-static \
|
|
|
|
--enable-tcl --with-tcl=%{_libdir} \
|
|
|
|
--enable-cxx --enable-sql \
|
|
|
|
--enable-java \
|
|
|
|
--enable-test \
|
|
|
|
--disable-rpath \
|
2014-06-10 10:04:15 +00:00
|
|
|
--with-tcl=%{_libdir}/tcl8.6
|
2012-05-06 15:45:55 +00:00
|
|
|
|
|
|
|
# Remove libtool predep_objects and postdep_objects wonkiness so that
|
|
|
|
# building without -nostdlib doesn't include them twice. Because we
|
|
|
|
# already link with g++, weird stuff happens if you don't let the
|
|
|
|
# compiler handle this.
|
|
|
|
perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool
|
|
|
|
perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool
|
|
|
|
perl -pi -e 's/-shared -nostdlib/-shared/' libtool
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
# XXX hack around libtool not creating ./libs/libdb_java-X.Y.lai
|
|
|
|
LDBJ=./.libs/libdb_java-%{__soversion}.la
|
|
|
|
if test -f ${LDBJ} -a ! -f ${LDBJ}i; then
|
|
|
|
sed -e 's,^installed=no,installed=yes,' < ${LDBJ} > ${LDBJ}i
|
|
|
|
fi
|
|
|
|
popd
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
|
|
|
|
2013-05-16 11:26:21 +00:00
|
|
|
%makeinstall STRIP=/bin/true -C dist/dist-tls
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
# XXX Nuke non-versioned archives and symlinks
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_tcl.a,libdb_sql.a}
|
|
|
|
|
|
|
|
chmod +x ${RPM_BUILD_ROOT}%{_libdir}/*.so*
|
|
|
|
|
|
|
|
# Move the header files to a subdirectory, in case we're deploying on a
|
|
|
|
# system with multiple versions of DB installed.
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/%{name}
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_includedir}/*.h ${RPM_BUILD_ROOT}%{_includedir}/%{name}/
|
|
|
|
|
|
|
|
# Create symlinks to includes so that "use <db.h> and link with -ldb" works.
|
|
|
|
for i in db.h db_cxx.h db_185.h; do
|
|
|
|
ln -s %{name}/$i ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
done
|
|
|
|
|
|
|
|
# Move java jar file to the correct place
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/java
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_libdir}/*.jar ${RPM_BUILD_ROOT}%{_datadir}/java
|
|
|
|
|
|
|
|
# Eliminate installed doco
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/docs
|
|
|
|
|
|
|
|
# XXX Avoid Permission denied. strip when building as non-root.
|
|
|
|
chmod u+w ${RPM_BUILD_ROOT}%{_bindir} ${RPM_BUILD_ROOT}%{_bindir}/*
|
|
|
|
|
|
|
|
# remove unneeded .la files (#225675)
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
|
|
|
|
|
|
|
# remove RPATHs
|
|
|
|
chrpath -d ${RPM_BUILD_ROOT}%{_libdir}/*.so ${RPM_BUILD_ROOT}%{_bindir}/*
|
|
|
|
|
2011-06-15 04:55:15 +00:00
|
|
|
# unify documentation and examples, remove stuff we don't need
|
|
|
|
rm -rf docs/csharp
|
|
|
|
rm -rf examples/csharp
|
|
|
|
rm -rf docs/installation
|
|
|
|
mv examples docs
|
|
|
|
|
2010-04-21 04:53:25 +00:00
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%post -p /sbin/ldconfig cxx
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%postun -p /sbin/ldconfig cxx
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%post -p /sbin/ldconfig sql
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%postun -p /sbin/ldconfig sql
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%post -p /sbin/ldconfig tcl
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%postun -p /sbin/ldconfig tcl
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%post -p /sbin/ldconfig java
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%postun -p /sbin/ldconfig java
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2014-07-17 18:29:48 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license LICENSE lgpl-2.1.txt
|
|
|
|
%doc README
|
2010-04-21 04:53:25 +00:00
|
|
|
%{_libdir}/libdb-%{__soversion}.so
|
2012-05-06 15:45:55 +00:00
|
|
|
%{_libdir}/libdb-%{__soversion_major}.so
|
2010-04-21 04:53:25 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdb.so
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}/db.h
|
|
|
|
%{_includedir}/%{name}/db_185.h
|
|
|
|
%{_includedir}/db.h
|
|
|
|
%{_includedir}/db_185.h
|
|
|
|
|
2011-06-15 04:55:15 +00:00
|
|
|
%files devel-doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/*
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%files devel-static
|
2010-04-21 04:53:25 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdb-%{__soversion}.a
|
|
|
|
%{_libdir}/libdb_cxx-%{__soversion}.a
|
|
|
|
%{_libdir}/libdb_tcl-%{__soversion}.a
|
|
|
|
%{_libdir}/libdb_sql-%{__soversion}.a
|
|
|
|
%{_libdir}/libdb_java-%{__soversion}.a
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/db*_archive
|
|
|
|
%{_bindir}/db*_checkpoint
|
|
|
|
%{_bindir}/db*_deadlock
|
|
|
|
%{_bindir}/db*_dump*
|
|
|
|
%{_bindir}/db*_hotbackup
|
|
|
|
%{_bindir}/db*_load
|
|
|
|
%{_bindir}/db*_printlog
|
|
|
|
%{_bindir}/db*_recover
|
|
|
|
%{_bindir}/db*_replicate
|
|
|
|
%{_bindir}/db*_stat
|
|
|
|
%{_bindir}/db*_upgrade
|
|
|
|
%{_bindir}/db*_verify
|
|
|
|
%{_bindir}/db*_tuner
|
|
|
|
|
|
|
|
%files cxx
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdb_cxx-%{__soversion}.so
|
|
|
|
%{_libdir}/libdb_cxx-%{__soversion_major}.so
|
|
|
|
|
2011-06-15 04:55:15 +00:00
|
|
|
%files cxx-devel
|
|
|
|
%defattr(-,root,root,-)
|
2012-07-03 09:58:09 +00:00
|
|
|
%{_includedir}/%{name}/db_cxx.h
|
|
|
|
%{_includedir}/db_cxx.h
|
2011-06-15 04:55:15 +00:00
|
|
|
%{_libdir}/libdb_cxx.so
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%files tcl
|
2010-04-21 04:53:25 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdb_tcl-%{__soversion}.so
|
2012-05-06 15:45:55 +00:00
|
|
|
%{_libdir}/libdb_tcl-%{__soversion_major}.so
|
|
|
|
|
|
|
|
%files tcl-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdb_tcl.so
|
|
|
|
|
|
|
|
%files sql
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdb_sql-%{__soversion}.so
|
|
|
|
%{_libdir}/libdb_sql-%{__soversion_major}.so
|
2010-04-21 04:53:25 +00:00
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
%files sql-devel
|
2010-04-21 04:53:25 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/dbsql
|
|
|
|
%{_libdir}/libdb_sql.so
|
|
|
|
%{_includedir}/%{name}/dbsql.h
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%files java
|
2010-04-21 04:53:25 +00:00
|
|
|
%defattr(-,root,root,-)
|
2012-05-06 15:45:55 +00:00
|
|
|
%{_libdir}/libdb_java-%{__soversion_major}*.so
|
2010-04-21 04:53:25 +00:00
|
|
|
%{_datadir}/java/*.jar
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
%files java-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdb_java.so
|
|
|
|
|
2010-04-21 04:53:25 +00:00
|
|
|
%changelog
|
2015-06-17 15:06:29 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.28-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-19 09:13:28 +00:00
|
|
|
* Tue May 19 2015 Jan Stanek <jstanek@redhat.com> - 5.3.28-12
|
|
|
|
- Add upstream patch for a memp_stat issue.
|
|
|
|
- Resolves: rhbz#1211871
|
|
|
|
|
2015-05-02 13:13:23 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.3.28-11
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-02-21 21:20:13 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 5.3.28-10
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2014-08-17 02:49:38 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.28-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-17 18:29:48 +00:00
|
|
|
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 5.3.28-8
|
|
|
|
- fix license handling
|
|
|
|
|
2014-07-14 11:35:12 +00:00
|
|
|
* Mon Jul 14 2014 Jakub Čajka <jcajka@redhat.com> - 5.3.28-7
|
|
|
|
- Fixed build with Java 8
|
|
|
|
|
2014-06-10 10:04:15 +00:00
|
|
|
* Tue Jun 10 2014 Jan Stanek <jstanek@redhat.com> - 5.3.28-6
|
|
|
|
- Fixed search path for new tcl, new BuildRequires for zlib
|
|
|
|
|
2014-06-07 03:00:54 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.28-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-23 01:32:08 +00:00
|
|
|
* Sat Feb 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 5.3.28-4
|
|
|
|
- Add some of the previous aarch64 bits back as the sub configure don't use the macro
|
|
|
|
|
2014-01-26 21:49:39 +00:00
|
|
|
* Sun Jan 26 2014 Peter Robinson <pbrobinson@fedoraproject.org> 5.3.28-3
|
|
|
|
- Fix configure macro usage for better aarch64 build fix
|
|
|
|
|
2013-11-06 09:23:00 +00:00
|
|
|
* Wed Nov 06 2013 Jan Stanek <jstanek@redhat.com> - 5.3.28-2
|
|
|
|
- Updated config files to allow build on aarch64 (#1022970)
|
|
|
|
|
2013-10-08 13:03:14 +00:00
|
|
|
* Tue Oct 08 2013 Jan Stanek <jstanek@redhat.com> - 5.3.28-1
|
|
|
|
- Added Sleepycat to the license list (#1013841)
|
|
|
|
- Updated to 5.3.28 (#1013233)
|
|
|
|
|
2013-08-03 05:08:49 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-28 15:28:46 +00:00
|
|
|
* Tue May 28 2013 Tom Callaway <spot@fedoraproject.org> - 5.3.21-12
|
|
|
|
- add copy of lgpl-2.1.txt
|
|
|
|
|
2013-05-16 11:26:21 +00:00
|
|
|
* Thu May 16 2013 Jan Stanek <jstanek@redhat.com> - 5.3.21-11
|
|
|
|
- Fix missing debuginfo issue for utils subpackage
|
|
|
|
|
2013-05-09 15:33:30 +00:00
|
|
|
* Thu May 9 2013 Tom Callaway <spot@fedoraproject.org> - 5.3.21-10
|
|
|
|
- add license clarification fix
|
|
|
|
|
2013-04-03 08:49:29 +00:00
|
|
|
* Wed Apr 03 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-9
|
|
|
|
- Added sqlite compability CFLAGS (#788496)
|
|
|
|
|
2013-03-27 16:50:05 +00:00
|
|
|
* Wed Mar 27 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-8
|
|
|
|
- Cleaning the specfile - removed gcc-java dependecy other way
|
|
|
|
|
2013-03-27 15:33:39 +00:00
|
|
|
* Wed Mar 27 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-7
|
|
|
|
- Removed dependency on obsolete gcc-java package (#927742)
|
|
|
|
|
2013-03-07 12:55:28 +00:00
|
|
|
* Thu Mar 7 2013 Jindrich Novy <jnovy@redhat.com> 5.3.21-6
|
|
|
|
- add LGPLv2+ and remove Sleepycat in license tag (#886838)
|
|
|
|
|
2013-02-14 04:11:36 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-27 18:50:01 +00:00
|
|
|
* Tue Nov 27 2012 Tom Callaway <spot@fedoraproject.org> - 5.3.21-4
|
|
|
|
- fix license tag
|
|
|
|
|
2012-07-19 19:31:28 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-14 16:41:07 +00:00
|
|
|
* Sat Jul 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 5.3.21-2
|
|
|
|
- Specify tag for libtool (fixes FTBFS # 838334 )
|
|
|
|
|
2012-07-05 14:22:42 +00:00
|
|
|
* Thu Jul 5 2012 Jindrich Novy <jnovy@redhat.com> 5.3.21-1
|
|
|
|
- update to 5.3.21
|
|
|
|
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
|
|
|
|
|
2012-07-03 09:58:09 +00:00
|
|
|
* Tue Jul 3 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-5
|
|
|
|
- move C++ header files to cxx-devel
|
|
|
|
|
2012-07-03 06:53:10 +00:00
|
|
|
* Tue Jul 3 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-4
|
|
|
|
- fix -devel packages dependencies yet more (#832225)
|
|
|
|
|
2012-05-06 15:45:55 +00:00
|
|
|
* Sun May 6 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-3
|
|
|
|
- package -devel packages correctly
|
|
|
|
|
2012-04-21 07:25:27 +00:00
|
|
|
* Sat Apr 21 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-2
|
|
|
|
- fix multiarch conflict in libdb-devel (#812901)
|
|
|
|
- remove unneeded dos2unix BR
|
|
|
|
|
2012-03-20 10:40:24 +00:00
|
|
|
* Thu Mar 15 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-1
|
|
|
|
- update to 5.3.15
|
|
|
|
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
|
|
|
|
|
2012-02-17 19:52:02 +00:00
|
|
|
* Fri Feb 17 2012 Deepak Bhole <dbhole@redhat.com> 5.2.36-5
|
|
|
|
- Resolves rhbz#794472
|
|
|
|
- Patch from Omair Majid <omajid@redhat.com> to remove explicit Java 6 req.
|
|
|
|
|
2012-01-25 20:12:27 +00:00
|
|
|
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 5.2.36-4
|
|
|
|
- add filesystem guard
|
|
|
|
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 17:17:40 +00:00
|
|
|
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 5.2.36-3
|
|
|
|
- install everything in /usr
|
|
|
|
https://fedoraproject.org/wiki/Features/UsrMove
|
|
|
|
|
2012-01-13 07:31:56 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.36-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-20 10:25:35 +00:00
|
|
|
* Wed Jun 15 2011 Jindrich Novy <jnovy@redhat.com> 5.2.36-1
|
|
|
|
- update to 5.2.36,
|
|
|
|
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_2.html#id3647664
|
|
|
|
|
2011-06-15 04:55:15 +00:00
|
|
|
* Wed Jun 15 2011 Jindrich Novy <jnovy@redhat.com> 5.2.28-2
|
|
|
|
- move development documentation to devel-doc subpackage (#705386)
|
|
|
|
|
2011-06-14 16:24:04 +00:00
|
|
|
* Tue Jun 14 2011 Jindrich Novy <jnovy@redhat.com> 5.2.28-1
|
|
|
|
- update to 5.2.28
|
|
|
|
|
2011-02-08 05:10:05 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.25-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-03 10:54:38 +00:00
|
|
|
* Thu Feb 3 2011 Jindrich Novy <jnovy@redhat.com> 5.1.25-1
|
|
|
|
- update to 5.1.25
|
|
|
|
|
2010-09-29 21:37:44 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 5.1.19-2
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-12 10:18:19 +00:00
|
|
|
* Fri Sep 10 2010 Jindrich Novy <jnovy@redhat.com> 5.1.19-1
|
|
|
|
- update to 5.1.19
|
|
|
|
- rename -devel-static to -static subpackage (#617800)
|
|
|
|
- build java on all arches
|
|
|
|
|
2010-07-07 07:51:16 +00:00
|
|
|
* Wed Jul 7 2010 Jindrich Novy <jnovy@redhat.com> 5.0.26-1
|
|
|
|
- update to 5.0.26
|
|
|
|
- drop BR: ed
|
|
|
|
|
2010-06-17 09:47:17 +00:00
|
|
|
* Thu Jun 17 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-2
|
|
|
|
- add Requires: libdb-cxx to libdb-devel
|
|
|
|
|
2010-04-21 04:53:25 +00:00
|
|
|
* Wed Apr 21 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-1
|
|
|
|
- initial build
|
|
|
|
|
|
|
|
* Thu Apr 15 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-0.2
|
|
|
|
- remove C# documentation
|
|
|
|
- disable/remove rpath
|
|
|
|
- fix description
|
|
|
|
- tighten dependencies
|
|
|
|
- run ldconfig for cxx and sql subpackages
|
|
|
|
|
|
|
|
* Fri Apr 9 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-0.1
|
|
|
|
- enable sql
|
|
|
|
- package 5.0.21
|