From 0901eab507fe7af216b80bf2b36158996c39b54c Mon Sep 17 00:00:00 2001 From: Petr Kubat Date: Thu, 8 Dec 2016 12:35:09 +0100 Subject: [PATCH] Add man pages for libdb-utils --- .gitignore | 1 + libdb.spec | 11 ++++++++++- sources | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 83f4122..e9c62d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /db.1.85.tar.gz /db-5.3.21.tar.gz /db-5.3.28.tar.gz +/libdb-5.3.28-manpages.tar.gz diff --git a/libdb.spec b/libdb.spec index 2ea8064..97b84c6 100644 --- a/libdb.spec +++ b/libdb.spec @@ -4,11 +4,13 @@ Summary: The Berkeley DB database library for C Name: libdb Version: 5.3.28 -Release: 15%{?dist} +Release: 16%{?dist} Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz # For mt19937db.c Source2: http://www.gnu.org/licenses/lgpl-2.1.txt +# libdb man pages generated from the 5.3.28 documentation +Source3: libdb-5.3.28-manpages.tar.gz Patch0: libdb-multiarch.patch # db-1.85 upstream patches Patch10: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.1 @@ -200,6 +202,7 @@ for building programs which use the Berkeley DB in Java. %prep %setup -q -n db-%{version} -a 1 cp %{SOURCE2} . +tar -xf %{SOURCE3} %patch0 -p1 -b .multiarch pushd db.1.85/PORT/linux @@ -274,6 +277,7 @@ popd rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_includedir} mkdir -p ${RPM_BUILD_ROOT}%{_libdir} +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 %makeinstall STRIP=/bin/true -C dist/dist-tls @@ -313,6 +317,7 @@ rm -rf docs/csharp rm -rf examples/csharp rm -rf docs/installation mv examples docs +mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1 %clean rm -rf ${RPM_BUILD_ROOT} @@ -381,6 +386,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_bindir}/db*_upgrade %{_bindir}/db*_verify %{_bindir}/db*_tuner +%{_mandir}/man1/db_* %files cxx %defattr(-,root,root,-) @@ -423,6 +429,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/libdb_java.so %changelog +* Thu Dec 08 2016 Petr Kubat 5.3.28-16 +- Add man pages for libdb-utils + * Mon Nov 14 2016 Petr Kubat 5.3.28-15 - Fix mutexes not being released properly (#1272680) diff --git a/sources b/sources index 50c29c3..5699f8b 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ b99454564d5b4479750567031d66fe24 db-5.3.28.tar.gz 42cc6c1e1e25818bd3e3f91328edb0f1 db.1.85.tar.gz +541c8b55eb210d05bc31d67436a9db10 libdb-5.3.28-manpages.tar.gz