summaryrefslogtreecommitdiff
path: root/bdb/dist/db.spec.in
blob: ef253bcfcf4b4e150f5f60576ade35a2e067bd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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

%description
Berkeley DB is a programmatic toolkit that provides fast, reliable,
mission-critical, and scalable built-in database support for software
ranging from embedded applications running on hand-held appliances to
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 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, and Python APIs. The
software is available for Linux, a wide variety of UNIX platforms,
Windows 95/98, Windows/NT, Windows 2000, 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@EMBEDIX_ROOT@ install

@RPM_POST_INSTALL@

@RPM_POST_UNINSTALL@

%files
%defattr(-,root,root)
%dir @EMBEDIX_ROOT@/bin
%dir @EMBEDIX_ROOT@/docs
%dir @EMBEDIX_ROOT@/include
%dir @EMBEDIX_ROOT@/lib

%changelog