Summary(pl): Podrêczniki systemowe z Linux Documentation Project
Summary(tr): Linux Belgeleme Projesinin sistem kýlavuz sayfalarý
Name: man-pages
-Version: 1.23
-Release: 1
+Version: 1.28
+Release: 3
Copyright: distributable
Group: Documentation
-Source: ftp://ftp.win.tue.nl/pub/linux/man/%{name}-%{version}.tar.gz
+Group(pl): Dokumentacja
+Source: ftp://ftp.us.kernel.org/pub/linux/docs/manpages/%{name}-%{version}.tar.bz2
BuildArch: noarch
Buildroot: /tmp/%{name}-%{version}-root
Autoreqprov: false
%setup -q
%build
-rm -fv man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install}.1
-rm -fv man1/{ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,touch}.1
-rm -fv man2/{modules,quotactl,get_kernel_syms}.2
+rm -fv man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install,diff}.1
+rm -fv man1/{ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,touch,dir,vdir}.1
+rm -fv man2/{modules,quotactl,get_kernel_syms,capget,capset}.2
rm -fv man2/{create,delete,init,query}_module.2
-rm -fv man3/resolver.3
-rm -fv man3/getnetent.3
-rm -fv man3/gethostbyname.3
+rm -fv man3/{resolver,getnetent,strcasecmp}.3
rm -fv man4/console.4
-rm -fv man5/exports.5
-rm -fv man5/nfs.5
-rm -fv man5/fstab.5
-rm -fv man3/strcasecmp.3
-rm -fv man1/lilo.conf.5
+rm -fv man5/{exports,lilo.conf,nfs,fstab,passwd}.5
rm -fv man8/lilo.8
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/man/man{1,2,3,4,5,6,7,8}
-for n in man?/*; do
- install $n $RPM_BUILD_ROOT/usr/man/$n
+install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8}
+for n in man{1,2,3,4,5,6,7,8}/*; do
+ install $n $RPM_BUILD_ROOT%{_mandir}/$n
done
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/*
+rm -f $RPM_BUILD_ROOT%{_mandir}/man*/README*
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/*
%clean
rm -rf $RPM_BUILD_ROOT
%files
-%attr(644,root,root) /usr/man/man*/*
-
-%changelog
-* Tue Mar 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.23-1]
-- removed man group from man pages.
-
-* Fri Dec 6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.22-2]
-- removed lilo(5), lilo.conf(8) man pages (will be in lilo package),
-- %defattr changed to %attr.
-
-* Sun Nov 29 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.22-1]
-- added gzipping man pages,
-- changed base Source url.
-
-* Fri Sep 04 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
- [1.19-2]
-- added pl translation,
-- removed strcasecmp.3 (conflict with inn-1.5.1-devel).
-
-* Tue Jun 30 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
- [1.19-1]
-- removed gethostbyname.3 (conflict with bind-8.1.2)
-
-* Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
-- get rid of the modutils man pages
-- updated to 1.19
-
-* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Wed Apr 08 1998 Erik Troan <ewt@redhat.com>
-- updated to 1.18
-
-* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
-- updated to 1.17
-- moved build root to /var
-
-* Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
-- made a noarch package
+%defattr(644,root,root,755)
+%{_mandir}/man*/*