5 Summary: A set of documentation tools: man, apropos and whatis
6 Url: http://man-db.nongnu.org/
8 Source: %{name}-%{version}.tar.gz
10 Source1001: man-db.manifest
13 BuildRequires: db4-devel
14 BuildRequires: gettext
16 BuildRequires: pkgconfig(libpipeline)
20 Requires: groff >= 1.18
27 The man package includes three tools for finding information and/or
28 documentation about your Linux system: man, apropos, and whatis. The
29 man system formats and displays on-line manual pages about commands or
30 functions on your system. Apropos searches the whatis database
31 (containing short descriptions of system commands) for a string.
32 Whatis searches its own database for a complete word.
34 The man package should be installed on your system because it is the
35 primary way to find documentation on a Linux system.
42 export CFLAGS+=" -fPIC"
43 export LDFLAGS+=" -pie"
46 ./bootstrap --no-git --gnulib-srcdir=gnulib
48 %configure --libdir=%{_libdir} \
49 --libexecdir=%{_libdir} \
50 --sysconfdir=%{_sysconfdir} \
53 --enable-mandirs=GNU \
55 --with-sections="1 n l 8 3 0 2 5 4 9 6 7"
62 # remove service files
63 rm -f %{buildroot}/lib/systemd/system/man-db.*
64 rm -f %{buildroot}/usr/lib/tmpfiles.d/man-db.conf
67 rm -f %{buildroot}/%{_datadir}/doc/%{name}/%{name}-manual.*
69 %find_lang %{name} --with-man --all-name
75 %manifest %{name}.manifest
77 %config(noreplace) %{_sysconfdir}/man_db.conf
87 %{_libdir}/man-db/libman-*.so
88 %{_libdir}/man-db/libman.so
89 %{_libdir}/man-db/libmandb-*.so
90 %{_libdir}/man-db/libmandb.so
91 %{_libdir}/man-db/globbing
92 %{_libdir}/man-db/manconv
93 %{_libdir}/man-db/zsoelim