[man-pages-ja] further improvements in the spec file.

Akira TAGOH tagoh at fedoraproject.org
Wed Nov 21 06:46:58 UTC 2012


commit f138c64a508291ad78010425058d82672dc54590
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Wed Nov 21 15:46:30 2012 +0900

    further improvements in the spec file.

 echo.1 => man-pages-ja-echo.1             |    0
 rh-man-pages-ja.pl => man-pages-ja-rpm.pl |    0
 tail.1 => man-pages-ja-tail.1             |    0
 tar.1 => man-pages-ja-tar.1               |    0
 man-pages-ja.spec                         |   65 +++++++++++++++--------------
 5 files changed, 34 insertions(+), 31 deletions(-)
---
diff --git a/echo.1 b/man-pages-ja-echo.1
similarity index 100%
rename from echo.1
rename to man-pages-ja-echo.1
diff --git a/rh-man-pages-ja.pl b/man-pages-ja-rpm.pl
similarity index 100%
rename from rh-man-pages-ja.pl
rename to man-pages-ja-rpm.pl
diff --git a/tail.1 b/man-pages-ja-tail.1
similarity index 100%
rename from tail.1
rename to man-pages-ja-tail.1
diff --git a/tar.1 b/man-pages-ja-tar.1
similarity index 100%
rename from tar.1
rename to man-pages-ja-tar.1
diff --git a/man-pages-ja.spec b/man-pages-ja.spec
index 87e9ccc..b1a1c98 100644
--- a/man-pages-ja.spec
+++ b/man-pages-ja.spec
@@ -1,39 +1,39 @@
 Name: man-pages-ja
 Version: 20121115
-Release: 1%{?dist}
+Release: 2%{?dist}
 # Actual license for each Japanese manpages is the same to the original English manpages' license.
 License: Freely redistributable without restriction
 BuildArch: noarch
 URL: http://linuxjm.sourceforge.jp/
 
 Source: http://linuxjm.sourceforge.jp/%{name}-%{version}.tar.gz
-Source1: rh-man-pages-ja.pl
-Source2: tail.1
-Source3: echo.1
-Source4: tar.1
-Patch0: man-pages-ja-fix-configure.perl.patch
-Patch1: man-pages-ja-fix-pkgs-list.patch
-Patch9: man-pages-ja-204667-nfs.5.patch
-Patch11: man-pages-ja-178955-at.1.patch
-Patch15: man-pages-ja-358081-sysctl-warn.patch
-Patch16: man-pages-ja-connect.2.patch
-Patch18: man-pages-ja-433692-printf.1.patch
-Patch21: man-pages-ja-456263-top.1.patch
-Patch23: man-pages-ja-451238-sysctl.8.patch
-Patch25: man-pages-ja-454419-echo.1.patch
-Patch26: man-pages-ja-457361-wall.1.patch
-Patch27: man-pages-ja-20090615-vmstat.8.patch
-Patch28: man-pages-ja-493783-edquota.8.patch
-Patch29: man-pages-ja-486655-mkfs.8.patch
-Patch30: man-pages-ja-509048-less.1.patch
-Patch31: man-pages-ja-515467-strings.1.patch
-Patch32: man-pages-ja-527638-chgrp.1.patch
-Patch33: man-pages-ja-537103-ip.7.patch
-Patch35: man-pages-ja-565362-iptables.8.patch
-Patch36: man-pages-ja-600321-snmpd.conf.5.patch
-Patch37: man-pages-ja-669646-pmap.1.patch
-Patch38: man-pages-ja-674219-iptables.8.patch
-Patch39: man-pages-ja-683019-getpriority.2.patch
+Source1: %{name}-rpm.pl
+Source2: %{name}-tail.1
+Source3: %{name}-echo.1
+Source4: %{name}-tar.1
+Patch0: %{name}-fix-configure.perl.patch
+Patch1: %{name}-fix-pkgs-list.patch
+Patch9: %{name}-204667-nfs.5.patch
+Patch11: %{name}-178955-at.1.patch
+Patch15: %{name}-358081-sysctl-warn.patch
+Patch16: %{name}-connect.2.patch
+Patch18: %{name}-433692-printf.1.patch
+Patch21: %{name}-456263-top.1.patch
+Patch23: %{name}-451238-sysctl.8.patch
+Patch25: %{name}-454419-echo.1.patch
+Patch26: %{name}-457361-wall.1.patch
+Patch27: %{name}-20090615-vmstat.8.patch
+Patch28: %{name}-493783-edquota.8.patch
+Patch29: %{name}-486655-mkfs.8.patch
+Patch30: %{name}-509048-less.1.patch
+Patch31: %{name}-515467-strings.1.patch
+Patch32: %{name}-527638-chgrp.1.patch
+Patch33: %{name}-537103-ip.7.patch
+Patch35: %{name}-565362-iptables.8.patch
+Patch36: %{name}-600321-snmpd.conf.5.patch
+Patch37: %{name}-669646-pmap.1.patch
+Patch38: %{name}-674219-iptables.8.patch
+Patch39: %{name}-683019-getpriority.2.patch
 
 Summary: Japanese man (manual) pages from the Japanese Manual Project
 Group: Documentation
@@ -109,13 +109,13 @@ mv $RPM_BUILD_ROOT%{_mandir}/ja/man8/in.telned.8.gz $RPM_BUILD_ROOT%{_mandir}/ja
 mv $RPM_BUILD_ROOT%{_mandir}/ja/man8/in.rlogin.8.gz $RPM_BUILD_ROOT%{_mandir}/ja/man8/in.rlogind.8.gz
 # For Bug#551476
 rm -rf $RPM_BUILD_ROOT%{_mandir}/ja/man1/tail.1*
-install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/ja/man1/
+install -p -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/ja/man1/tail.1
 # For Bug#642186
 rm -rf $RPM_BUILD_ROOT%{_mandir}/ja/man1/echo.1*
-install -p -m644 %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/ja/man1/
+install -p -m644 %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/ja/man1/echo.1
 # For Bug#717182
 rm -rf $RPM_BUILD_ROOT%{_mandir}/ja/man1/tar.1*
-install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/ja/man1/
+install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/ja/man1/tar.1
 
 ## drop manpages not shipped English manpages in Fedora
 rm -rf $RPM_BUILD_ROOT%{_mandir}/ja/man1/{achfile,acleandir,aecho,afile,apm,apmsleep,apple_cp,apple_mv,apple_rm,biff,bzegrep,bzfgrep,cardinfo,cccp,cdrecord,chkdupexe,copydir,cvpasswd,cvsup,dnskeygen,dnsquery,expiry,forward,gasp,getzones,hman,line,lpq,lpr,lprm,lptest,man2html,manlint,mirrordir,nbp,nbplkup,nbprgstr,nbpunrgstr,nlmconv,pap,papstatus,pg,pidof,pppoe-wrapper,pslogin,psorder,rbash,readcd,recursdir,rpcgen,scgcheck,secure-mcserv,tcpdump,tkpppoe,updatedb,xapm,zebedee}.1*
@@ -145,6 +145,9 @@ done
 
 
 %changelog
+* Fri Nov 16 2012 Akira TAGOH <tagoh at redhat.com> - 20121115-2
+- further improvements in the spec file.
+
 * Fri Nov 16 2012 Akira TAGOH <tagoh at redhat.com> - 20121115-1
 - Updates to 20121115.
 


More information about the scm-commits mailing list