jman_pages-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. %define rel 20150815
  2. %define jman 0.5.%{rel}
  3. Summary: Japanese manual pages
  4. Summary(ja): 日本語マニュアル・ページ集
  5. Name: jman_pages
  6. Version: %{jman}
  7. Release: 1%{?_dist_release}
  8. Source0: http://linuxjm.sourceforge.jp/man-pages-ja-%{rel}.tar.gz
  9. Source1: installman.sh.vine
  10. License: distributable
  11. Group: Applications/Documentation
  12. URL: http://linuxjm.sourceforge.jp/
  13. Obsoletes: xjman_pages
  14. Requires: man-db
  15. BuildArch: noarch
  16. BuildRequires: man-db gzip perl
  17. Buildroot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: daisuke, inagaki, yasumichi
  21. %description
  22. Japanese Manual Pages by JM-Project (Japanese Manual Project)
  23. See http://linuxjm.sourceforge.jp/ for detail.
  24. Section 1 = User Commands
  25. Section 2 = System Calls and error numbers
  26. Section 3 = Functions in the C libraries
  27. Section 4 = Device drivers (special Files) (ex. hd, sd)
  28. Section 5 = File Formats
  29. Section 6 = Games and other diversions
  30. Section 7 = Miscellaneous topics (ex. nroff, ascii)
  31. Section 8 = System maintenance and operation commands
  32. Sometimes the content can differ from Texinfo manual or roff manual
  33. in English. So if unsure reading Japanese manual, please see
  34. %{_defaultdocdir}/%{name}-%{version}/translation_list/ and try other formats.
  35. %description -l ja
  36. JM-Project (Japanese Manual Project) による, 日本語マニュアル・ページです.
  37. JM-Projectについては, http://linuxjm.sourceforge.jp/ を御覧ください.
  38. 各章の構成は英語版と同じく以下のようになっています。
  39. 第 1 章 = ユーザーコマンド
  40. 第 2 章 = システムコール
  41. 第 3 章 = C 言語ライブラリ
  42. 第 4 章 = スペシャルファイル (例: hd, sd)
  43. 第 5 章 = ファイルフォーマットとプロトコル (例: wtmp, /etc/passwd, nfs)
  44. 第 6 章 = ゲーム
  45. 第 7 章 = 約束事, マクロパッケージなど (例: nroff, ascii)
  46. 第 8 章 = システム管理
  47. なお、日本語版マニュアルが、英語版マニュアルや Texinfo 形式のマニュアルに
  48. 追従できていない場合があります。
  49. %{_defaultdocdir}/%{name}-%{version}/translation_list/ 以下にインストールされる翻訳
  50. 進行状況リストを見て、適宜他の形式のマニュアルの原文に当たってください。
  51. %prep
  52. %setup -q -n man-pages-ja-%{rel}
  53. cp %{SOURCE1} installman.sh
  54. %build
  55. ### convert encodings ###
  56. #pushd manual
  57. #for i in */man?/* ; do
  58. #mv $i $i.tmp
  59. #iconv -f euc-jp -t utf-8 $i.tmp -o $i
  60. #rm $i.tmp
  61. #done
  62. #popd
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. ### install jman pages ###
  66. make DESTDIR=$RPM_BUILD_ROOT install
  67. ### copy translation_lists for installation ###
  68. rm -rf translation_list
  69. mkdir -p translation_list
  70. pushd manual
  71. for i in */translation_list ; do
  72. j=`echo $i | cut -d/ -f1`
  73. cp -p $i ../translation_list/$j
  74. done
  75. popd
  76. # remove conflict files
  77. # shadow-utils, cdparanoia, man-db, rpm
  78. for i in \
  79. man1/chage.1 man1/gpasswd.1 man1/newgrp.1 \
  80. man1/sg.1 man5/faillog.5 man5/login.defs.5 \
  81. man5/shadow.5 man8/adduser.8 man8/chpasswd.8 \
  82. man8/faillog.8 man8/groupadd.8 man8/groupdel.8 \
  83. man8/groupmod.8 man8/grpck.8 man8/grpconv.8 \
  84. man8/grpunconv.8 man8/lastlog.8 man8/newusers.8 \
  85. man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 \
  86. man8/useradd.8 man8/userdel.8 man8/usermod.8 \
  87. man8/vipw.8 man8/vigr.8 \
  88. man1/cdparanoia.1 \
  89. man1/apropos.1 man1/man.1 man1/whatis.1 \
  90. man8/rpm.8 man8/rpm2cpio.8 man8/rpmbuild.8 man8/rpmgraph.8
  91. do
  92. rm $RPM_BUILD_ROOT%{_mandir}/ja/$i*
  93. done
  94. ### make database ###
  95. # copy makewhatis to exec by a non-root user
  96. #sed 's@/var/cache/man/whatis@%{buildroot}/usr/share/man/ja/whatis@g' \
  97. # < /usr/sbin/makewhatis > makewhatis
  98. #sh ./makewhatis $RPM_BUILD_ROOT%{_mandir}/ja/
  99. %clean
  100. rm -rf $RPM_BUILD_ROOT
  101. %files
  102. %defattr(-,root,root)
  103. %doc INSTALL README
  104. %{_mandir}/ja/*
  105. %changelog
  106. * Sun Sep 6 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.5.20150815-1
  107. - new upstream release
  108. * Sun Jul 27 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.5.20140715-1
  109. - new upstream release
  110. * Thu Nov 07 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.5.20131015-1
  111. - new upstream release
  112. - fixed date of changelog
  113. - comment out script to convert encodings
  114. * Wed Mar 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.5.20110315-1
  115. - update for man-db.
  116. * Tue Apr 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.20100315-1
  117. - remove conflict files (vipw.8,vigr.8)
  118. - change version numbering
  119. * Sat Apr 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20100315
  120. - source as of 20100315
  121. - updated SOURCE1
  122. - converted encodings to UTF-8
  123. * Sun Jul 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5-20090715vl5
  124. - source as of 20090715
  125. - move jman to %%{_mandir}/ja
  126. - remove conflict files
  127. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20081015vl5
  128. - source as of 20081015
  129. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.5-20080315vl5
  130. - applied new versioning policy, spec in utf-8
  131. * Sun Mar 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20080315vl1
  132. - source as of 20080315
  133. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20070815vl1
  134. - source as of 20070815
  135. * Thu Oct 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20061015vl1
  136. - source as of 20061015
  137. * Wed Sep 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5-20060715vl2
  138. - change Group to Applications/Documentation. <BTS:VineLinux:163>
  139. * Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20060715vl1
  140. - source as of 20060715
  141. * Mon Jan 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20060115vl1
  142. - source as of 20060115
  143. * Mon Sep 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20050915vl1
  144. - source as of 20050915
  145. * Wed Jun 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20050615vl1
  146. - source as of 20050615
  147. * Wed Feb 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20050215vl1
  148. - source as of 20050215
  149. * Fri Sep 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20040915vl1
  150. - source as of 20040915
  151. - add BuildRequires: gzip, perl
  152. * Wed Jun 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20040615vl1
  153. - source as of 20040615
  154. * Wed May 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20040415vl1
  155. - source as of 20040415
  156. * Sun Dec 21 2003 IWAI, Masaharu <iwai@alib.jp> 0.5-20031215vl1
  157. - source as of 20031215
  158. - add crontab-0days.patch (Patch0)
  159. * Wed Oct 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20031015vl1
  160. - source as of 20031015
  161. * Wed Apr 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20030415vl1
  162. - source as of 20030415
  163. * Tue Feb 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20030217vl1
  164. - source as of 20030217
  165. * Sun Sep 22 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20020915vl1
  166. - source as of 20020915
  167. - add translation_list to %doc
  168. - updated description
  169. * Thu Sep 05 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20020828vl1
  170. - source as of 20020828
  171. * Fri May 31 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5-20020515vl1
  172. - source as of 20020515
  173. * Tue Jan 15 2002 Toru Sagami <sagami@vinelinux.org> 0.5-20020115vl1
  174. - source as of 20020115
  175. * Sat Nov 17 2001 Toru Sagami <sagami@vinelinux.org>
  176. - 0.5-20011215
  177. * Sat Nov 17 2001 Toru Sagami <sagami@vinelinux.org>
  178. - 0.5-20011115: a bit modified to fit with current makewhatis
  179. * Fri Aug 17 2001 <sagami@vinelinux.org>
  180. - 0.5-20010815
  181. * Sun Jul 15 2001 <sagami@vinelinux.org>
  182. - 0.5-20010715
  183. * Tue Apr 17 2001 sagami@vinelinux.org
  184. - 0.5-20010415
  185. * Tue Sep 5 2000 Jun Nishii <jun@vinelinux.org>
  186. - 0.5-20000815
  187. * Wed Jul 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  188. - added makewhatis patch.
  189. * Thu Jul 13 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  190. - updated to 20000615.
  191. - added configure patch to create install script easily.
  192. - move man directory from /usr/share/man to /usr/share/jman.
  193. * Tue Apr 18 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  194. - updated to 20000415.
  195. - move man directory from ja_JP.ujis to ja.
  196. * Fri Mar 17 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  197. - renew the installman.sh
  198. * Wed Mar 15 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  199. - build man-20000315
  200. * Mon Dec 20 1999 Yasuhide OOMORI <dasen@typhoon.co.jp>
  201. - build man-19991215
  202. - Modified installman.sh, and %install to enable you to rebuild.
  203. * Thu Nov 11 1999 Jun Nishii <jun@flatout.org>
  204. - build man-991015
  205. - remove xjman (merged to XFree86)
  206. * Mon Sep 27 1999 Jun Nishii <jun@flatout.org>
  207. - build with good-whatis
  208. * Fri Apr 23 1999 Jun Nishii <jun@flatout.org>
  209. - added bug fixed man pages
  210. - move to /usr/share/man
  211. * Thu Mar 4 1999 Jun Nishii <jun@flatout.org>
  212. - added a message in summary, take a little time for installation
  213. * Thu Mar 4 1999 Jun Nishii <jun@flatout.org>
  214. - merged some bug fixed manuals
  215. - added rpm.8 rpm2cpio.8 (thanks Mr.Kanda)
  216. * Sat Jan 2 1999 Jun Nishii <jun@flatout.org>
  217. - updated to 0.4
  218. * Wed Nov 11 1998 Jun Nishii <jun@flatout.org>
  219. - use -p for makewhatis
  220. * Tue Oct 06 1998 Jun Nishii <jun@flatout.org>
  221. - first release