]>
Commit | Line | Data |
---|---|---|
91f5b076 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
91f5b076 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = man-db |
1e308222 | 7 | version = 2.6.1 |
435e4304 | 8 | release = 2 |
91f5b076 | 9 | |
cb7dca59 | 10 | groups = Documentation |
1e308222 | 11 | url = http://savannah.nongnu.org/projects/man-db |
802ea3af MT |
12 | license = GPL |
13 | summary = man-db is an on-line manual database. | |
91f5b076 | 14 | |
802ea3af | 15 | description |
91f5b076 MT |
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. | |
802ea3af MT |
20 | end |
21 | ||
1e308222 | 22 | source_dl = http://download.savannah.gnu.org/releases/man-db/ |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
26 | db4-devel | |
27 | gdbm-devel | |
28 | groff | |
29 | less | |
30 | libpipeline-devel | |
31 | end | |
32 | ||
33 | configure_options += \ | |
802ea3af | 34 | --disable-setuid \ |
435e4304 CS |
35 | --with-browser=%{bindir}/lynx \ |
36 | --with-col=%{bindir}/col \ | |
37 | --with-vgrind=%{bindir}/vgrind \ | |
38 | --with-grap=%{bindir}/grap \ | |
39 | --disable-rpath | |
91f5b076 | 40 | |
802ea3af MT |
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 | |
91f5b076 | 45 | |
435e4304 CS |
46 | install_cmds |
47 | # Move some libs | |
48 | mv -v %{BUILDROOT}%{libdir}/man-db/* %{BUILDROOT}%{libdir}/ | |
49 | rm -rf %{BUILDROOTi}%{libdir}/man-db/ | |
50 | ||
802ea3af MT |
51 | end |
52 | end | |
906e47eb | 53 | |
802ea3af MT |
54 | packages |
55 | package %{name} | |
cb7dca59 MT |
56 | groups += Base |
57 | ||
802ea3af MT |
58 | requires |
59 | groff | |
60 | less | |
435e4304 | 61 | xz |
802ea3af | 62 | end |
91f5b076 | 63 | |
802ea3af MT |
64 | # This package also should be known as man. |
65 | provides | |
66 | man | |
67 | end | |
68 | end | |
1f9bc2f0 MT |
69 | |
70 | package %{name}-debuginfo | |
71 | template DEBUGINFO | |
72 | end | |
802ea3af | 73 | end |