Add man pages for libdb-utils

This commit is contained in:
Petr Kubat 2016-12-08 12:35:09 +01:00
parent 77e472ab40
commit 0901eab507
3 changed files with 12 additions and 1 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <pkubat@redhat.com> 5.3.28-16
- Add man pages for libdb-utils
* Mon Nov 14 2016 Petr Kubat <pkubat@redhat.com> 5.3.28-15
- Fix mutexes not being released properly (#1272680)

View File

@ -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