diff --git a/.cvsignore b/.cvsignore index ac2653f..bd79b38 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -man-pages-ja-0.4.tar.gz +man-pages-ja-20010515.tar.gz diff --git a/man-pages-ja-20010515-rh.patch b/man-pages-ja-20010515-rh.patch new file mode 100644 index 0000000..0fea8e5 --- /dev/null +++ b/man-pages-ja-20010515-rh.patch @@ -0,0 +1,22 @@ +--- man-pages-ja-20010515/script/configure.perl.jp Fri Aug 18 20:26:08 2000 ++++ man-pages-ja-20010515/script/configure.perl Sat Jun 2 21:06:31 2001 +@@ -191,10 +191,8 @@ + print ISS "#!/bin/sh\n"; + + print ISS "mkdir -p $MANROOT;"; +-print ISS "chown $OWNER.$GROUP $MANROOT\n"; + for $i (1..9){ + print ISS "mkdir -p $MANROOT/man$i;"; +- print ISS "chown $OWNER.$GROUP $MANROOT/man$i\n"; + } + print ISS "\n"; + +@@ -205,7 +203,7 @@ + my $mandst = "$MANROOT/man$sec"; + + print ISS "echo -n install $pkg: $name.$sec .. \n"; +- print ISS "install -o $OWNER -g $GROUP -m 644 $mansrc $mandst\n"; ++ print ISS "install -m 644 $mansrc $mandst\n"; + + if ($PACK ne "none"){ + print ISS "echo -n $PACK .. \n"; diff --git a/man-pages-ja.spec b/man-pages-ja.spec index a016903..ca8c6f6 100644 --- a/man-pages-ja.spec +++ b/man-pages-ja.spec @@ -1,10 +1,12 @@ Summary: Japanese man (manual) pages from the Linux Documentation Project Name: man-pages-ja -Version: 0.4 -Release: 3p +Version: 0.5 +Release: 1 Copyright: Distributable Group: Documentation -Source: ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/man-pages-ja-%{version}.tar.gz +Source: http://www.linux.or.jp/JM/%{name}-20010515.tar.gz +Source1: rh-man-pages-ja.pl +Patch: %{name}-20010515-rh.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArchitectures: noarch @@ -13,31 +15,29 @@ BuildArchitectures: noarch Manual pages from the Linux Documentation Project, translated into Japanese. %prep -%setup -q +%setup -q -n %{name}-20010515 +%patch -p1 -b .jp rm -fr $RPM_BUILD_ROOT %build +perl %{SOURCE1} $RPM_BUILD_ROOT | make %install rm -fr $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja -for n in 1 2 3 4 5 6 7 8 9 n; do - mkdir $RPM_BUILD_ROOT%{_mandir}/ja/man$n -done -for i in man[1-8]; do - install -m 644 $i/* $RPM_BUILD_ROOT%{_mandir}/ja/$i; -done +sh ./installman.sh %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc Changes README.jman translation_list translation_note.txt %{_mandir}/ja/* %changelog +* Sat Jun 2 2001 Yukihiro Nakai +- Update to 0.5 + * Wed Jul 12 2000 Prospector - automatic rebuild diff --git a/rh-man-pages-ja.pl b/rh-man-pages-ja.pl new file mode 100644 index 0000000..1152d80 --- /dev/null +++ b/rh-man-pages-ja.pl @@ -0,0 +1,19 @@ +#!/bin/perl +# +# install script for man-pages-ja-0.5-20010515 + +print "$ARGV[0]/usr/share/man/ja\n"; +print "1\n"; +print "root\n"; +print "root\n"; +print "C\n"; + +for($i=0; $i<=91; $i++) { + print "\n"; +} +print "C\n"; + +for($i=0; $i<=28; $i++) { + print "0\n"; +} +print "C\n"; diff --git a/sources b/sources index 0fd460f..7b237a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -33af70b1ebb66ea091fec9d36f921e8a man-pages-ja-0.4.tar.gz +c207c25244b495a6db0ee00b126f8dc0 man-pages-ja-20010515.tar.gz