Browse Source

・upstream 最新版へ追従
・man-db 対応


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3234 ec354946-7b23-47d6-9f5a-488ba84defc7

yasumichi 13 years ago
parent
commit
ba245df458
1 changed files with 19 additions and 15 deletions
  1. 19 15
      j/jman_pages/jman_pages-vl.spec

+ 19 - 15
j/jman_pages/jman_pages-vl.spec

@@ -1,4 +1,4 @@
-%define rel 20100315
+%define rel 20110315
 %define jman 0.5.%{rel}
 
 Summary: Japanese manual pages
@@ -6,24 +6,24 @@ Summary(ja): 日本語マニュアル・ページ集
 Name: jman_pages
 Version: %{jman}
 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
 License: distributable
 Group: Applications/Documentation
-URL: http://www.linux.or.jp/JM/
+URL: http://linuxjm.sourceforge.jp/
 Obsoletes: xjman_pages
-Requires: man
+Requires: man-db
 BuildArch: noarch
-BuildRequires: man gzip perl
+BuildRequires: man-db gzip perl
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 Vendor: Project Vine
 Distribution: Vine Linux
-Packager: daisuke, inagaki
+Packager: daisuke, inagaki, yasumichi
 
 %description
 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 2 = System Calls and error numbers
@@ -41,7 +41,7 @@ in English. So if unsure reading Japanese manual, please see
 
 %description -l ja
 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
 
 # remove conflict files
-# shadow-utils, cdparanoia, man
+# shadow-utils, cdparanoia, man-db, rpm
 for i in \
    man1/chage.1 man1/gpasswd.1 man1/newgrp.1 \
    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/vipw.8 man8/vigr.8 \
    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
   rm $RPM_BUILD_ROOT%{_mandir}/ja/$i*
 done
 
 ### make database ###
 # copy makewhatis to exec by a non-root user
-sed 's@/var/cache/man/whatis@%{buildroot}/usr/share/man/ja/whatis@g' \
-	< /usr/sbin/makewhatis > makewhatis
-sh ./makewhatis $RPM_BUILD_ROOT%{_mandir}/ja/
+#sed 's@/var/cache/man/whatis@%{buildroot}/usr/share/man/ja/whatis@g' \
+#	< /usr/sbin/makewhatis > makewhatis
+#sh ./makewhatis $RPM_BUILD_ROOT%{_mandir}/ja/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog INSTALL README translation_list
-%{_mandir}/ja
+%doc INSTALL README
+%{_mandir}/ja/*
 
 %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
 - remove conflict files (vipw.8,vigr.8)
 - change version numbering