diff options
Diffstat (limited to 'bdb/dist/db.spec.in')
-rw-r--r-- | bdb/dist/db.spec.in | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/bdb/dist/db.spec.in b/bdb/dist/db.spec.in new file mode 100644 index 00000000000..ef253bcfcf4 --- /dev/null +++ b/bdb/dist/db.spec.in @@ -0,0 +1,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 |