JF-vl.spec 5.0 KB

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