This commit is contained in:
parent
14decd3568
commit
3b6fcdb221
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 13 17:07:08 CET 2007 - werner@suse.de
|
||||
|
||||
- Add workaround for gettext 0.17
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 10 17:23:04 CET 2007 - werner@suse.de
|
||||
|
||||
|
21
man.spec
21
man.spec
@ -17,8 +17,13 @@ BuildRequires: gdbm-devel less libbz2-devel libzio-devel zlib-devel
|
||||
%else
|
||||
BuildRequires: libzio util-linux
|
||||
%endif
|
||||
%if %suse_version > 1030
|
||||
BuildRequires: gettext-runtime gettext-tools
|
||||
%else
|
||||
BuildRequires: gettext gettext-devel
|
||||
%endif
|
||||
Version: 2.5.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A Program for Displaying man Pages
|
||||
License: GPL v2 or later
|
||||
Group: System/Base
|
||||
@ -75,8 +80,15 @@ Authors:
|
||||
LDFLAGS=
|
||||
LIBS=
|
||||
export CFLAGS LDFLAGS LIBS
|
||||
# aclocal
|
||||
%if %suse_version > 1030
|
||||
if test -s /usr/share/aclocal/gettext.m4 ; then
|
||||
cp -vp /usr/share/aclocal/gettext.m4 m4/
|
||||
fi
|
||||
aclocal -I ${PWD}/m4
|
||||
autoconf -B ${PWD}/m4
|
||||
%else
|
||||
autoconf
|
||||
%endif
|
||||
./configure \
|
||||
--enable-dups \
|
||||
--enable-setuid=man \
|
||||
@ -92,6 +104,9 @@ Authors:
|
||||
--enable-nls \
|
||||
--with-config-file=%{_sysconfdir}/manpath.config \
|
||||
--without-included-gettext
|
||||
%if %suse_version > 1030
|
||||
sed -ri 's/@GETTEXT_MACRO_VERSION@/0.17/' po/Makefile
|
||||
%endif
|
||||
make nls=all
|
||||
for man in $(find man/*.UTF-8 -type f); do
|
||||
pp="$(head -n 1 $man)"
|
||||
@ -212,6 +227,8 @@ test -d var/catman/ && rm -rf var/catman/ || true
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.cron-man
|
||||
|
||||
%changelog
|
||||
* Thu Dec 13 2007 - werner@suse.de
|
||||
- Add workaround for gettext 0.17
|
||||
* Mon Dec 10 2007 - werner@suse.de
|
||||
- Update to man-db 2.5.0-4
|
||||
* No temporary files anymore due usage of pipes
|
||||
|
Loading…
Reference in New Issue
Block a user