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