# Berkeley DB @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@.@DB_VERSION_PATCH@

Summary: Sleepycat Berkeley DB database library
Name: db
Version: @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@.@DB_VERSION_PATCH@
Release: 1
Copyright: Freely redistributable, see LICENSE for details.
Source: http://www.sleepycat.com/update/@DB_VERSION_MAJOR@.@DB_VERSION_MINOR@.@DB_VERSION_PATCH@/db-@DB_VERSION_MAJOR@.@DB_VERSION_MINOR@.@DB_VERSION_PATCH@.tar.gz
URL: http://www.sleepycat.com
Group: System Environment/Libraries
BuildRoot: @CONFIGURATION_PATH@/RPM_INSTALL

%define _unpackaged_files_terminate_build       0

%description
Berkeley DB is a programmatic toolkit that provides fast, scalable and
reliable application-specific database support for software ranging from
embedded applications running on hand-held appliances to mission-critical,
enterprise-scale servers.

The Berkeley DB access methods include B+tree, Extended Linear Hashing,
Fixed and Variable-length records, and Persistent Queues. Berkeley DB
provides full replication and transactional support, database recovery,
online backups, and separate access to locking, logging and shared
memory caching subsystems.

Berkeley DB supports C, C++, Java, Tcl, Perl, Python and many other
APIs. The software is available for a wide variety of UNIX/Linux
platforms, Windows 95/98/NT/2000/XP, VxWorks and QNX.

%prep
%setup

%build
cd build_unix
CFLAGS="$RPM_OPT_FLAGS" ../dist/configure @CONFIGURATION_ARGS@
make library_build

%install
cd build_unix
make prefix=@CONFIGURATION_PATH@/RPM_INSTALL install

@RPM_POST_INSTALL@

@RPM_POST_UNINSTALL@

%changelog
