update to 2.5.9

This commit is contained in:
Ivana Hutarova Varekova 2010-11-23 15:03:43 +01:00
parent f07c39efa9
commit 8e4dee2ec4

View File

@ -2,8 +2,8 @@
Summary: Tools for searching and reading man pages
Name: man-db
Version: 2.5.7
Release: 8%{?dist}
Version: 2.5.9
Release: 1%{?dist}
# project man-db GPLv2+
# Gnulib part GPLv3+
License: GPLv2+ and GPLv3+
@ -12,7 +12,7 @@ URL: http://www.nongnu.org/man-db/
Source0: http://mirrors.igsobe.com/nongnu/man-db/%{name}-%{version}.tar.gz
Source1: man-db.crondaily
Source2: man-db.sysconfig
# this patch adds cron job which daily update whatis database
Patch0: man-db-2.5.9-config.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: man < 2.0
Provides: man-pages-reader = %{version}
@ -31,6 +31,7 @@ manual pages.
%prep
%setup -q
%patch0 -p1 -b .conf
%build
%configure\
@ -58,6 +59,9 @@ rm $RPM_BUILD_ROOT%{_mandir}/de/man5/manpath.5
rm $RPM_BUILD_ROOT%{_mandir}/de/man8/catman.8
rm $RPM_BUILD_ROOT%{_mandir}/de/man8/mandb.8
# remove libtool archives
rm $RPM_BUILD_ROOT%{_libdir}/man-db/*.la
# install cache directory
install -d -m 0755 $RPM_BUILD_ROOT%{cache}
@ -87,6 +91,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/lexgrog
%{_bindir}/catman
%{_bindir}/mandb
%{_libdir}/man-db/*.so
%dir %{_libexecdir}/man-db
%{_libexecdir}/man-db/globbing
%{_libexecdir}/man-db/manconv
@ -104,11 +109,13 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/mandb.8*
%lang(de) %{_datadir}/man/de/man*/*
%lang(es) %{_datadir}/man/es/man*/*
%lang(fr) %{_datadir}/man/fr/man*/*
%lang(it) %{_datadir}/man/it/man*/*
%lang(ja) %{_datadir}/man/ja/man*/*
%changelog
* Mon Nov 22 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.9-1
- update to 2.5.9
* Fri Oct 1 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2.5.7-8
- add less buildrequire