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