]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - man-db/man-db.nm
systemd: Remove udev rules for "predictable" network device names
[people/ms/ipfire-3.x.git] / man-db / man-db.nm
CommitLineData
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 6name = man-db
fc1c8b95
MT
7version = 2.6.3
8release = 1
91f5b076 9
cb7dca59 10groups = Documentation
1e308222 11url = http://savannah.nongnu.org/projects/man-db
802ea3af
MT
12license = GPL
13summary = man-db is an on-line manual database.
91f5b076 14
802ea3af 15description
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
20end
21
1e308222 22source_dl = http://download.savannah.gnu.org/releases/man-db/
fc1c8b95 23sources = %{thisapp}.tar.xz
802ea3af
MT
24
25build
26 requires
27 db4-devel
28 gdbm-devel
29 groff
30 less
31 libpipeline-devel
32 end
33
34 configure_options += \
9eca7db9 35 --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x" \
802ea3af 36 --disable-setuid \
9eca7db9 37 --with-browser=elinks
91f5b076 38
435e4304 39 install_cmds
9eca7db9
MT
40 # Move the libs to /usr/lib, but don't keep the symlinks so nothing
41 # will link against libman and libmandb as they are not stable.
42 mv -v %{BUILDROOT}%{libdir}/man-db/libman{,db}-%{version}.so %{BUILDROOT}%{libdir}
43 rm -rf %{BUILDROOT}%{libdir}/man-db/
435e4304 44
9eca7db9
MT
45 # Create cron job to regularly update the man page database.
46 mkdir -pv %{BUILDROOT}%{sysconfdir}/cron.daily
47 install -v -m 755 %{DIR_SOURCE}/man-db.cron %{BUILDROOT}%{sysconfdir}/cron.daily
48
49 # Create cache directory.
50 mkdir -pv %{BUILDROOT}/var/cache/man
802ea3af
MT
51 end
52end
906e47eb 53
802ea3af
MT
54packages
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
9eca7db9
MT
68
69 script posttransin
70 # Update the database right now.
71 %{sysconfdir}/cron.daily/man-db.cron
72 end
73
74 script posttransup
75 # Update the database right now.
76 %{sysconfdir}/cron.daily/man-db.cron
77 end
802ea3af 78 end
1f9bc2f0
MT
79
80 package %{name}-debuginfo
81 template DEBUGINFO
82 end
802ea3af 83end