]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - db4/db4.nm
pakfire: Add two more patches from upstream.
[people/arne_f/ipfire-3.x.git] / db4 / db4.nm
CommitLineData
f6d9281d 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
f6d9281d
MT
4###############################################################################
5
f1e64edd 6name = db4
01a5ebcf
MT
7version_major = 4.8
8version_minor = 30
802ea3af 9version = %{version_major}.%{version_minor}
db327fe8 10release = 3
802ea3af 11epoch = 1
f1e64edd 12thisapp = db-%{version}
f6d9281d 13
24d34be6
MT
14# Never update this to major version 5.
15
802ea3af
MT
16maintainer = Michael Tremer <michael.tremer@ipfire.org>
17groups = System/Libraries
18url = http://www.oracle.com/technology/products/berkeley-db/
19license = Proprietary
20summary = Berkeley DB is a library that provides an embedded database.
f6d9281d 21
802ea3af 22description
18c2f386 23 Berkeley DB (BDB) is a computer software library that provides
f6d9281d 24 a high-performance embedded database.
802ea3af 25end
f6d9281d 26
18c2f386 27source_dl = http://download.oracle.com/berkeley-db/
bf2de166 28
802ea3af
MT
29build
30 requires
31 gcc-c++
32 end
f6d9281d 33
802ea3af
MT
34 build
35 cd %{DIR_APP}/build_unix
f6d9281d
MT
36 CC=gcc \
37 ../dist/configure \
db327fe8 38 %{configure_options} \
f6d9281d
MT
39 --enable-compat185 \
40 --enable-cxx \
41 --disable-static
42
db327fe8
MT
43 %{MACRO_FIX_LIBTOOL}
44
802ea3af
MT
45 make %{PARALLELISMFLAGS}
46 end
47
48 install
49 cd %{DIR_APP}/build_unix
50 make install DESTDIR=%{BUILDROOT} \
51 docdir=/usr/share/doc/%{thisapp}
52 end
53end
f6d9281d 54
802ea3af
MT
55packages
56 package db4
1f9bc2f0 57
802ea3af
MT
58 package db4-devel
59 template DEVEL
18c2f386 60
f1e64edd
MT
61 # Overwrite because of epoch != 0.
62 requires = %{name}=%{epoch}:%{thisver}
63
db327fe8 64 files += !%{libdir}/libdb-%{version_major}.so
802ea3af 65 end
1f9bc2f0 66
802ea3af 67 package db4-utils
18c2f386
SS
68 summary = Command line tools for managing Berkeley DB (version 4) databases.
69 description = %{summary}
70
71 files
72 /usr/bin
73 end
802ea3af 74 end
1f9bc2f0 75
802ea3af 76 package db4-cxx
18c2f386
SS
77 summary = The Berkeley DB database library (version 4) for C++.
78 description = %{summary}
79
80 files
db327fe8 81 %{libdir}/libdb_cxx-%{version_major}.so
18c2f386 82 end
802ea3af 83 end
1f9bc2f0
MT
84
85 package %{name}-debuginfo
86 template DEBUGINFO
87 end
802ea3af 88end