|
|
e4ffad |
%define __soversion_major 5
|
|
|
e4ffad |
%define __soversion %{__soversion_major}.3
|
|
|
e4ffad |
|
|
|
e4ffad |
Summary: The Berkeley DB database library for C
|
|
|
e4ffad |
Name: libdb
|
|
|
e4ffad |
Version: 5.3.21
|
|
|
259c28 |
Release: 17%{?dist}
|
|
|
e4ffad |
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
|
|
e4ffad |
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
|
|
e4ffad |
Patch0: libdb-multiarch.patch
|
|
|
e4ffad |
# db-1.85 upstream patches
|
|
|
e4ffad |
Patch10: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.1
|
|
|
e4ffad |
Patch11: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.2
|
|
|
e4ffad |
Patch12: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.3
|
|
|
e4ffad |
Patch13: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.4
|
|
|
e4ffad |
# other patches
|
|
|
e4ffad |
Patch20: db-1.85-errno.patch
|
|
|
e4ffad |
Patch22: db-4.6.21-1.85-compat.patch
|
|
|
e4ffad |
Patch24: db-4.5.20-jni-include-dir.patch
|
|
|
e4ffad |
# License clarification patch
|
|
|
e4ffad |
# 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
|
|
|
e4ffad |
Patch25: 007-mt19937db.c_license.patch
|
|
|
e4ffad |
# sqlite3 overflow fix backport
|
|
|
e4ffad |
Patch26: signed-overflow.patch
|
|
|
e4ffad |
URL: http://www.oracle.com/database/berkeley-db/
|
|
|
e4ffad |
License: BSD and LGPLv2 and Sleepycat
|
|
|
e4ffad |
Group: System Environment/Libraries
|
|
|
e4ffad |
BuildRequires: perl libtool
|
|
|
e4ffad |
BuildRequires: tcl-devel >= 8.5.2-3
|
|
|
e4ffad |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
e4ffad |
BuildRequires: chrpath
|
|
|
e4ffad |
Conflicts: filesystem < 3
|
|
|
259c28 |
Obsoletes: db4 < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
e4ffad |
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
e4ffad |
transactions, locking, logging, shared memory caching, and database
|
|
|
e4ffad |
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
e4ffad |
used by many applications, including Python and Perl, so this should
|
|
|
e4ffad |
be installed on all systems.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package utils
|
|
|
e4ffad |
Summary: Command line tools for managing Berkeley DB databases
|
|
|
e4ffad |
Group: Applications/Databases
|
|
|
e4ffad |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-utils < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description utils
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. Berkeley DB includes B+tree, Extended
|
|
|
e4ffad |
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
e4ffad |
transactions, locking, logging, shared memory caching, and database
|
|
|
e4ffad |
recovery. DB supports C, C++, Java and Perl APIs.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package devel
|
|
|
e4ffad |
Summary: C development files for the Berkeley DB library
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-devel < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description devel
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the header files,
|
|
|
e4ffad |
libraries, and documentation for building programs which use the
|
|
|
e4ffad |
Berkeley DB.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package devel-doc
|
|
|
e4ffad |
Summary: C development documentation files for the Berkeley DB library
|
|
|
e4ffad |
Group: Documentation
|
|
|
e4ffad |
Requires: %{name} = %{version}-%{release}
|
|
|
e4ffad |
Requires: %{name}-devel = %{version}-%{release}
|
|
|
e4ffad |
BuildArch: noarch
|
|
|
259c28 |
Obsoletes: db4-devel-doc < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description devel-doc
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the header files,
|
|
|
e4ffad |
libraries, and documentation for building programs which use the
|
|
|
e4ffad |
Berkeley DB.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package devel-static
|
|
|
e4ffad |
Summary: Berkeley DB static libraries
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-devel-static < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description devel-static
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains static libraries
|
|
|
e4ffad |
needed for applications that require static linking of
|
|
|
e4ffad |
Berkeley DB.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package cxx
|
|
|
e4ffad |
Summary: The Berkeley DB database library for C++
|
|
|
e4ffad |
Group: System Environment/Libraries
|
|
|
e4ffad |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-cxx < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description cxx
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
e4ffad |
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
e4ffad |
transactions, locking, logging, shared memory caching, and database
|
|
|
e4ffad |
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
e4ffad |
used by many applications, including Python and Perl, so this should
|
|
|
e4ffad |
be installed on all systems.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package cxx-devel
|
|
|
e4ffad |
Summary: The Berkeley DB database library for C++
|
|
|
e4ffad |
Group: System Environment/Libraries
|
|
|
e4ffad |
Requires: %{name}-cxx%{?_isa} = %{version}-%{release}
|
|
|
e4ffad |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-cxx-devel < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description cxx-devel
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
e4ffad |
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
e4ffad |
transactions, locking, logging, shared memory caching, and database
|
|
|
e4ffad |
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
e4ffad |
used by many applications, including Python and Perl, so this should
|
|
|
e4ffad |
be installed on all systems.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package tcl
|
|
|
e4ffad |
Summary: Development files for using the Berkeley DB with tcl
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-tcl < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description tcl
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the libraries
|
|
|
e4ffad |
for building programs which use the Berkeley DB in Tcl.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package tcl-devel
|
|
|
e4ffad |
Summary: Development files for using the Berkeley DB with tcl
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}-tcl%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-tcl-devel < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description tcl-devel
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the libraries
|
|
|
e4ffad |
for building programs which use the Berkeley DB in Tcl.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package sql
|
|
|
e4ffad |
Summary: Development files for using the Berkeley DB with sql
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-sql < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description sql
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the libraries
|
|
|
e4ffad |
for building programs which use the Berkeley DB in SQL.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package sql-devel
|
|
|
e4ffad |
Summary: Development files for using the Berkeley DB with sql
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}-sql%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-sql-devel < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description sql-devel
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the libraries
|
|
|
e4ffad |
for building programs which use the Berkeley DB in SQL.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package java
|
|
|
e4ffad |
Summary: Development files for using the Berkeley DB with Java
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-java < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description java
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the libraries
|
|
|
e4ffad |
for building programs which use the Berkeley DB in Java.
|
|
|
e4ffad |
|
|
|
e4ffad |
%package java-devel
|
|
|
e4ffad |
Summary: Development files for using the Berkeley DB with Java
|
|
|
e4ffad |
Group: Development/Libraries
|
|
|
e4ffad |
Requires: %{name}-java%{?_isa} = %{version}-%{release}
|
|
|
259c28 |
Obsoletes: db4-java-devel < 5
|
|
|
e4ffad |
|
|
|
e4ffad |
%description java-devel
|
|
|
e4ffad |
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
e4ffad |
provides embedded database support for both traditional and
|
|
|
e4ffad |
client/server applications. This package contains the libraries
|
|
|
e4ffad |
for building programs which use the Berkeley DB in Java.
|
|
|
e4ffad |
|
|
|
e4ffad |
%prep
|
|
|
e4ffad |
%setup -q -n db-%{version} -a 1
|
|
|
e4ffad |
|
|
|
e4ffad |
%patch0 -p1 -b .multiarch
|
|
|
e4ffad |
pushd db.1.85/PORT/linux
|
|
|
e4ffad |
%patch10 -p0 -b .1.1
|
|
|
e4ffad |
popd
|
|
|
e4ffad |
pushd db.1.85
|
|
|
e4ffad |
%patch11 -p0 -b .1.2
|
|
|
e4ffad |
%patch12 -p0 -b .1.3
|
|
|
e4ffad |
%patch13 -p0 -b .1.4
|
|
|
e4ffad |
%patch20 -p1 -b .errno
|
|
|
e4ffad |
popd
|
|
|
e4ffad |
|
|
|
e4ffad |
%patch22 -p1 -b .185compat
|
|
|
e4ffad |
%patch24 -p1 -b .4.5.20.jni
|
|
|
e4ffad |
%patch25 -p1 -b .licensefix
|
|
|
e4ffad |
|
|
|
e4ffad |
%patch26 -p1 -b .overflow
|
|
|
e4ffad |
|
|
|
e4ffad |
cd dist
|
|
|
e4ffad |
./s_config
|
|
|
e4ffad |
|
|
|
e4ffad |
%build
|
|
|
e4ffad |
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
e4ffad |
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/"
|
|
|
e4ffad |
export CFLAGS
|
|
|
e4ffad |
|
|
|
e4ffad |
# Build the old db-185 libraries.
|
|
|
e4ffad |
make -C db.1.85/PORT/%{_os} OORG="$CFLAGS"
|
|
|
e4ffad |
|
|
|
e4ffad |
test -d dist/dist-tls || mkdir dist/dist-tls
|
|
|
e4ffad |
# Static link db_dump185 with old db-185 libraries.
|
|
|
e4ffad |
/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
|
|
|
e4ffad |
/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
|
|
|
e4ffad |
|
|
|
e4ffad |
# update gnu-config files for aarch64
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.guess dist
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.sub dist
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.guess lang/sql/sqlite
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.sub lang/sql/sqlite
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.guess lang/sql/jdbc
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.sub lang/sql/jdbc
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.guess lang/sql/odbc
|
|
|
e4ffad |
cp /usr/lib/rpm/redhat/config.sub lang/sql/odbc
|
|
|
e4ffad |
|
|
|
e4ffad |
pushd dist/dist-tls
|
|
|
e4ffad |
ln -sf ../configure .
|
|
|
e4ffad |
%configure -C \
|
|
|
e4ffad |
--enable-compat185 --enable-dump185 \
|
|
|
e4ffad |
--enable-shared --enable-static \
|
|
|
e4ffad |
--enable-tcl --with-tcl=%{_libdir} \
|
|
|
e4ffad |
--enable-cxx --enable-sql \
|
|
|
e4ffad |
--enable-java \
|
|
|
e4ffad |
--enable-test \
|
|
|
e4ffad |
--disable-rpath \
|
|
|
e4ffad |
--with-tcl=%{_libdir}/tcl8.5
|
|
|
e4ffad |
|
|
|
e4ffad |
# Remove libtool predep_objects and postdep_objects wonkiness so that
|
|
|
e4ffad |
# building without -nostdlib doesn't include them twice. Because we
|
|
|
e4ffad |
# already link with g++, weird stuff happens if you don't let the
|
|
|
e4ffad |
# compiler handle this.
|
|
|
e4ffad |
perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool
|
|
|
e4ffad |
perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool
|
|
|
e4ffad |
perl -pi -e 's/-shared -nostdlib/-shared/' libtool
|
|
|
e4ffad |
|
|
|
e4ffad |
make %{?_smp_mflags}
|
|
|
e4ffad |
|
|
|
e4ffad |
# XXX hack around libtool not creating ./libs/libdb_java-X.Y.lai
|
|
|
e4ffad |
LDBJ=./.libs/libdb_java-%{__soversion}.la
|
|
|
e4ffad |
if test -f ${LDBJ} -a ! -f ${LDBJ}i; then
|
|
|
e4ffad |
sed -e 's,^installed=no,installed=yes,' < ${LDBJ} > ${LDBJ}i
|
|
|
e4ffad |
fi
|
|
|
e4ffad |
popd
|
|
|
e4ffad |
|
|
|
e4ffad |
%install
|
|
|
e4ffad |
rm -rf ${RPM_BUILD_ROOT}
|
|
|
e4ffad |
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
e4ffad |
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
|
|
e4ffad |
|
|
|
e4ffad |
# Force off stripping of installed binaries
|
|
|
e4ffad |
%makeinstall STRIP=/bin/true -C dist/dist-tls
|
|
|
e4ffad |
|
|
|
e4ffad |
# XXX Nuke non-versioned archives and symlinks
|
|
|
e4ffad |
rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_tcl.a,libdb_sql.a}
|
|
|
e4ffad |
|
|
|
e4ffad |
chmod +x ${RPM_BUILD_ROOT}%{_libdir}/*.so*
|
|
|
e4ffad |
|
|
|
e4ffad |
# Move the header files to a subdirectory, in case we're deploying on a
|
|
|
e4ffad |
# system with multiple versions of DB installed.
|
|
|
e4ffad |
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/%{name}
|
|
|
e4ffad |
mv ${RPM_BUILD_ROOT}%{_includedir}/*.h ${RPM_BUILD_ROOT}%{_includedir}/%{name}/
|
|
|
e4ffad |
|
|
|
e4ffad |
# Create symlinks to includes so that "use <db.h> and link with -ldb" works.
|
|
|
e4ffad |
for i in db.h db_cxx.h db_185.h; do
|
|
|
e4ffad |
ln -s %{name}/$i ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
e4ffad |
done
|
|
|
e4ffad |
|
|
|
e4ffad |
# Move java jar file to the correct place
|
|
|
e4ffad |
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/java
|
|
|
e4ffad |
mv ${RPM_BUILD_ROOT}%{_libdir}/*.jar ${RPM_BUILD_ROOT}%{_datadir}/java
|
|
|
e4ffad |
|
|
|
e4ffad |
# Eliminate installed doco
|
|
|
e4ffad |
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/docs
|
|
|
e4ffad |
|
|
|
e4ffad |
# XXX Avoid Permission denied. strip when building as non-root.
|
|
|
e4ffad |
chmod u+w ${RPM_BUILD_ROOT}%{_bindir} ${RPM_BUILD_ROOT}%{_bindir}/*
|
|
|
e4ffad |
|
|
|
e4ffad |
# remove unneeded .la files (#225675)
|
|
|
e4ffad |
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
|
|
e4ffad |
|
|
|
e4ffad |
# remove RPATHs
|
|
|
e4ffad |
chrpath -d ${RPM_BUILD_ROOT}%{_libdir}/*.so ${RPM_BUILD_ROOT}%{_bindir}/*
|
|
|
e4ffad |
|
|
|
e4ffad |
# unify documentation and examples, remove stuff we don't need
|
|
|
e4ffad |
rm -rf docs/csharp
|
|
|
e4ffad |
rm -rf examples/csharp
|
|
|
e4ffad |
rm -rf docs/installation
|
|
|
e4ffad |
mv examples docs
|
|
|
e4ffad |
|
|
|
e4ffad |
%clean
|
|
|
e4ffad |
rm -rf ${RPM_BUILD_ROOT}
|
|
|
e4ffad |
|
|
|
e4ffad |
%post -p /sbin/ldconfig
|
|
|
e4ffad |
|
|
|
e4ffad |
%postun -p /sbin/ldconfig
|
|
|
e4ffad |
|
|
|
e4ffad |
%post -p /sbin/ldconfig cxx
|
|
|
e4ffad |
|
|
|
e4ffad |
%postun -p /sbin/ldconfig cxx
|
|
|
e4ffad |
|
|
|
e4ffad |
%post -p /sbin/ldconfig sql
|
|
|
e4ffad |
|
|
|
e4ffad |
%postun -p /sbin/ldconfig sql
|
|
|
e4ffad |
|
|
|
e4ffad |
%post -p /sbin/ldconfig tcl
|
|
|
e4ffad |
|
|
|
e4ffad |
%postun -p /sbin/ldconfig tcl
|
|
|
e4ffad |
|
|
|
e4ffad |
%post -p /sbin/ldconfig java
|
|
|
e4ffad |
|
|
|
e4ffad |
%postun -p /sbin/ldconfig java
|
|
|
e4ffad |
|
|
|
e4ffad |
%files
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%doc LICENSE README
|
|
|
e4ffad |
%{_libdir}/libdb-%{__soversion}.so
|
|
|
e4ffad |
%{_libdir}/libdb-%{__soversion_major}.so
|
|
|
e4ffad |
|
|
|
e4ffad |
%files devel
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb.so
|
|
|
e4ffad |
%dir %{_includedir}/%{name}
|
|
|
e4ffad |
%{_includedir}/%{name}/db.h
|
|
|
e4ffad |
%{_includedir}/%{name}/db_185.h
|
|
|
e4ffad |
%{_includedir}/db.h
|
|
|
e4ffad |
%{_includedir}/db_185.h
|
|
|
e4ffad |
|
|
|
e4ffad |
%files devel-doc
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%doc docs/*
|
|
|
e4ffad |
|
|
|
e4ffad |
%files devel-static
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb-%{__soversion}.a
|
|
|
e4ffad |
%{_libdir}/libdb_cxx-%{__soversion}.a
|
|
|
e4ffad |
%{_libdir}/libdb_tcl-%{__soversion}.a
|
|
|
e4ffad |
%{_libdir}/libdb_sql-%{__soversion}.a
|
|
|
e4ffad |
%{_libdir}/libdb_java-%{__soversion}.a
|
|
|
e4ffad |
|
|
|
e4ffad |
%files utils
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_bindir}/db*_archive
|
|
|
e4ffad |
%{_bindir}/db*_checkpoint
|
|
|
e4ffad |
%{_bindir}/db*_deadlock
|
|
|
e4ffad |
%{_bindir}/db*_dump*
|
|
|
e4ffad |
%{_bindir}/db*_hotbackup
|
|
|
e4ffad |
%{_bindir}/db*_load
|
|
|
e4ffad |
%{_bindir}/db*_printlog
|
|
|
e4ffad |
%{_bindir}/db*_recover
|
|
|
e4ffad |
%{_bindir}/db*_replicate
|
|
|
e4ffad |
%{_bindir}/db*_stat
|
|
|
e4ffad |
%{_bindir}/db*_upgrade
|
|
|
e4ffad |
%{_bindir}/db*_verify
|
|
|
e4ffad |
%{_bindir}/db*_tuner
|
|
|
e4ffad |
|
|
|
e4ffad |
%files cxx
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb_cxx-%{__soversion}.so
|
|
|
e4ffad |
%{_libdir}/libdb_cxx-%{__soversion_major}.so
|
|
|
e4ffad |
|
|
|
e4ffad |
%files cxx-devel
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_includedir}/%{name}/db_cxx.h
|
|
|
e4ffad |
%{_includedir}/db_cxx.h
|
|
|
e4ffad |
%{_libdir}/libdb_cxx.so
|
|
|
e4ffad |
|
|
|
e4ffad |
%files tcl
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb_tcl-%{__soversion}.so
|
|
|
e4ffad |
%{_libdir}/libdb_tcl-%{__soversion_major}.so
|
|
|
e4ffad |
|
|
|
e4ffad |
%files tcl-devel
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb_tcl.so
|
|
|
e4ffad |
|
|
|
e4ffad |
%files sql
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb_sql-%{__soversion}.so
|
|
|
e4ffad |
%{_libdir}/libdb_sql-%{__soversion_major}.so
|
|
|
e4ffad |
|
|
|
e4ffad |
%files sql-devel
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_bindir}/dbsql
|
|
|
e4ffad |
%{_libdir}/libdb_sql.so
|
|
|
e4ffad |
%{_includedir}/%{name}/dbsql.h
|
|
|
e4ffad |
|
|
|
e4ffad |
%files java
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb_java-%{__soversion_major}*.so
|
|
|
e4ffad |
%{_datadir}/java/*.jar
|
|
|
e4ffad |
|
|
|
e4ffad |
%files java-devel
|
|
|
e4ffad |
%defattr(-,root,root,-)
|
|
|
e4ffad |
%{_libdir}/libdb_java.so
|
|
|
e4ffad |
|
|
|
e4ffad |
%changelog
|
|
|
259c28 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 5.3.21-17
|
|
|
259c28 |
- Mass rebuild 2014-01-24
|
|
|
259c28 |
|
|
|
259c28 |
* Thu Jan 16 2014 Jan Stanek <jstanek@redhat.com> - 5.3.21-16
|
|
|
259c28 |
- Added Obsoletes in order to override unsupported db4 versions
|
|
|
259c28 |
|
|
|
259c28 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 5.3.21-15
|
|
|
259c28 |
- Mass rebuild 2013-12-27
|
|
|
259c28 |
|
|
|
e4ffad |
* Tue Nov 05 2013 Jan Stanek <jstanek@redhat.com> - 5.3.21-14
|
|
|
e4ffad |
- Backported fix for possible signed overflow (#1026878)
|
|
|
e4ffad |
|
|
|
e4ffad |
* Tue Nov 05 2013 Jan Stanek <jstanek@redhat.com> - 5.3.21-13
|
|
|
e4ffad |
- Updated config files for the aarch64 (#1023795)
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Oct 23 2013 Jan Stanek <jstanek@redhat.com> - 5.3.21-12
|
|
|
e4ffad |
- Added Sleepycat to the license list
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu May 16 2013 Jan Stanek <jstanek@redhat.com> - 5.3.21-11
|
|
|
e4ffad |
- Fix missing debuginfo issue for utils subpackage
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu May 9 2013 Tom Callaway <spot@fedoraproject.org> - 5.3.21-10
|
|
|
e4ffad |
- add license clarification fix
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Apr 03 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-9
|
|
|
e4ffad |
- Added sqlite compability CFLAGS (#788496)
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Mar 27 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-8
|
|
|
e4ffad |
- Cleaning the specfile - removed gcc-java dependecy other way
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Mar 27 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-7
|
|
|
e4ffad |
- Removed dependency on obsolete gcc-java package (#927742)
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Mar 7 2013 Jindrich Novy <jnovy@redhat.com> 5.3.21-6
|
|
|
e4ffad |
- add LGPLv2+ and remove Sleepycat in license tag (#886838)
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-5
|
|
|
e4ffad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e4ffad |
|
|
|
e4ffad |
* Tue Nov 27 2012 Tom Callaway <spot@fedoraproject.org> - 5.3.21-4
|
|
|
e4ffad |
- fix license tag
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-3
|
|
|
e4ffad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e4ffad |
|
|
|
e4ffad |
* Sat Jul 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 5.3.21-2
|
|
|
e4ffad |
- Specify tag for libtool (fixes FTBFS # 838334 )
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Jul 5 2012 Jindrich Novy <jnovy@redhat.com> 5.3.21-1
|
|
|
e4ffad |
- update to 5.3.21
|
|
|
e4ffad |
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
|
|
|
e4ffad |
|
|
|
e4ffad |
* Tue Jul 3 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-5
|
|
|
e4ffad |
- move C++ header files to cxx-devel
|
|
|
e4ffad |
|
|
|
e4ffad |
* Tue Jul 3 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-4
|
|
|
e4ffad |
- fix -devel packages dependencies yet more (#832225)
|
|
|
e4ffad |
|
|
|
e4ffad |
* Sun May 6 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-3
|
|
|
e4ffad |
- package -devel packages correctly
|
|
|
e4ffad |
|
|
|
e4ffad |
* Sat Apr 21 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-2
|
|
|
e4ffad |
- fix multiarch conflict in libdb-devel (#812901)
|
|
|
e4ffad |
- remove unneeded dos2unix BR
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Mar 15 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-1
|
|
|
e4ffad |
- update to 5.3.15
|
|
|
e4ffad |
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
|
|
|
e4ffad |
|
|
|
e4ffad |
* Fri Feb 17 2012 Deepak Bhole <dbhole@redhat.com> 5.2.36-5
|
|
|
e4ffad |
- Resolves rhbz#794472
|
|
|
e4ffad |
- Patch from Omair Majid <omajid@redhat.com> to remove explicit Java 6 req.
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 5.2.36-4
|
|
|
e4ffad |
- add filesystem guard
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 5.2.36-3
|
|
|
e4ffad |
- install everything in /usr
|
|
|
e4ffad |
https://fedoraproject.org/wiki/Features/UsrMove
|
|
|
e4ffad |
|
|
|
e4ffad |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.36-2
|
|
|
e4ffad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Jun 15 2011 Jindrich Novy <jnovy@redhat.com> 5.2.36-1
|
|
|
e4ffad |
- update to 5.2.36,
|
|
|
e4ffad |
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_2.html#id3647664
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Jun 15 2011 Jindrich Novy <jnovy@redhat.com> 5.2.28-2
|
|
|
e4ffad |
- move development documentation to devel-doc subpackage (#705386)
|
|
|
e4ffad |
|
|
|
e4ffad |
* Tue Jun 14 2011 Jindrich Novy <jnovy@redhat.com> 5.2.28-1
|
|
|
e4ffad |
- update to 5.2.28
|
|
|
e4ffad |
|
|
|
e4ffad |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.25-2
|
|
|
e4ffad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Feb 3 2011 Jindrich Novy <jnovy@redhat.com> 5.1.25-1
|
|
|
e4ffad |
- update to 5.1.25
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Sep 29 2010 jkeating - 5.1.19-2
|
|
|
e4ffad |
- Rebuilt for gcc bug 634757
|
|
|
e4ffad |
|
|
|
e4ffad |
* Fri Sep 10 2010 Jindrich Novy <jnovy@redhat.com> 5.1.19-1
|
|
|
e4ffad |
- update to 5.1.19
|
|
|
e4ffad |
- rename -devel-static to -static subpackage (#617800)
|
|
|
e4ffad |
- build java on all arches
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Jul 7 2010 Jindrich Novy <jnovy@redhat.com> 5.0.26-1
|
|
|
e4ffad |
- update to 5.0.26
|
|
|
e4ffad |
- drop BR: ed
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Jun 17 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-2
|
|
|
e4ffad |
- add Requires: libdb-cxx to libdb-devel
|
|
|
e4ffad |
|
|
|
e4ffad |
* Wed Apr 21 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-1
|
|
|
e4ffad |
- initial build
|
|
|
e4ffad |
|
|
|
e4ffad |
* Thu Apr 15 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-0.2
|
|
|
e4ffad |
- remove C# documentation
|
|
|
e4ffad |
- disable/remove rpath
|
|
|
e4ffad |
- fix description
|
|
|
e4ffad |
- tighten dependencies
|
|
|
e4ffad |
- run ldconfig for cxx and sql subpackages
|
|
|
e4ffad |
|
|
|
e4ffad |
* Fri Apr 9 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-0.1
|
|
|
e4ffad |
- enable sql
|
|
|
e4ffad |
- package 5.0.21
|