JF-vl.spec 5.0 KB

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