From c39c93dcf706d639691758cdfe575b3ff21c00f9 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 08:23:13 +0000 Subject: auto-import changelog data from man-pages-ja-20031015-1.src.rpm Tue Oct 21 2003 Akira TAGOH 20031015-1 - updates to 20031015. Mon Sep 01 2003 Akira TAGOH 20030815-1 - updates to 20030815. Mon Jul 28 2003 Akira TAGOH 20030715-1 - updates to 20030715. Mon Jun 30 2003 Elliot Lee 20030615-2 - Remove rpm.8 to avoid conflict Wed Jun 18 2003 Akira TAGOH 20030615-1 - updates to 20030615. Tue Jun 10 2003 Elliot Lee 20030525-3 - Remove rpm{cache,graph,build}.8 to avoid conflict. Wed May 28 2003 Akira TAGOH 20030525-2 - remove rpm2cpio.8 to avoid the conflict. Mon May 26 2003 Akira TAGOH 20030525-1 - updates to 20030525. Wed May 14 2003 Akira TAGOH 20030415-3 - include README and translation_list files. (#90543) - use sh-utils's su.1 instead of shadow's one (#90552) - fix summary and description. (#90548) Tue May 06 2003 Akira TAGOH 20030415-2 - convert to UTF-8. Tue Apr 15 2003 Akira TAGOH 20030415-1 - updates to 20030415 Mon Mar 17 2003 Akira TAGOH 20030315-1 - updates to 20030315 - bumped Version to release date of man-pages-ja archive. --- diff --git a/.cvsignore b/.cvsignore index c9c71ac..e63b035 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -man-pages-ja-20030115.tar.gz +man-pages-ja-20031015.tar.gz diff --git a/man-pages-ja-20030415-utf8.patch b/man-pages-ja-20030415-utf8.patch new file mode 100644 index 0000000..db9fa8a --- /dev/null +++ b/man-pages-ja-20030415-utf8.patch @@ -0,0 +1,13 @@ +diff -ruN man-pages-ja-20030415.orig/script/configure.perl man-pages-ja-20030415/script/configure.perl +--- man-pages-ja-20030415.orig/script/configure.perl 2003-05-06 18:11:07.000000000 +0900 ++++ man-pages-ja-20030415/script/configure.perl 2003-05-06 18:23:42.000000000 +0900 +@@ -213,6 +213,9 @@ + print ISS "echo -n install $pkg: $name.$sec .. \n"; + print ISS "install -m 644 $mansrc $mandst\n"; + ++ print ISS "echo -n converting to UTF-8 .. \n"; ++ print ISS "iconv -f euc-jp -t utf-8 $mandst/$name.$sec > $mandst/$name.$sec.tmp && mv $mandst/$name.$sec.tmp $mandst/$name.$sec\n"; ++ + if ($PACK ne "none"){ + print ISS "echo -n $PACK .. \n"; + print ISS "$PACK -f $mandst/$name.$sec\n"; diff --git a/man-pages-ja.spec b/man-pages-ja.spec index 5d78670..ed459b5 100644 --- a/man-pages-ja.spec +++ b/man-pages-ja.spec @@ -1,27 +1,32 @@ -%define manver 20030115 +%define manver 20031015 +%define use_utf8 1 -Summary: Japanese man (manual) pages from the Linux Documentation Project +Summary: Japanese man (manual) pages from the Japanese Manual Project Name: man-pages-ja -Version: 0.6 -Release: %{manver}.1 +Version: %{manver} +Release: 1 License: Distributable Group: Documentation +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch +URL: http://www.linux.or.jp/JM/ + Source: http://www.linux.or.jp/JM/%{name}-%{manver}.tar.gz Source1: rh-man-pages-ja.pl Patch: %{name}-20010515-rh.patch Patch1: %{name}-20011115-fixpipe.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildArchitectures: noarch - +Patch2: %{name}-20030415-utf8.patch %description -Manual pages from the Linux Documentation Project, translated into Japanese. +Japanese Manual pages, translated by JM-Project (Japanese Manual Project). %prep %setup -q -n %{name}-%{manver} %patch -p1 -b .jp %patch1 -p1 -b .pipe -rm -fr $RPM_BUILD_ROOT +%if %{use_utf8} +%patch2 -p1 -b .utf8 +%endif %build perl %{SOURCE1} $RPM_BUILD_ROOT | make @@ -33,18 +38,78 @@ sh ./installman.sh rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{chage.1,gpasswd.1,sg.1}* rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man5/{faillog.5,shadow.5}* -rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man8/{adduser.8,chpasswd.8,faillog.8,groupadd.8,groupdel.8,groupmod.8,grpck.8,grpconv.8,grpunconv.8,lastlog.8,newusers.8,pwck.8,pwconv.8,pwunconv.8,useradd.8,userdel.8,usermod.8}* +rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man8/{adduser.8,chpasswd.8,faillog.8,groupadd.8,groupdel.8,groupmod.8,grpck.8,grpconv.8,grpunconv.8,lastlog.8,newusers.8,pwck.8,pwconv.8,pwunconv.8,useradd.8,userdel.8,usermod.8,rpm2cpio.8}* +rm -f $RPM_BUILD_ROOT%{_mandir}/ja/man8/{rpmgraph,rpmcache,rpmbuild,rpm}.8* + +# fix su(1) man page. +if [ -f $RPM_BUILD_DIR/%{name}-%{version}/manual/GNU_sh-utils/man1/su.1 ]; then +%if %{use_utf8} + iconv -f euc-jp -t utf-8 $RPM_BUILD_DIR/%{name}-%{version}/manual/GNU_sh-utils/man1/su.1 > $RPM_BUILD_ROOT%{_mandir}/ja/man1/su.1 +%else + cp -a $RPM_BUILD_DIR/%{name}-%{version}/manual/GNU_sh-utils/man1/su.1 $RPM_BUILD_ROOT%{_mandir}/ja/man1/ +%endif +fi + +# accumulate translation_lists +mkdir $RPM_BUILD_DIR/%{name}-%{version}/translation_lists +(cd $RPM_BUILD_DIR/%{name}-%{version}/manual +for i in `find -type f -name translation_list`; do + package=`basename \`dirname $i\``; + name=`basename $i`; + cp -a $i $RPM_BUILD_DIR/%{name}-%{version}/translation_lists/$package.$name; +done +) %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) +%doc README translation_lists %{_mandir}/ja/* %changelog -* Thu Jan 23 2003 Tim Powers 0.6-%{manver}.1 +* Tue Oct 21 2003 Akira TAGOH 20031015-1 +- updates to 20031015. + +* Mon Sep 01 2003 Akira TAGOH 20030815-1 +- updates to 20030815. + +* Mon Jul 28 2003 Akira TAGOH 20030715-1 +- updates to 20030715. + +* Mon Jun 30 2003 Elliot Lee 20030615-2 +- Remove rpm.8 to avoid conflict + +* Wed Jun 18 2003 Akira TAGOH 20030615-1 +- updates to 20030615. + +* Tue Jun 10 2003 Elliot Lee 20030525-3 +- Remove rpm{cache,graph,build}.8 to avoid conflict. + +* Wed May 28 2003 Akira TAGOH 20030525-2 +- remove rpm2cpio.8 to avoid the conflict. + +* Mon May 26 2003 Akira TAGOH 20030525-1 +- updates to 20030525. + +* Wed May 14 2003 Akira TAGOH 20030415-3 +- include README and translation_list files. (#90543) +- use sh-utils's su.1 instead of shadow's one (#90552) +- fix summary and description. (#90548) + +* Tue May 06 2003 Akira TAGOH 20030415-2 +- convert to UTF-8. + +* Tue Apr 15 2003 Akira TAGOH 20030415-1 +- updates to 20030415 + +* Mon Mar 17 2003 Akira TAGOH 20030315-1 +- updates to 20030315 +- bumped Version to release date of man-pages-ja archive. + +* Thu Jan 23 2003 Tim Powers 0.6-20030115.1 - rebuild * Thu Jan 16 2003 Akira TAGOH 0.5-20030115.1 diff --git a/rh-man-pages-ja.pl b/rh-man-pages-ja.pl index 880629e..6f2ad3c 100644 --- a/rh-man-pages-ja.pl +++ b/rh-man-pages-ja.pl @@ -15,12 +15,12 @@ print "C\n"; ### # Maintainer should update these number according to the original Makefile ### -for($i=0; $i<=97; $i++) { +for($i=0; $i<=101; $i++) { print "\n"; } print "C\n"; -for($i=0; $i<=41; $i++) { +for($i=0; $i<=47; $i++) { print "0\n"; } print "C\n"; diff --git a/sources b/sources index 9bf9ce1..9503a67 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -52d40458191339cc28e08b434f0c3dca man-pages-ja-20030115.tar.gz +5dfa6fe7bfd2c0c0299cbdbc600e470a man-pages-ja-20031015.tar.gz