|
@@ -1,4 +1,4 @@
|
|
-%define rel 20100315
|
|
+%define rel 20110315
|
|
%define jman 0.5.%{rel}
|
|
%define jman 0.5.%{rel}
|
|
|
|
|
|
Summary: Japanese manual pages
|
|
Summary: Japanese manual pages
|
|
@@ -6,24 +6,24 @@ Summary(ja): 日本語マニュアル・ページ集
|
|
Name: jman_pages
|
|
Name: jman_pages
|
|
Version: %{jman}
|
|
Version: %{jman}
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Source0: http://www.linux.or.jp/JM/man-pages-ja-%{rel}.tar.gz
|
|
+Source0: http://linuxjm.sourceforge.jp/man-pages-ja-%{rel}.tar.gz
|
|
Source1: installman.sh.vine
|
|
Source1: installman.sh.vine
|
|
License: distributable
|
|
License: distributable
|
|
Group: Applications/Documentation
|
|
Group: Applications/Documentation
|
|
-URL: http://www.linux.or.jp/JM/
|
|
+URL: http://linuxjm.sourceforge.jp/
|
|
Obsoletes: xjman_pages
|
|
Obsoletes: xjman_pages
|
|
-Requires: man
|
|
+Requires: man-db
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
-BuildRequires: man gzip perl
|
|
+BuildRequires: man-db gzip perl
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
-Packager: daisuke, inagaki
|
|
+Packager: daisuke, inagaki, yasumichi
|
|
|
|
|
|
%description
|
|
%description
|
|
Japanese Manual Pages by JM-Project (Japanese Manual Project)
|
|
Japanese Manual Pages by JM-Project (Japanese Manual Project)
|
|
-See http://www.linux.or.jp/JM/ for detail.
|
|
+See http://linuxjm.sourceforge.jp/ for detail.
|
|
|
|
|
|
Section 1 = User Commands
|
|
Section 1 = User Commands
|
|
Section 2 = System Calls and error numbers
|
|
Section 2 = System Calls and error numbers
|
|
@@ -41,7 +41,7 @@ in English. So if unsure reading Japanese manual, please see
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
JM-Project (Japanese Manual Project) による, 日本語マニュアル・ページです.
|
|
JM-Project (Japanese Manual Project) による, 日本語マニュアル・ページです.
|
|
-JM-Projectについては, http://www.linux.or.jp/JM/ を御覧ください.
|
|
+JM-Projectについては, http://linuxjm.sourceforge.jp/ を御覧ください.
|
|
|
|
|
|
各章の構成は英語版と同じく以下のようになっています。
|
|
各章の構成は英語版と同じく以下のようになっています。
|
|
|
|
|
|
@@ -92,7 +92,7 @@ done
|
|
popd
|
|
popd
|
|
|
|
|
|
# remove conflict files
|
|
# remove conflict files
|
|
-# shadow-utils, cdparanoia, man
|
|
+# shadow-utils, cdparanoia, man-db, rpm
|
|
for i in \
|
|
for i in \
|
|
man1/chage.1 man1/gpasswd.1 man1/newgrp.1 \
|
|
man1/chage.1 man1/gpasswd.1 man1/newgrp.1 \
|
|
man1/sg.1 man5/faillog.5 man5/login.defs.5 \
|
|
man1/sg.1 man5/faillog.5 man5/login.defs.5 \
|
|
@@ -104,26 +104,30 @@ for i in \
|
|
man8/useradd.8 man8/userdel.8 man8/usermod.8 \
|
|
man8/useradd.8 man8/userdel.8 man8/usermod.8 \
|
|
man8/vipw.8 man8/vigr.8 \
|
|
man8/vipw.8 man8/vigr.8 \
|
|
man1/cdparanoia.1 \
|
|
man1/cdparanoia.1 \
|
|
- man1/apropos.1 man1/man.1 man1/whatis.1
|
|
+ man1/apropos.1 man1/man.1 man1/whatis.1 \
|
|
|
|
+ man8/rpm.8 man8/rpm2cpio.8 man8/rpmbuild.8 man8/rpmgraph.8
|
|
do
|
|
do
|
|
rm $RPM_BUILD_ROOT%{_mandir}/ja/$i*
|
|
rm $RPM_BUILD_ROOT%{_mandir}/ja/$i*
|
|
done
|
|
done
|
|
|
|
|
|
### make database ###
|
|
### make database ###
|
|
# copy makewhatis to exec by a non-root user
|
|
# copy makewhatis to exec by a non-root user
|
|
-sed 's@/var/cache/man/whatis@%{buildroot}/usr/share/man/ja/whatis@g' \
|
|
+#sed 's@/var/cache/man/whatis@%{buildroot}/usr/share/man/ja/whatis@g' \
|
|
- < /usr/sbin/makewhatis > makewhatis
|
|
+# < /usr/sbin/makewhatis > makewhatis
|
|
-sh ./makewhatis $RPM_BUILD_ROOT%{_mandir}/ja/
|
|
+#sh ./makewhatis $RPM_BUILD_ROOT%{_mandir}/ja/
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc ChangeLog INSTALL README translation_list
|
|
+%doc INSTALL README
|
|
-%{_mandir}/ja
|
|
+%{_mandir}/ja/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Mar 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.5.20110315-1
|
|
|
|
+- update for man-db.
|
|
|
|
+
|
|
* Tue Apr 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.20100315-1
|
|
* Tue Apr 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.20100315-1
|
|
- remove conflict files (vipw.8,vigr.8)
|
|
- remove conflict files (vipw.8,vigr.8)
|
|
- change version numbering
|
|
- change version numbering
|