X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=man-pages.spec;h=52d9823f6d2f5b0c74362ad16193aad64c0bcb0c;hb=fa09236163e7442ed1ee5f307e48a6500e44715c;hp=77e24984eddfab95f7608e7002765d00bbe03acd;hpb=dba18658d4b2daed7603268e386b82d5c323ae38;p=packages%2Fman-pages.git diff --git a/man-pages.spec b/man-pages.spec index 77e2498..52d9823 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -1,17 +1,18 @@ -Summary: System manual pages from the Linux Documentation Project -Summary(de): System-man-Seiten vom Linux Documentation Project -Summary(fr): Pages man système du Projet de Documentation Linux -Summary(pl): Podrêczniki systemowe z Linux Documentation Project -Summary(tr): Linux Belgeleme Projesinin sistem kýlavuz sayfalarý -Name: man-pages -Version: 1.22 -Release: 2 -Copyright: distributable -Group: Documentation -Source: ftp://ftp.win.tue.nl/pub/linux/man/%{name}-%{version}.tar.gz -BuildArchitectures: noarch -Buildroot: /tmp/%{name}-%{version}-root -Autoreqprov: false +Summary: System manual pages from the Linux Documentation Project +Summary(de): System-man-Seiten vom Linux Documentation Project +Summary(fr): Pages man système du Projet de Documentation Linux +Summary(pl): Podrêczniki systemowe z Linux Documentation Project +Summary(tr): Linux Belgeleme Projesinin sistem kýlavuz sayfalarý +Name: man-pages +Version: 1.28 +Release: 3 +Copyright: distributable +Group: Documentation +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 %description A large collection of man pages covering programming APIs, file @@ -73,70 +74,30 @@ geni %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{1,2,3,4,5,6,7,8}/* +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, man) /usr/man/man*/* - -%changelog -* Fri Dec 6 1998 Tomasz K³oczko - [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 - [1.22-1] -- added gzipping man pages, -- changed base Source url. - -* Fri Sep 04 1998 Wojtek ¦lusarczyk - [1.19-2] -- added pl translation, -- removed strcasecmp.3 (conflict with inn-1.5.1-devel). - -* Tue Jun 30 1998 Wojtek ¦lusarczyk - [1.19-1] -- removed gethostbyname.3 (conflict with bind-8.1.2) - -* Wed May 06 1998 Cristian Gafton -- get rid of the modutils man pages -- updated to 1.19 - -* Fri Apr 24 1998 Prospector System -- translations modified for de, fr, tr - -* Wed Apr 08 1998 Erik Troan -- updated to 1.18 - -* Sun Oct 19 1997 Erik Troan -- updated to 1.17 -- moved build root to /var - -* Thu Jul 31 1997 Erik Troan -- made a noarch package +%defattr(644,root,root,755) +%{_mandir}/man*/*