JF-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. %define _docdir %{_defaultdocdir}
  2. Summary: HOWTO, FAQ, and other documents in Japanese
  3. Summary(ja): 日本語のHOWTO, FAQ, その他の文書です
  4. Name: JF
  5. Version: 20090320
  6. Release: 1%{?_dist_release}
  7. License: distributable
  8. Group: Applications/Documentation
  9. URL: http://www.linux.or.jp/JF/
  10. Source0: http://www.linux.or.jp/JF/JFdocs/JFtxt.tar.bz2
  11. BuildPreReq: nkf
  12. BuildArch: noarch
  13. Buildroot: %{_tmppath}/%{name}-%{version}-root
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. Japanese HOWTOs (instructions for how to do things on Linux), FAQs,
  18. etc. collected from the property of JF (Japanese FAQ) Project.
  19. There are Japanese translations from English HOWTOs, FAQs, etc. and
  20. documents that are originally written in Japanese. It's a good idea
  21. to install this package and look into them for your information.
  22. #'
  23. %description -l ja
  24. HOWTO (Linux でいろいろなことを実現する方法を書いた文書)や FAQ
  25. (Frequently Asked Questions:よくある質問と回答)の日本語版など JF
  26. (Japanese FAQ Project) の資産から、Linuxの基本操作に必要な文書を集めま
  27. した。英語版 HOWTO, mini-HOWTO, FAQ の和訳、日本固有のドキュメントなど
  28. が含まれています。必ずインストールして目を通すようにしましょう。
  29. %prep
  30. %setup -n JFdocs -q
  31. # remove documents prohibited to distiribute non-commercially...
  32. # http://www.linux.or.jp/JF/copyright.html
  33. rm -f Astronomy-HOWTO*
  34. rm -f Chinese-HOWTO*
  35. rm -f DHCP*
  36. rm -f Debian-Jigdo*
  37. rm -f Ftape-HOWTO*
  38. rm -f GIS-GRASS*
  39. rm -f Offline-Mailing*
  40. rm -f Quota*
  41. rm -f Scanner-HOWTO-mtekscan*
  42. rm -f Securing-X-Windows*
  43. rm -f StarOffice*
  44. rm -f Swap-Space*
  45. # remove unneeded documents
  46. rm -f Parted-README.txt
  47. rm -f BTTV-Mini-HOWTO-0.3.txt
  48. %build
  49. toEuc(){
  50. for i in `find .` ; do
  51. if [ -f $i ]; then
  52. nkf -e -Lu $i >${i%.*}.new
  53. mv ${i%.*}.new $i
  54. fi
  55. done
  56. }
  57. toEuc
  58. %install
  59. rm -rf %{buildroot}
  60. mkdir -p %{buildroot}%{_docdir}/JF
  61. tar cf - . | (cd %{buildroot}%{_docdir}/JF && tar xfBp -)
  62. (cd %{buildroot}%{_docdir}/JF; gzip -r --best *)
  63. %clean
  64. rm -rf %{buildroot}
  65. %files
  66. %defattr(-,root,root)
  67. %{_docdir}/JF/
  68. %changelog
  69. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090320-1
  70. - source as of 20090320
  71. - spec in utf-8
  72. * Mon Apr 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 20080415-1
  73. - source as of 20080415
  74. * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20070728-0vl1
  75. - source as of 20070728
  76. * Fri Sep 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20060910-0vl1
  77. - source as of 20060910
  78. * Sat May 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20060412-0vl1
  79. - source as of 20060520
  80. * Wed Sep 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20050910-0vl1
  81. - source as of 20050910
  82. * Thu Dec 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20041213-0vl1
  83. - source as of 20041213
  84. * Sat Sep 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20040924-0vl1
  85. - source as of 20040924
  86. - remove Swap-Space
  87. * Sat Mar 20 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20040316-0vl1
  88. - source as of 20040316
  89. - remove Swap-Space
  90. * Wed Sep 17 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20030914-0vl1
  91. - source as of 20030914
  92. - remove Debian-Jigdo
  93. * Fri Jun 6 2003 Jun Nishii <jun@vinelinux.org> 20030415-0vl1
  94. - fix toEUC
  95. * Wed Apr 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20030415-0vl1
  96. - source as of 20030415
  97. - remove Securing-X-Windows
  98. * Tue Feb 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20030216-0vl1
  99. - source as of 20030216
  100. * Sun Sep 22 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20020905-0vl1
  101. - source as of 20020905
  102. - remove Astronomy-HOWTO
  103. * Sun Jun 2 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20020415-0vl1
  104. - source as of 20020415
  105. * Tue Jan 15 2002 Toru Sagami <sagami@vinelinux.org> 20020115-0vl1
  106. - source as of 20020115
  107. * Sat Nov 17 2001 Toru Sagami <sagami@vinelinux.org>
  108. - 20011115-0vl1
  109. * Fri Aug 17 2001 <sagami@vinelinux.org>
  110. - 20010815-0vl1: introduced %%{_docdir} definition
  111. * Sun Jul 15 2001 <sagami@vinelinux.org>
  112. - 20010715-0vl1: eliminate CR at the EOL
  113. * Sun May 27 2001 Yasuhide OMORI <dasen@icntv.ne.jp>
  114. - 20010527-0vl1
  115. - modified the list of non-free documents
  116. - comply with RFC2606 (LAN-mini-HOWTO)
  117. * Wed Apr 18 2001 sagami@vinelinux.org
  118. - 20010415-0vl1
  119. * Mon Dec 25 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  120. - 20001225-0vl1
  121. - added Ethernet-HOWTO, which no longer prevents from commercial distributing
  122. * Mon Sep 4 2000 Jun Nishii <jun@vinelinux.org>
  123. - 20000831-0vl1
  124. * Wed May 10 2000 Toru Sagami <czs14350@nifty.ne.jp>
  125. - 20000509-0vl1
  126. - fixed summary, Buildroot, Distribution
  127. - fixed description by Yoshihiro Ota
  128. * Thu Jan 27 2000 Yasuhide OOMORI <baoying@flatout.org>
  129. - [JF-20000125-1]
  130. - updated to 20000125.
  131. * Thu Jul 29 1999 Jun Nishii <jun@flatout.org>
  132. - updated to 199907
  133. * Mon Feb 15 1999 Jun Nishii <jun@flatout.org>
  134. - updated to 199902
  135. - use JFeuc.tar.bz2
  136. * Tue Feb 2 1999 Jun Nishii <jun@flatout.org>
  137. - updated to 199901
  138. - Now we use version number yyyymm instead of yymmdd
  139. to avoid 2000 y problem B)