]> git.ipfire.org Git - ipfire-3.x.git/blob - man-db/man-db.nm
Merge remote-tracking branch 'stevee/pdns'
[ipfire-3.x.git] / man-db / man-db.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = man-db
7 version = 2.6.1
8 release = 2
9
10 groups = Documentation
11 url = http://savannah.nongnu.org/projects/man-db
12 license = GPL
13 summary = man-db is an on-line manual database.
14
15 description
16 man-db is an implementation of the standard Unix documentation \
17 system accessed using the man command. It uses a Berkeley DB database \
18 in place of the traditional flat-text whatis databases. man-db is \
19 used by several popular GNU/Linux distributions.
20 end
21
22 source_dl = http://download.savannah.gnu.org/releases/man-db/
23
24 build
25 requires
26 db4-devel
27 gdbm-devel
28 groff
29 less
30 libpipeline-devel
31 end
32
33 configure_options += \
34 --disable-setuid \
35 --with-browser=%{bindir}/lynx \
36 --with-col=%{bindir}/col \
37 --with-vgrind=%{bindir}/vgrind \
38 --with-grap=%{bindir}/grap \
39 --disable-rpath
40
41 prepare_cmds
42 sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' \
43 src/man_db.conf.in
44 end
45
46 install_cmds
47 # Move some libs
48 mv -v %{BUILDROOT}%{libdir}/man-db/* %{BUILDROOT}%{libdir}/
49 rm -rf %{BUILDROOTi}%{libdir}/man-db/
50
51 end
52 end
53
54 packages
55 package %{name}
56 groups += Base
57
58 requires
59 groff
60 less
61 xz
62 end
63
64 # This package also should be known as man.
65 provides
66 man
67 end
68 end
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
73 end