SHA256
1
0
forked from pool/man
OBS User unknown
2008-05-16 12:43:35 +00:00
committed by Git OBS Bridge
parent b56f7565c4
commit 7a4e1342c5
2 changed files with 30 additions and 21 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 13 15:22:58 CEST 2008 - werner@suse.de
- Avoid tab stops in section names
-------------------------------------------------------------------
Wed Apr 23 13:12:12 CEST 2008 - werner@suse.de

View File

@@ -24,7 +24,7 @@ BuildRequires: gettext-runtime gettext-tools
BuildRequires: gettext gettext-devel
%endif
Version: 2.5.1
Release: 3
Release: 9
Summary: A Program for Displaying man Pages
License: GPL v2 or later
Url: https://savannah.nongnu.org/projects/man-db
@@ -79,6 +79,27 @@ Authors:
%if %suse_version > 1030
gettextize --force --copy --no-changelog
%endif
SEC=(0 1 n l 8 3 2 5 4 9 6 7
1x 3x 4x 5x 6x 8x
1bind 3bind 5bind 7bind 8bind
1cn 8cn
1m 1mh 5mh 8mh
1netpbm 3netpbm 5netpbm
0p 1p 3p 3posix
1pgsql 3pgsql 5pgsql
3C++ 8C++
3blt
3curses 3ncurses 3form 3menu
3db 3gdbm 3f 3gk 3paper
3mm 5mm
3perl 3pm 3pq
3qt 3pub 3readline
1ssl 3ssl 5ssl 7ssl
3t 3tk 3tcl 3tclx 3tix
7l 7nr
8c
Cg g s m)
SEC="${SEC[@]}"
rm -f configure
CFLAGS="${RPM_OPT_FLAGS} -funroll-loops -pipe -D_GNU_SOURCE -D_SVID_SOURCE -Wall"
LDFLAGS=
@@ -113,26 +134,7 @@ Authors:
--enable-nls \
--with-config-file=%{_sysconfdir}/manpath.config \
--without-included-gettext \
--with-sections="0 1 n l 8 3 2 5 4 9 6 7 \
1x 3x 4x 5x 6x 8x \
1bind 3bind 5bind 7bind 8bind \
1cn 8cn \
1m 1mh 5mh 8mh \
1netpbm 3netpbm 5netpbm \
0p 1p 3p 3posix \
1pgsql 3pgsql 5pgsql\
3C++ 8C++ \
3blt \
3curses 3ncurses 3form 3menu \
3db 3gdbm 3f 3gk 3paper \
3mm 5mm \
3perl 3pm 3pq \
3qt 3pub 3readline \
1ssl 3ssl 5ssl 7ssl \
3t 3tk 3tcl 3tclx 3tix \
7l 7nr \
8c \
Cg g s m"
--with-sections="${SEC}"
make nls=all
for man in $(find man/ -type f -a -name '*.man[0-9]'); do
pp="$(head -n 1 $man)"
@@ -270,6 +272,8 @@ test -d var/catman/ && rm -rf var/catman/ || true
%{_localstatedir}/adm/fillup-templates/sysconfig.cron-man
%changelog
* Tue May 13 2008 werner@suse.de
- Avoid tab stops in section names
* Wed Apr 23 2008 werner@suse.de
- Use speedup for bnc#381830 only in mandb as man would be break
- Avoid trouble with -Wl,--as-needed therefore fore -lbz2 and -lz