Репозитории ALT
5.1: | 1.6f-alt11 |
4.1: | 1.6f-alt1 |
4.0: | 1.5m2-alt4 |
+backports: | 1.6f-alt5.M40.1 |
3.0: | 1.5m2-alt3 |
Группа :: Система/Основа
Пакет: man
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: man
Version: 1.5m2
Release: alt4
Summary: A set of documentation tools: %name, apropos and whatis
License: GPL
Group: System/Base
Url: http://primates.ximian.com/~flucifredi/man/
Packager: Alexey Voinov <voins at altlinux.ru>
Source0: ftp://ftp.win.tue.nl/pub/linux-local/utils/%name/%name-%version.tar.bz2
Source1: makewhatis.cron.daily
Source2: makewhatis.cron.weekly
Patch0: man-1.5m2-cvs-fixes.patch
Patch1: man-1.5m2-alt-configure.patch
Patch2: man-1.5m2-alt-makefile.patch
Patch3: man-1.5m2-alt-bzip2.patch
Patch5: man-1.5k-alt-conf.patch
Patch6: man-1.5k-mdk-lookon.patch
Patch7: man-1.5m2-alt-apropos.patch
Patch8: man-1.5m2-alt-makewhatis.patch
Patch9: man-1.5k-alt-msgs.patch
Patch10: man-1.5m2-alt-manpath.patch
Patch11: man-1.5m2-alt-recode.patch
Patch12: man-1.5m2-alt-recode2.patch
Patch13: man-1.5m2-alt-unlatin1.patch
Patch14: man-1.5m2-alt-man2dvi.patch
Patch15: man-1.5m2-alt-utf8whatis.patch
Patch16: man-1.5m2-alt-my_xsprintf.patch
PreReq: shadow-utils
Requires: groff-base >= 1.18.1-alt4, getopt, mktemp >= 1:1.3.1, less
Provides: %_sysconfdir/cron.daily/makewhatis
# Automatically added by buildreq on Wed Mar 12 2003
BuildRequires: groff-base less
%description
The man package includes three tools for finding information and/or
documentation about your Linux system: man, apropos and whatis.
The man system formats and displays on-line manual pages about commands
or functions on your system. apropos searches the whatis database
(containing short descriptions of system commands) for a string.
whatis searches its own database for a complete word.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
#%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%build
./configure -default -confdir /etc +sgid +fsstnd +fhs +lang all
# SMP-incompatible build.
%make CC="gcc %optflags -D_GNU_SOURCE" LDFLAGS=
%install
%make_install install PREFIX=%buildroot
install -pD -m750 %_sourcedir/makewhatis.cron.daily %buildroot%_sysconfdir/cron.daily/makewhatis
install -pD -m750 %_sourcedir/makewhatis.cron.weekly %buildroot%_sysconfdir/cron.weekly/makewhatis
# Symlinks for manpath
ln -snf %name %buildroot%_bindir/manpath
ln -snf %name.1 %buildroot%_man1dir/manpath.1
%__mkdir_p %buildroot{%_cachedir/man/{{,{local,perl,X11R6}/}cat{1,2,3,4,5,6,7,8,9,n},tmp},%_lockdir/makewhatis}
for f in %buildroot%_cachedir/man/{,{local,perl,X11R6}/}whatis; do echo >"$f"; done
find %buildroot%_mandir -type f -print0 |
xargs -r0 %__chmod 644 --
%find_lang %name
echo '%_defattr' >>%name.lang
find %buildroot%_mandir -type d -mindepth 1 -maxdepth 1 |
grep -v '/man.$' |
sed -e 's|%buildroot%_mandir/\(.*\)|%%lang(\1) %%_mandir/\1/man?/*|g' >>%name.lang
%pre
/usr/sbin/useradd -r -g man -d %_cachedir/man -s /dev/null -n cacheman >/dev/null 2>&1 ||:
%triggerpostun -- %name < 1.5m2-alt2
echo -n 'Rebuilding whatis database... '
/etc/cron.weekly/makewhatis
echo done.
%files -f %name.lang
%config(noreplace) %_sysconfdir/%name.conf
%config %_sysconfdir/cron.*/makewhatis
%_bindir/*
%attr(754,root,man) %_sbindir/makewhatis
%_mandir/man?/*
%attr(700,root,root) %_lockdir/makewhatis
%attr(3775,root,man) %dir %_cachedir/man
%attr(3775,root,man) %dir %_cachedir/man/local
%attr(3775,root,man) %dir %_cachedir/man/perl
%attr(3775,root,man) %dir %_cachedir/man/X11R6
%attr(700,cacheman,man) %dir %_cachedir/man/tmp
%attr(644,cacheman,man) %ghost %_cachedir/man/whatis
%attr(644,cacheman,man) %ghost %_cachedir/man/local/whatis
%attr(644,cacheman,man) %ghost %_cachedir/man/perl/whatis
%attr(644,cacheman,man) %ghost %_cachedir/man/X11R6/whatis
%defattr(644,root,man,2775)
%_cachedir/man/cat*
%_cachedir/man/local/cat*
%_cachedir/man/perl/cat*
%_cachedir/man/X11R6/cat*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.5m2
Release: alt4
Summary: A set of documentation tools: %name, apropos and whatis
License: GPL
Group: System/Base
Url: http://primates.ximian.com/~flucifredi/man/
Packager: Alexey Voinov <voins at altlinux.ru>
Source0: ftp://ftp.win.tue.nl/pub/linux-local/utils/%name/%name-%version.tar.bz2
Source1: makewhatis.cron.daily
Source2: makewhatis.cron.weekly
Patch0: man-1.5m2-cvs-fixes.patch
Patch1: man-1.5m2-alt-configure.patch
Patch2: man-1.5m2-alt-makefile.patch
Patch3: man-1.5m2-alt-bzip2.patch
Patch5: man-1.5k-alt-conf.patch
Patch6: man-1.5k-mdk-lookon.patch
Patch7: man-1.5m2-alt-apropos.patch
Patch8: man-1.5m2-alt-makewhatis.patch
Patch9: man-1.5k-alt-msgs.patch
Patch10: man-1.5m2-alt-manpath.patch
Patch11: man-1.5m2-alt-recode.patch
Patch12: man-1.5m2-alt-recode2.patch
Patch13: man-1.5m2-alt-unlatin1.patch
Patch14: man-1.5m2-alt-man2dvi.patch
Patch15: man-1.5m2-alt-utf8whatis.patch
Patch16: man-1.5m2-alt-my_xsprintf.patch
PreReq: shadow-utils
Requires: groff-base >= 1.18.1-alt4, getopt, mktemp >= 1:1.3.1, less
Provides: %_sysconfdir/cron.daily/makewhatis
# Automatically added by buildreq on Wed Mar 12 2003
BuildRequires: groff-base less
%description
The man package includes three tools for finding information and/or
documentation about your Linux system: man, apropos and whatis.
The man system formats and displays on-line manual pages about commands
or functions on your system. apropos searches the whatis database
(containing short descriptions of system commands) for a string.
whatis searches its own database for a complete word.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
#%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%build
./configure -default -confdir /etc +sgid +fsstnd +fhs +lang all
# SMP-incompatible build.
%make CC="gcc %optflags -D_GNU_SOURCE" LDFLAGS=
%install
%make_install install PREFIX=%buildroot
install -pD -m750 %_sourcedir/makewhatis.cron.daily %buildroot%_sysconfdir/cron.daily/makewhatis
install -pD -m750 %_sourcedir/makewhatis.cron.weekly %buildroot%_sysconfdir/cron.weekly/makewhatis
# Symlinks for manpath
ln -snf %name %buildroot%_bindir/manpath
ln -snf %name.1 %buildroot%_man1dir/manpath.1
%__mkdir_p %buildroot{%_cachedir/man/{{,{local,perl,X11R6}/}cat{1,2,3,4,5,6,7,8,9,n},tmp},%_lockdir/makewhatis}
for f in %buildroot%_cachedir/man/{,{local,perl,X11R6}/}whatis; do echo >"$f"; done
find %buildroot%_mandir -type f -print0 |
xargs -r0 %__chmod 644 --
%find_lang %name
echo '%_defattr' >>%name.lang
find %buildroot%_mandir -type d -mindepth 1 -maxdepth 1 |
grep -v '/man.$' |
sed -e 's|%buildroot%_mandir/\(.*\)|%%lang(\1) %%_mandir/\1/man?/*|g' >>%name.lang
%pre
/usr/sbin/useradd -r -g man -d %_cachedir/man -s /dev/null -n cacheman >/dev/null 2>&1 ||:
%triggerpostun -- %name < 1.5m2-alt2
echo -n 'Rebuilding whatis database... '
/etc/cron.weekly/makewhatis
echo done.
%files -f %name.lang
%config(noreplace) %_sysconfdir/%name.conf
%config %_sysconfdir/cron.*/makewhatis
%_bindir/*
%attr(754,root,man) %_sbindir/makewhatis
%_mandir/man?/*
%attr(700,root,root) %_lockdir/makewhatis
%attr(3775,root,man) %dir %_cachedir/man
%attr(3775,root,man) %dir %_cachedir/man/local
%attr(3775,root,man) %dir %_cachedir/man/perl
%attr(3775,root,man) %dir %_cachedir/man/X11R6
%attr(700,cacheman,man) %dir %_cachedir/man/tmp
%attr(644,cacheman,man) %ghost %_cachedir/man/whatis
%attr(644,cacheman,man) %ghost %_cachedir/man/local/whatis
%attr(644,cacheman,man) %ghost %_cachedir/man/perl/whatis
%attr(644,cacheman,man) %ghost %_cachedir/man/X11R6/whatis
%defattr(644,root,man,2775)
%_cachedir/man/cat*
%_cachedir/man/local/cat*
%_cachedir/man/perl/cat*
%_cachedir/man/X11R6/cat*
%changelog
…
Полный changelog можно просмотреть здесь