1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = gdbm-%{version}
11 groups = Development/Tools
12 url = http://www.gnu.org/software/gdbm/
14 summary = The GDBM package contains the GNU Database Manager.
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.
23 source_dl = http://ftp.gnu.org/gnu/gdbm/
33 libtoolize --force --copy
37 # Don't use flock, because it doesn't work on NFS.
39 echo "#undef HAVE_FLOCK" >> autoconf.h.in
42 PARALLELISMFLAGS = # Not supported.
45 make install install-compat \
46 prefix=%{BUILDROOT}%{prefix} \
47 libdir=%{BUILDROOT}%{libdir} \
48 includedir=%{BUILDROOT}%{includedir} \
49 mandir=%{BUILDROOT}%{mandir} \
50 infodir=%{BUILDROOT}%{infodir}
52 mkdir -pv %{BUILDROOT}%{includedir}/gdbm
53 ln -svf gdbm/gdbm.h %{BUILDROOT}%{includedir}/gdbm.h
55 # Remove all man pages provided by gdbm-devel.
56 rm -rfv %{BUILDROOT}%{mandir}/man3
71 compat-gdbm = %{thisver}
79 package %{name}-debuginfo