1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 version = %{version_major}.%{version_minor}
12 thisapp = db-%{version}
14 # Never update this to major version 5.
16 maintainer = Michael Tremer <michael.tremer@ipfire.org>
17 groups = System/Libraries
18 url = http://www.oracle.com/technology/products/berkeley-db/
20 summary = Berkeley DB is a library that provides an embedded database.
23 Berkeley DB (BDB) is a computer software library that provides
24 a high-performance embedded database.
27 source_dl = http://download.oracle.com/berkeley-db/
35 cd %{DIR_APP}/build_unix
43 make %{PARALLELISMFLAGS}
47 cd %{DIR_APP}/build_unix
48 make install DESTDIR=%{BUILDROOT} \
49 docdir=/usr/share/doc/%{thisapp}
59 # Overwrite because of epoch != 0.
60 requires = %{name}=%{epoch}:%{thisver}
63 !/usr/lib*/libdb-%{version_major}.so
67 summary = Command line tools for managing Berkeley DB (version 4) databases.
68 description = %{summary}
76 summary = The Berkeley DB database library (version 4) for C++.
77 description = %{summary}
80 /usr/lib*/libdb_cxx-%{version_major}.so
84 package %{name}-debuginfo