Summary: Man (manual) pages from the Linux Documentation Project Name: man-pages Version: 2.55 Release: 1%{?dist} License: distributable Group: Documentation URL: http://www.kernel.org/pub/linux/docs/manpages/ Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.bz2 Source1: rpcgen.1 Source2: resolver.5 Source6: man-pages-extralocale.tar.bz2 Source9: man2.tar.gz Source10: sln.8 Source11: man2_sys.tar.gz Source12: gai.conf.5 Source13: nss.5 Source14: man2_sys2.1.tar.gz Patch1: man-pages-1.51-iconv.patch Patch8: man-pages-2.48-fs.patch Patch24: man-pages-2.51-malloc.patch Patch28: man-pages-2.46-nscd.patch Patch30: man-pages-2.51-libaio-includes.patch Patch36: man-pages-2.39-unimplemented.patch Patch37: man-pages-2.51-mmap.patch Patch39: man-pages-2.55-tgkill.patch Patch40: man-pages-2.39-mmap2.patch Patch41: man-pages-2.43-rt_spm.patch Patch42: man-pages-2.43-swapon.patch Patch43: man-pages-2.43-rand.patch Patch44: man-pages-2.43-fadvise.patch Patch45: man-pages-2.48-passwd.patch Patch46: man-pages-2.51-nscd-conf.patch Patch47: man-pages-2.51-typos.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Autoreq: false BuildArch: noarch %description A large collection of man pages (documentation) from the Linux Documentation Project (LDP). %prep %setup -q -a 9 tar jxf %{SOURCE6} cp -a %{SOURCE1} man1 cp -a %{SOURCE2} man5 cp -a %{SOURCE10} man8 cp -a %{SOURCE12} man5 cp -a %{SOURCE13} man5 tar xzf %{SOURCE14} tar xzf %{SOURCE11} %patch1 -p1 %patch8 -p1 %patch24 -p1 #%patch28 -p1 #%patch30 -p1 %patch36 -p1 %patch37 -p1 %patch39 -p1 %patch40 -p1 %patch41 -p1 %patch42 -p1 %patch43 -p1 %patch44 -p1 %patch45 -p1 %patch46 -p1 %patch47 -p1 ### And now remove those we are not going to use: # These are parts of fileutils 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 man1/{dir,vdir}.1 # Part of diffutils rm -fv man1/diff.1 # Part of quota rm -fv man2/quotactl.2 ## Part of modutils - now the man pages should be here #rm -fv man2/get_kernel_syms.2 #rm -fv man2/{create,query}_module.2 # Part of console-tools rm -fv man4/console.4 # Part of shadow-utils rm -fv man3/getspnam.3 # part of nfs-utils rm -fv man5/exports.5 rm -fv man5/nfs.5 # Part of bind-utils #rm -fv man5/resolv.conf.5 # kept anyway, as it makes sense to have available # Obsolete rm -f man3/infnan.3 # Part of mount rm -fv man5/fstab.5 # Only briefly part of a devel version of glibc rm -f man3/getipnodebyname.3 rm -f man3/getipnodebyaddr.3 rm -f man3/freehostent.3 # Part of libcap rm -fv man2/capget.2 rm -fv man2/capset.2 #Compress/Uncompress man pages rm -rf man1p/uncompress.1p rm -rf man1p/compress.1p #Part of util-linux rm -rf man1p/renice.1p # Part of libattr-devel rm -f man2/{,f,l}{get,list,remove,set}xattr.2* # Part of numactl rm -f man2/{mbind,set_mempolicy}.2 # Problem with db x db4 - man pages rm -f man3/{btree,dbopen,hash,mpool,recno}.3 # Remove rpcinfo page rm -f man8/rpcinfo.8 # Deprecated rm -f man2/pciconfig_{write,read,iobase}.2 find . -name "*sudo*" | xargs --no-run-if-empty rm %build : Nothing to build. %install rm -rf $RPM_BUILD_ROOT instdir=$RPM_BUILD_ROOT%{_mandir} for sec in 0p 1 1p 2 3 3p 4 5 6 7 8 9; do mkdir -p $instdir{,/en}/man$sec for f in man$sec/*.$sec; do case $f in man$sec/'*'.$sec) # this dir is empty continue ;; man7/iso_8859-*.7 | man7/koi8-r.7) enc=${f#man7/} enc=${enc%.7} LANG=en iconv -f $enc -t utf-8 -o $instdir/$f $f ;; *) LANG=en iconv -f latin1 -t utf-8 -o $instdir/en/$f $f LANG=en iconv -f utf-8 -t ascii//translit -o $instdir/$f $instdir/en/$f cmp -s $instdir/$f $instdir/en/$f && rm $instdir/en/$f ;; esac done done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc README man-pages-%{version}.Announce POSIX-COPYRIGHT %{_mandir}/man*/* %lang(en) %{_mandir}/en/man* %changelog * Mon Jun 11 2007 Ivana Varekova - 2.55-1 - update to 2.55 * Mon Jun 4 2007 Stepan Kasal - 2.51-4 - Simplified the build and installed phases; pages are now recoded during the install. - Moved the "rm" commands from build to prep. - Added epoll_pwait.patch to fix a circular link. * Mon Jun 4 2007 Stepan Kasal - 2.51-3 - Add man-pages-2.51-nscd-conf.patch, fixes #204596 - Fix typos, man-pages-2.51-typos.patch * Thu May 31 2007 Ivana Varekova 2.51-2 - remove mount page patch - fix mmap patch * Wed May 30 2007 Ivana Varekova 2.51-1 - update to 2.51 * Mon May 21 2007 Ivana Varekova 2.49-1 - update to 2.49 * Fri May 11 2007 Ivana Varekova 2.48-1 - update to 2.48 * Mon Apr 30 2007 Ivana Varekova 2.46-1 - update to 2.46 * Wed Apr 11 2007 Ivana Varekova 2.44-1 - update to 2.44 * Mon Apr 2 2007 Steve Dickson 2.43-12 - Remove the rpcinfo man page (#228894). * Fri Mar 16 2007 Ivana Varekova 2.43-11 - Resolves: 230899 Error in the man-pages.spec file: incorrect encoding convertation * Mon Mar 12 2007 Ivana Varekova 2.43-10 - change the default buildroot * Mon Mar 12 2007 Ivana Varekova 2.43-9 - add lang macro * Tue Feb 27 2007 Ivana Varekova 2.43-8 - fix 229870 - bug in fadvise(2) - fix 229204 - bug in passwd(5) * Thu Feb 15 2007 Ivana Varekova 2.43-7 - fix rand.3 man page (#228662) thanks Mark Summerfield * Tue Feb 13 2007 Ivana Varekova 2.43-6 - Resolves: 227260 fix iso-8859 (koi8-r) man pages * Mon Jan 29 2007 Ivana Varekova 2.43-4 - fix rt_sigprocmask.2 (#219074) - remove pciconfig_{read,write,iobase}.2 (#219827) - fix swapon.2 (#222493) * Fri Jan 12 2007 Ivana Varekova 2.43-3 - fix mmap2 man page - spec file cleanup * Fri Dec 8 2006 Ivana Varekova 2.43-2 - remove old/wrong patches - fix tgkill/tkill man pages inconsistency * Fri Dec 1 2006 Ivana Varekova 2.43-1 - update to 2.43 - fix mount.2 man page (#211608) * Fri Oct 20 2006 Ivana Varekova 2.41-2 - fix mmap(2) man page * Fri Oct 20 2006 Ivana Varekova 2.41-1 - update to 2.41 * Mon Oct 2 2006 Ivana Varekova 2.39-6 - add getunwind.2, kexec_load.2, move_pages.2, perfmonctl.2, spu_create.2, spufs.2, spu_run.2 and vserver.2 man pages * Mon Aug 28 2006 Ivana Varekova 2.39-5 - add the description clone2 syscall to clone.2 man page - add multiplexer.2 man page * Wed Aug 23 2006 Ivana Varekova 2.39-4 - add (get/set)_robust_list.2 man pages - add add_key.2, keyctl.2, request_key.2 man pages (removed from keyutils-libs-devel package) - add tux.2 man page (removed from tux package) * Mon Aug 14 2006 Marcela Maslanova 2.39-3 - fix same bug better * Wed Aug 09 2006 Marcela Maslanova 2.39-2 - fix(#200681) typo * Wed Aug 09 2006 Marcela Maslanova 2.39-1 - new version 2.39 * Thu Jul 20 2006 Marcela Maslanova 2.36-2 - fix (#198903) * Fri Jul 14 2006 Ivana Varekova 2.36-1 - add nscd_conf options (nscd_conf.patch) - added {create,query}_module.2, get_kernel_syms.2 man-pages - added nscd, getrlimit, libaio and write patch - remove sigprocmask patch - update to 2.36 * Thu Jul 13 2006 Marcela Maslanova 2.34-3 - fix small typo (#198663) * Wed Jul 12 2006 Ivana Varekova 2.34-2 - remove btree, dbopen, hash, mpool and recno man-pages (#198597) * Thu Jun 29 2006 Ivana Varekova 2.34-1 - update to 2.34 - add inet patch (#189147) * Fri May 26 2006 Ivana Varekova 2.32-2 - add nss.5 man page (#192142) - add the man-pages directories (#192998) * Mon May 15 2006 Ivana Varekova 2.32-1 - update to 2.32 - add gai.conf.5 man page (#191656) * Mon Apr 18 2006 Ivana Varekova 2.29-1 - update to 2.29 - fix sigprocmask(2) man page (#189121) * Thu Mar 16 2006 Ivana Varekova 2.25-2 - fix MALLOC_CHECK_ description (#185502) * Tue Mar 14 2006 Ivana Varekova 2.25-1 - update to 2.25 - remove mbind and set_mempolicy files - fix dbopen man page (#185310) * Mon Jan 16 2006 Ivana Varekova 2.21-1 - update to 2.21 - add the description of reload-count option (nscd.conf man page - bug 177368) * Fri Jan 6 2006 Ivana Varekova 2.20-1 - update to 2.20 * Tue Dec 13 2005 Ivana Varekova 2.16-2 - fix bug 174628 - mmap(2) CAN return mappings at location 0 * Fri Dec 09 2005 Jesse Keating - rebuilt * Thu Dec 8 2005 Ivana Varekova 2.16-1 - update to 2.16 * Thu Nov 10 2005 Ivana Varekova 2.13-1 - update to 2.13 * Mon Oct 10 2005 Ivana Varekova 2.08-1 - update to 2.08 * Thu Sep 29 2005 Ivana Varekova 2.07-7 - fix typo in nsswitch.conf man page (bug 169309) * Thu Sep 29 2005 Ivana Varekova 2.07-6 - man pages updated for new audit system (added missing man-pages of some syscalls) (see bug 159225) * Tue Sep 13 2005 Ivana Varekova 2.07-5 - change termcap SEE ALSO part - bug 168131 * Mon Sep 12 2005 Ivana Varekova 2.07-3 - fix socket.7 man page - fix information about SO_RCVLOWAT option (bug 163120) * Tue Aug 23 2005 Ivana Varekova 2.07-2 - add sln.8 man page (bug 10601) * Mon Aug 8 2005 Ivana Varekova 2.07-1 - update to 2.07 * Mon Jul 04 2005 Jiri Ryska 2.05-1 - update to 2.05 - atanh(3) fix - issue(5) fix - ldd(1) fix - removed man1p/{compress,uncompress,renice}.1p * Mon Apr 4 2005 Jiri Ryska 1.67-7 - io_setup() and io_destroy() pages now refers to header file - fixed types for struct shmid_ds in shmget(2) and shmctl(2) - fixed pages for readv(2) and writev(2) * Mon Mar 7 2005 Jindrich Novy 1.67-6 - unify fs.5 patches together to get rid of the bogus fs.5.orig.gz shipped among man5 pages - bump release to 6 to avoid conflicts with RHEL4/FC3 man-pages * Wed Aug 25 2004 Adrian Havill 1.67-3 - make resolver clearer and less bind-focused (#126696) * Fri Aug 20 2004 Adrian Havill 1.67-2 - updated to latest - getrpcent/setrpcent typo (#73836) - add new resolver.5 page (#126557) - add SHM_HUGETLB option to shmget (#128837) * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Apr 16 2004 Adrian Havill 1.66-3 - fixed minor typo (#118169) * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Feb 11 2004 Adrian Havill 1.66-1 - update to 1.66 - add posix section processing for sections 0p, 1p, 3p (#114584) * Mon Dec 15 2003 Adrian Havill 1.64-2 - update to 1.64 - convert iso-8859-1 en locale pages to UTF-8 for fc2 (#108991) * Wed Sep 24 2003 Adrian Havill 1.60-4.1 - bump n-v-r * Wed Sep 24 2003 Adrian Havill 1.60-4 - transliterated ALL pages with latin-1 characters that would be displayed as either a fallback from a ascii-superset locale or from the POSIX locale into ascii (according to glibc transliteration data for locale "en"). pages with non-ascii are moved into the "en" locale. (#103214) * Thu Aug 28 2003 Adrian Havill 1.60-2 - transliterated Lichtmaier's first name for the sake of iconv (#103214) * Thu Aug 28 2003 Adrian Havill 1.60-1.1 - bumped n-v-r * Thu Aug 28 2003 Adrian Havill 1.60-1 - bumped version, removed no longer needed patches - added #define for re_comp() and re_exec() (#79703) - fixed typo in Era format specifier (#80025) - fixed ftell info for fopen with mode "a+" (#81359) - fixed prototype for shmget() (#86258) - fixed spelling in wait.2 (#86450) - obsoleted _init and _fini in dlopen() (#88408) - fixed and merged double ext3 descriptions (#103198) - issue to refer to mingetty (#86248) - synced man page with actual ld params (#97176) * Fri Aug 01 2003 Elliot Lee 1.58-2 - Remove libattr conflicts * Wed Jul 30 2003 Adrian Havill 1.58-1 - Bumped version (which also solves n-v-r conflict with RHEL) * Fri Jul 11 2003 Ernie Petrides - Modify mlock.2, mlockall.2, and shmctl.2 for change to locking permission semantics made in kernel's linux-2.4.21-mlock.patch. * Tue Apr 29 2003 Ernie Petrides - Modify semop.2 for new semtimedop(2) and add semtimedop.2 link. * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Dec 11 2002 Tim Powers 1.53-2 - rebuild * Tue Aug 27 2002 Trond Eivind Glomsrød 1.53-1 - 1.53 - Fix #71750, #72754 * Thu Jul 25 2002 Trond Eivind Glomsrød 1.52-2 - Fix reference in rpcgen(1) - #69740 * Wed Jul 24 2002 Trond Eivind Glomsrød 1.52-1 - 1.52 * Thu Jul 18 2002 Trond Eivind Glomsrød 1.51-5 - Fix #63547 * Tue Jul 9 2002 Trond Eivind Glomsrød 1.51-4 - Mentium mem=nopentium in bootparam(7) - #60487 * Fri Jun 21 2002 Tim Powers - automated rebuild * Wed Jun 12 2002 Trond Eivind Glomsrød 1.51-2 - Fix to iconv(1) - #66441 * Tue Jun 11 2002 Trond Eivind Glomsrød 1.51-1 - 1.51 * Thu Jun 6 2002 Trond Eivind Glomsrød 1.50-1 - 1.50 * Wed May 29 2002 Trond Eivind Glomsrød 1.48-4 - Bump * Thu May 23 2002 Trond Eivind Glomsrød 1.48-3 - Ret value of iconv(3) was wrong (#65375) * Thu Apr 4 2002 Trond Eivind Glomsrød 1.48-2 - Remove getipnodebyname, getipnodebyname, freehostent - they were only briefly part of a glibc devel version (#62646) * Wed Mar 13 2002 Trond Eivind Glomsrød 1.48-1 - 1.48 * Thu Feb 21 2002 Trond Eivind Glomsrød 1.47-2 - Rebuild * Tue Jan 15 2002 Trond Eivind Glomsrød 1.47-1 - 1.47 * Wed Jan 09 2002 Tim Powers - automated rebuild * Thu Dec 6 2001 Trond Eivind Glomsrød 1.44-2 - Add entry on ext3 in fs.5 (#55945) * Tue Dec 4 2001 Trond Eivind Glomsrød 1.44-1 - 1.44 - No patches required anymore - get rid of them. * Thu Nov 15 2001 Trond Eivind Glomsrød 1.43-2 - Fix docs for setresuid/setresgid (#56038) * Thu Nov 8 2001 Trond Eivind Glomsrød 1.43-1 - 1.43 * Tue Oct 23 2001 Trond Eivind Glomsrød 1.42-1 - 1.42 * Mon Oct 15 2001 Trond Eivind Glomsrød 1.41-1 - 1.41 - Remove bug section in llseek.2, which claimed ext2 don't support files bigger than 2 GB (#54569) * Tue Sep 25 2001 Trond Eivind Glomsrød 1.40-1 - 1.40. Remove now included patches. * Tue Sep 4 2001 Trond Eivind Glomsrød 1.39-2 - New strptime.3, from the ftp site. Matches glibc better. - Fix missing .br in netdevices.7 (#53091) * Tue Aug 7 2001 Trond Eivind Glomsrød - 1.39 - Drop obsolete patches * Tue Jul 24 2001 Trond Eivind Glomsrød - s/NSF/NFS/ in initrd.4 - (#48322) * Mon Jul 2 2001 Trond Eivind Glomsrød - regcomp and friends support collating elements now (#46939) * Thu Jun 21 2001 Trond Eivind Glomsrød - 1.38 * Fri Jun 8 2001 Trond Eivind Glomsrød - 1.37 * Thu Jun 7 2001 Trond Eivind Glomsrød - Remove capset(2) - part of libcap (#43828) * Fri Jun 1 2001 Trond Eivind Glomsrød - Remove diff.1 - let diffutils include it instead - Remove capget.2 - it's included in libcap - Keep resolv.conf.5 - it's useful on systems without bind packages - Fix bootparam.7 (patch from Tim Waugh (twaugh@redhat.com) * Tue May 22 2001 Trond Eivind Glomsrød - 1.36 - drop some old patches, redo others * Thu May 17 2001 Trond Eivind Glomsrød - Work around bug in groff for latin1.7 (#41118) * Wed Apr 4 2001 Trond Eivind Glomsrød - use MS_SYNCHRONOUS instead of MS_SYNC in mount(2) (#34665) * Tue Apr 3 2001 Trond Eivind Glomsrød - roff fixes to multiple man pages * Mon Apr 2 2001 Trond Eivind Glomsrød - correct the URL for unicode in the charset manpage (#34291) - roff fixes - redo iconv patch, so we don't get a .orig from patch because of a two line offset * Fri Mar 30 2001 Trond Eivind Glomsrød - remove resolv.conf (bind-utils) and infnan (obsolete - #34171) * Wed Mar 28 2001 Trond Eivind Glomsrød - resurrect getnetent(3) * Sun Mar 25 2001 Trond Eivind Glomsrød - 1.35, obsoletes patch for strsep - move rpcinfo to section 8 (#33114) * Fri Mar 9 2001 Trond Eivind Glomsrød - Include man-pages on locales (#29713) * Tue Feb 13 2001 Trond Eivind Glomsrød - fix return value of strsep(3) call (#24789) * Mon Jan 15 2001 Trond Eivind Glomsrød - 1.34 * Fri Dec 15 2000 Trond Eivind Glomsrød - 1.33 - obsolete some old, now included patches - remove netman-cvs, it's now older than the mainstream * Tue Nov 21 2000 Trond Eivind Glomsrød - Identify two of the macros in stat(2) as GNU, not POSIX. (#21169) * Wed Nov 08 2000 Trond Eivind Glomsrød - don't delete the man pages for dlopen() and friends, they are no longer part of another package - include man pages for ld* * Thu Oct 24 2000 Trond Eivind Glomsrød - remove const from iconv function prototype (#19486) * Tue Aug 29 2000 Trond Eivind Glomsrød - reference wctype(3) instead of non-existing ctype(3) from regex(7) (#17037) - 1.31 * Sun Aug 27 2000 Trond Eivind Glomsrød - remove lilo man pages (now included in package) (#16984) * Fri Aug 04 2000 Trond Eivind Glomsrød - fixed bad header specification (#15364) - removed obsolete patches from package - updated the rest * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 19 2000 Matt Wilson - defattr before docs in filelist * Sun Jun 17 2000 Trond Eivind Glomsrød - updated to 1.30 * Tue Jun 06 2000 Trond Eivind Glomsrød - use %%{_tmppath} * Wed May 31 2000 Trond Eivind Glomsrød - remove resolv.conf(5) - part of bind-utils * Tue May 30 2000 Trond Eivind Glomsrød - Remove resolver, dlclose, dlerror, dlopen, dlsym as these are included in other packages. * Tue May 30 2000 Trond Eivind Glomsrød - use %%{_mandir) instead of /usr/man - verify and fix bug in mmap man page (#7382) - verify and fix missing data in recvfrom man page (#1736) - verify and fix missing data in putw man page (#10104) - fixed sendfile(2) man page (#5599) - fixed tzset man page (#11623) * Mon May 15 2000 Trond Eivind Glomsrød - updated to 1.29 - split off other languages into separate RPMS * Thu Mar 16 2000 Florian La Roche - do not use group "man" * Fri Mar 03 2000 Cristian Gafton - don't apply the netman-cvs man pages anymore, as they seem to be really out of date * Sat Feb 05 2000 Cristian Gafton - put back man3/resolver.3 * Fri Feb 04 2000 Cristian Gafton - remove non-man pages (#7814) * Fri Feb 4 2000 Matt Wilson - exclude dir.1 and vdir.1 (these are in the fileutils package) * Thu Feb 03 2000 Cristian Gafton - version 1.28 * Fri Nov 05 1999 Michael K. Johnson - Fixed SIGILL, SIGQUIT in signals.7 * Wed Oct 06 1999 Cristian Gafton - fix man page for getcwd * Wed Sep 22 1999 Cristian Gafton - added man pages for set/getcontext * Tue Sep 14 1999 Bill Nottingham - remove some bad man pages * Mon Sep 13 1999 Preston Brown - czech, german, spanish, russian man pages * Thu Sep 09 1999 Cristian Gafton - version 1.26 - add french man pages - add italian man pages * Fri Jul 23 1999 Jeff Johnson - update to 1.25. * Fri Apr 16 1999 Cristian Gafton - fiox man page fro ftw * Mon Apr 05 1999 Cristian Gafton - spellnig fixse * Tue Mar 30 1999 Bill Nottingham - updated to 1.23 * Thu Mar 25 1999 Cristian Gafton - added kernel net manpages * Mon Mar 22 1999 Erik Troan - updated printf man page - added rpcgen man page * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 6) * Thu Mar 18 1999 Cristian Gafton - leave the lilo man pages alone (oops) * Fri Feb 12 1999 Michael Maher - fixed bug #413 * Mon Jan 18 1999 Cristian Gafton - remove lilo man pages too - got rebuilt for 6.0 * Tue Sep 08 1998 Cristian Gafton - version 1.21 * Sat Jun 20 1998 Jeff Johnson - updated to 1.20 * 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