man-pages-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. %define posix_version 2003
  2. %define posix_release a
  3. Summary: Man (manual) pages from the Linux Documentation Project.
  4. Summary(ja): Linux ドキュメンテーションプロジェクトの Man (manual) ページ
  5. Name: man-pages
  6. Version: 3.23
  7. Release: 1%{?_dist_release}
  8. License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
  9. Group: Applications/Documentation
  10. Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.bz2
  11. # POSIX man pages
  12. Source1: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-%{posix_version}-%{posix_release}.tar.bz2
  13. Source2: man-pages_add-01.tar.bz2
  14. Source3: man-pages-extralocale.tar.bz2
  15. Source4: man-pages_syscalls-01.tar.bz2
  16. # IBM-supplied man pages for suid binaries:
  17. Source5: man-suid-bins.tar.bz2
  18. Patch1: man-pages-1.51-iconv.patch
  19. Patch28: man-pages-2.46-nscd.patch
  20. Patch36: man-pages-2.63-unimplemented.patch
  21. Patch41: man-pages-2.43-rt_spm.patch
  22. Patch44: man-pages-2.43-fadvise.patch
  23. Patch45: man-pages-2.48-passwd.patch
  24. Patch46: man-pages-2.51-nscd-conf.patch
  25. Patch49: man-pages-2.63-getent.patch
  26. Patch50: man-pages-2.63-iconv.patch
  27. Patch53: man-pages-2.78-stream.patch
  28. Patch54: man-pages-2.80-malloc_h.patch
  29. Patch55: man-pages-3.22-gai.conf.patch
  30. Patch56: man-pages-3.22-strcpy.patch
  31. Patch57: man-pages-3.22-nsswitch.conf.patch
  32. Patch58: man-pages-3.23-proc.patch
  33. Patch59: man-pages-3.23-ld.so.patch
  34. Buildroot: %{_tmppath}/%{name}-%{version}-root
  35. Autoreqprov: false
  36. BuildArchitectures: noarch
  37. %description
  38. A large collection of man pages (documentation) from the Linux
  39. Documentation Project (LDP).
  40. %prep
  41. %setup -q -n %{name}-%{version} -a 1 -a 2 -a 3 -a 4 -a 5
  42. mv man-pages-posix-%{posix_version}-%{posix_release}/* ./
  43. rmdir man-pages-posix-%{posix_version}-%{posix_release}
  44. %patch1 -p1
  45. %patch28 -p1
  46. %patch36 -p1
  47. %patch41 -p1
  48. %patch44 -p1
  49. %patch45 -p1
  50. %patch46 -p1
  51. %patch49 -p1
  52. %patch50 -p1
  53. %patch53 -p1
  54. %patch54 -p1
  55. %patch55 -p1
  56. %patch56 -p1
  57. %patch57 -p1
  58. %patch58 -p1
  59. %patch59 -p1
  60. ### And now remove those we are not going to use:
  61. # Part of quota
  62. rm -v man2/quotactl.2
  63. # Only briefly part of a devel version of glibc
  64. rm -v man3/getipnodeby{name,addr}.3 man3/freehostent.3
  65. # Part of libattr-devel
  66. rm -v man2/{,f,l}{get,list,remove,set}xattr.2
  67. # Problem with db x db4 (#198597) - man pages are obsolete
  68. rm -v man3/{btree,dbopen,hash,mpool,recno}.3
  69. # Remove rpcinfo page - obsolete
  70. rm -v man8/rpcinfo.8
  71. # Deprecated
  72. rm -v man2/pciconfig_{write,read,iobase}.2
  73. # Part of squid
  74. rm -v man8/ncsa_auth.8
  75. # Part of numactl package
  76. rm -v man5/numa_maps.5
  77. # Vine
  78. # Part of shadow-utils
  79. rm -v man3/getspnam.3
  80. # part of bind
  81. rm -v man5/resolv.conf.5
  82. # Part of bind-utils
  83. rm -v man5/resolver.5
  84. # Compress/Uncompress man pages
  85. rm -v man1p/uncompress.1p
  86. rm -v man1p/compress.1p
  87. # Part of util-linux
  88. rm -v man1p/renice.1p
  89. # Obsolete
  90. rm -f man3/infnan.3
  91. %build
  92. %install
  93. rm -rf $RPM_BUILD_ROOT
  94. instdir=$RPM_BUILD_ROOT%{_mandir}
  95. for sec in 0p 1 1p 2 3 3p 4 5 6 7 8 9; do
  96. mkdir -p $instdir{,/en}/man$sec
  97. for f in man$sec/*.$sec; do
  98. case $f in
  99. man$sec/'*'.$sec)
  100. # this dir is empty
  101. continue ;;
  102. man7/iso_8859-*.7)
  103. enc=${f#man7/}
  104. enc=${enc%.7}
  105. enc=ISO-${enc#iso_}
  106. LANG=en iconv -f $enc -t utf-8 -o $instdir/$f $f ;;
  107. man7/koi8-r.7)
  108. enc=${f#man7/}
  109. enc=${enc%.7}
  110. LANG=en iconv -f $enc -t utf-8 -o $instdir/$f $f ;;
  111. *)
  112. LANG=en iconv -f latin1 -t utf-8 -o $instdir/en/$f $f
  113. LANG=en iconv -f utf-8 -t ascii//translit -o $instdir/$f $instdir/en/$f
  114. cmp -s $instdir/$f $instdir/en/$f &&
  115. rm $instdir/en/$f ;;
  116. esac
  117. done
  118. done
  119. %clean
  120. rm -rf $RPM_BUILD_ROOT
  121. %files
  122. %defattr(0644,root,root,0755)
  123. %doc README man-pages-%{version}.Announce POSIX-COPYRIGHT
  124. %{_mandir}/man*/*
  125. %lang(en) %{_mandir}/en/man*
  126. %changelog
  127. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.23-1
  128. - added Japanese summary
  129. - updated Sources and Patches based on Fedora 3.23-3
  130. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.21-1vl5
  131. - applied new versioning policy, spec in utf-8
  132. * Wed Sep 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.21-1vl2
  133. - change Group to Applications/Documentation. <BTS:VineLinux:163>
  134. * Mon Jan 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.21-1vl1
  135. - added Japanese summary
  136. - updated 2.21 based on Fedora 2.21-1
  137. * Mon Jan 16 2006 Ivana Varekova <varekova@redhat.com> 2.21-1
  138. - add the description of reload-count option (nscd.conf
  139. man page - bug 177368)
  140. * Tue Dec 13 2005 Ivana Varekova <varekova@redhat.com> 2.16-2
  141. - fix bug 174628 - mmap(2) CAN return mappings at location 0
  142. * Thu Sep 29 2005 Ivana Varekova <varekova@redhat.com> 2.07-7
  143. - fix typo in nsswitch.conf man page (bug 169309)
  144. * Mon Sep 12 2005 Ivana Varekova <varekova@redhat.com> 2.07-3
  145. - fix socket.7 man page - fix information about SO_RCVLOWAT option
  146. (bug 163120)
  147. * Tue Aug 23 2005 Ivana Varekova <varekova@redhat.com> 2.07-2
  148. - add sln.8 man page (bug 10601)
  149. * Mon Jul 04 2005 Jiri Ryska <jryska@redhat.com> 2.05-1
  150. - update to 2.05
  151. - atanh(3) fix
  152. - issue(5) fix
  153. - ldd(1) fix
  154. - removed man1p/{compress,uncompress,renice}.1p
  155. * Sun Mar 21 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.66-0vl1
  156. - updated 1.66
  157. - added Patch5--15 from Fedora 1.66-2
  158. * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.60-0vl1
  159. - new upstream release 1.60
  160. - dropped SOURCE3, 4 and 5
  161. * Sun Sep 29 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.53-0vl1
  162. - new upstream release 1.53
  163. * Wed Aug 14 2002 IWAI Masaharu <iwai@alib.jp> 1.52-2vl1
  164. - sync Rawhide 1.52-2
  165. - upstream release
  166. - added Patch1, 2 and 3
  167. - removed getipnodebyname.3, getipnodebyname.3, freehostent.3
  168. - Fix reference in rpcgen(1) - #69740
  169. - Fix #63547
  170. - Mentium mem=nopentium in bootparam(7) - #60487
  171. - Fix to iconv(1) - #66441
  172. - Ret value of iconv(3) was wrong (#65375)
  173. - Remove getipnodebyname, getipnodebyname, freehostent - they were
  174. only briefly part of a glibc devel version (#62646)
  175. * Wed Mar 06 2002 Toru Sagami <sagami@vinelinux.org> 1.47-1vl1
  176. - 1.47
  177. * Wed Oct 10 2001 Toru Sagami <sagami@vinelinux.org> 1.40-1vl1
  178. - remove resolv.conf.5
  179. * Tue Sep 25 2001 Trond Eivind Glomsr藷?<teg@redhat.com> 1.40-1
  180. - 1.40. Remove now included patches.
  181. * Tue Sep 4 2001 Trond Eivind Glomsr藷?<teg@redhat.com> 1.39-2
  182. - New strptime.3, from the ftp site. Matches glibc better.
  183. - Fix missing .br in netdevices.7 (#53091)
  184. * Tue Aug 7 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  185. - 1.39
  186. - Drop obsolete patches
  187. * Tue Jul 24 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  188. - s/NSF/NFS/ in initrd.4 - (#48322)
  189. * Mon Jul 2 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  190. - regcomp and friends support collating elements now (#46939)
  191. * Thu Jun 21 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  192. - 1.38
  193. * Fri Jun 8 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  194. - 1.37
  195. * Thu Jun 7 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  196. - Remove capset(2) - part of libcap (#43828)
  197. * Fri Jun 1 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  198. - Remove diff.1 - let diffutils include it instead
  199. - Remove capget.2 - it's included in libcap
  200. - Keep resolv.conf.5 - it's useful on systems without bind packages
  201. - Fix bootparam.7 (patch from Tim Waugh (twaugh@redhat.com)
  202. * Tue May 22 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  203. - 1.36
  204. - drop some old patches, redo others
  205. * Thu May 17 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  206. - Work around bug in groff for latin1.7 (#41118)
  207. * Wed Apr 4 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  208. - use MS_SYNCHRONOUS instead of MS_SYNC in mount(2) (#34665)
  209. * Tue Apr 3 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  210. - roff fixes to multiple man pages
  211. * Mon Apr 2 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  212. - correct the URL for unicode in the charset manpage (#34291)
  213. - roff fixes
  214. - redo iconv patch, so we don't get a .orig from patch because of
  215. a two line offset
  216. * Fri Mar 30 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  217. - remove resolv.conf (bind-utils) and infnan (obsolete - #34171)
  218. * Wed Mar 28 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  219. - resurrect getnetent(3)
  220. * Sun Mar 25 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  221. - 1.35, obsoletes patch for strsep
  222. - move rpcinfo to section 8 (#33114)
  223. * Fri Mar 9 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  224. - Include man-pages on locales (#29713)
  225. * Tue Feb 13 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  226. - fix return value of strsep(3) call (#24789)
  227. * Mon Jan 15 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  228. - 1.34
  229. * Fri Dec 15 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  230. - 1.33
  231. - obsolete some old, now included patches
  232. - remove netman-cvs, it's now older than the mainstream
  233. * Tue Nov 21 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  234. - Identify two of the macros in stat(2) as GNU, not POSIX. (#21169)
  235. * Wed Nov 08 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  236. - don't delete the man pages for dlopen() and friends,
  237. they are no longer part of another package
  238. - include man pages for ld*
  239. * Thu Oct 24 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  240. - remove const from iconv function prototype (#19486)
  241. * Tue Aug 29 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  242. - reference wctype(3) instead of non-existing ctype(3)
  243. from regex(7) (#17037)
  244. - 1.31
  245. * Sun Aug 27 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  246. - remove lilo man pages (now included in package)
  247. (#16984)
  248. * Fri Aug 04 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  249. - fixed bad header specification (#15364)
  250. - removed obsolete patches from package
  251. - updated the rest
  252. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  253. - automatic rebuild
  254. * Mon Jun 19 2000 Matt Wilson <msw@redhat.com>
  255. - defattr before docs in filelist
  256. * Sun Jun 17 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  257. - updated to 1.30
  258. * Tue Jun 06 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  259. - use %%{_tmppath}
  260. * Wed May 31 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  261. - remove resolv.conf(5) - part of bind-utils
  262. * Tue May 30 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  263. - Remove resolver, dlclose, dlerror, dlopen, dlsym as these
  264. are included in other packages.
  265. * Tue May 30 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  266. - use %%{_mandir) instead of /usr/man
  267. - verify and fix bug in mmap man page (#7382)
  268. - verify and fix missing data in recvfrom man page (#1736)
  269. - verify and fix missing data in putw man page (#10104)
  270. - fixed sendfile(2) man page (#5599)
  271. - fixed tzset man page (#11623)
  272. * Mon May 15 2000 Trond Eivind Glomsr藷?<teg@redhat.com>
  273. - updated to 1.29
  274. - split off other languages into separate RPMS
  275. * Thu Mar 16 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  276. - do not use group "man"
  277. * Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
  278. - don't apply the netman-cvs man pages anymore, as they seem to be really
  279. out of date
  280. * Sat Feb 05 2000 Cristian Gafton <gafton@redhat.com>
  281. - put back man3/resolver.3
  282. * Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com>
  283. - remove non-man pages (#7814)
  284. * Fri Feb 4 2000 Matt Wilson <msw@redhat.com>
  285. - exclude dir.1 and vdir.1 (these are in the fileutils package)
  286. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  287. - version 1.28
  288. * Fri Nov 05 1999 Michael K. Johnson <johnsonm@redhat.com>
  289. - Fixed SIGILL, SIGQUIT in signals.7
  290. * Wed Oct 06 1999 Cristian Gafton <gafton@redhat.com>
  291. - fix man page for getcwd
  292. * Wed Sep 22 1999 Cristian Gafton <gafton@redhat.com>
  293. - added man pages for set/getcontext
  294. * Tue Sep 14 1999 Bill Nottingham <notting@redhat.com>
  295. - remove some bad man pages
  296. * Mon Sep 13 1999 Preston Brown <pbrown@redhat.com>
  297. - czech, german, spanish, russian man pages
  298. * Thu Sep 09 1999 Cristian Gafton <gafton@redhat.com>
  299. - version 1.26
  300. - add french man pages
  301. - add italian man pages
  302. * Fri Jul 23 1999 Jeff Johnson <jbj@redhat.com>
  303. - update to 1.25.
  304. * Fri Apr 16 1999 Cristian Gafton <gafton@redhat.com>
  305. - fiox man page fro ftw
  306. * Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
  307. - spellnig fixse
  308. * Tue Mar 30 1999 Bill Nottingham <notting@redhat.com>
  309. - updated to 1.23
  310. * Thu Mar 25 1999 Cristian Gafton <gafton@redhat.com>
  311. - added kernel net manpages
  312. * Mon Mar 22 1999 Erik Troan <ewt@redhat.com>
  313. - updated printf man page
  314. - added rpcgen man page
  315. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  316. - auto rebuild in the new build environment (release 6)
  317. * Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
  318. - leave the lilo man pages alone (oops)
  319. * Fri Feb 12 1999 Michael Maher <mike@redhat.com>
  320. - fixed bug #413
  321. * Mon Jan 18 1999 Cristian Gafton <gafton@redhat.com>
  322. - remove lilo man pages too
  323. - got rebuilt for 6.0
  324. * Tue Sep 08 1998 Cristian Gafton <gafton@redhat.com>
  325. - version 1.21
  326. * Sat Jun 20 1998 Jeff Johnson <jbj@redhat.com>
  327. - updated to 1.20
  328. * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
  329. - get rid of the modutils man pages
  330. - updated to 1.19
  331. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  332. - translations modified for de, fr, tr
  333. * Wed Apr 08 1998 Erik Troan <ewt@redhat.com>
  334. - updated to 1.18
  335. * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
  336. - updated to 1.17
  337. - moved build root to /var
  338. * Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
  339. - made a noarch package