]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - compat-gdbm/compat-gdbm.nm
gdbm: Update to 1.23
[people/stevee/ipfire-3.x.git] / compat-gdbm / compat-gdbm.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = compat-gdbm
7 version = 1.12
8 release = 1
9 thisapp = gdbm-%{version}
10
11 groups = Development/Tools
12 url = http://www.gnu.org/software/gdbm/
13 license = GPLv2+
14 summary = The GDBM package contains the GNU Database Manager.
15
16 description
17 The GDBM package contains the GNU Database Manager. This is a disk file \
18 format database which stores key/data-pairs in single files. The actual \
19 data of any record being stored is indexed by a unique key, which can be \
20 retrieved in less time than if it was stored in a text file.
21 end
22
23 source_dl = https://ftp.gnu.org/gnu/gdbm/
24
25 build
26 CFLAGS += -fcommon
27
28 install
29 make install \
30 prefix=%{BUILDROOT}%{prefix} \
31 libdir=%{BUILDROOT}%{libdir} \
32 includedir=%{BUILDROOT}%{includedir} \
33 mandir=%{BUILDROOT}%{mandir} \
34 infodir=%{BUILDROOT}%{infodir}
35
36 # Remove all man pages provided by gdbm-devel
37 rm -rfv %{BUILDROOT}%{mandir}/man3
38 end
39 end
40
41 packages
42 package %{name}
43 conflicts
44 gdbm <= %{version}
45 end
46 end
47
48 package %{name}-devel
49 template DEVEL
50
51 requires
52 compat-gdbm = %{thisver}
53 end
54
55 conflicts
56 gdbm-devel
57 end
58 end
59
60 package %{name}-debuginfo
61 template DEBUGINFO
62 end
63 end