Add packaging accepted/trunk/20130315.154701 submit/trunk/20130311.200120
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Fri, 8 Mar 2013 01:46:27 +0000 (17:46 -0800)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Mon, 11 Mar 2013 20:01:11 +0000 (13:01 -0700)
Change-Id: If53d5c7852ab2e5a347c3e8d2c3f0bdf71ffbb93

packaging/man-db.changes [new file with mode: 0644]
packaging/man-db.spec [new file with mode: 0644]

diff --git a/packaging/man-db.changes b/packaging/man-db.changes
new file mode 100644 (file)
index 0000000..fd2707f
--- /dev/null
@@ -0,0 +1,4 @@
+* Mon Mar 11 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> upstream/2.6.3@52bf9dc
+- Add packaging
+- Imported Upstream version 2.6.3
+
diff --git a/packaging/man-db.spec b/packaging/man-db.spec
new file mode 100644 (file)
index 0000000..af04063
--- /dev/null
@@ -0,0 +1,76 @@
+Name:           man-db
+Version:        2.6.3
+Release:        1
+License:        GPL-2.0+
+Summary:        A set of documentation tools: man, apropos and whatis
+Url:            http://man-db.nongnu.org/
+Group:          System/Base
+Source:         %{name}-%{version}.tar.xz
+BuildRequires:  db4-devel
+BuildRequires:  gettext
+BuildRequires:  groff
+BuildRequires:  pkgconfig(libpipeline)
+Requires:       /bin/mktemp
+Requires:       bzip2
+Requires:       coreutils
+Requires:       groff >= 1.18
+Requires:       gzip
+Requires:       less
+Requires:       lzma
+Provides:       man
+
+%description
+The man package includes three tools for finding information and/or
+documentation about your Linux system: man, apropos, and whatis. The
+man system formats and displays on-line manual pages about commands or
+functions on your system. Apropos searches the whatis database
+(containing short descriptions of system commands) for a string.
+Whatis searches its own database for a complete word.
+
+The man package should be installed on your system because it is the
+primary way to find documentation on a Linux system.
+
+%prep
+%setup -q
+
+%build
+%configure --libdir=%{_libdir} \
+       --libexecdir=%{_libdir} \
+       --sysconfdir=%{_sysconfdir} \
+       --with-db=db4 \
+       --disable-setuid \
+       --enable-mandirs=GNU \
+       --enable-mb-groff \
+       --with-sections="1 n l 8 3 0 2 5 4 9 6 7"
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%find_lang %{name} --with-man --all-name
+
+rm -rf %{buildroot}%{_datadir}/doc/man-db
+
+
+%lang_package
+
+%docs_package
+
+%files
+%config(noreplace) %{_sysconfdir}/man_db.conf
+%{_bindir}/apropos
+%{_bindir}/catman
+%{_bindir}/lexgrog
+%{_bindir}/man
+%{_bindir}/mandb
+%{_bindir}/manpath
+%{_bindir}/whatis
+%{_bindir}/zsoelim
+%{_sbindir}/accessdb
+%{_libdir}/man-db/libman-2.6.3.so
+%{_libdir}/man-db/libman.so
+%{_libdir}/man-db/libmandb-2.6.3.so
+%{_libdir}/man-db/libmandb.so
+%{_libdir}/man-db/globbing
+%{_libdir}/man-db/manconv