]> git.pld-linux.org Git - packages/man-pages.git/blobdiff - man-pages.spec
- up to 2.42
[packages/man-pages.git] / man-pages.spec
index c4e86086ea0830641e24c662cd563219e8da7f86..2b87948061419af25ed527f42c20eafe8187e256 100644 (file)
@@ -15,8 +15,8 @@ Summary(ru):  
 Summary(tr):   Linux Belgeleme Projesinin sistem kýlavuz sayfalarý
 Summary(uk):   óÔÏÒ¦ÎËÉ ÍÁÎÕÁÌÕ (man) Ú Linux Documentation Project
 Name:          man-pages
-Version:       2.27
-Release:       3
+Version:       2.42
+Release:       1
 License:       distributable
 Group:         Documentation
 %define                cs_version              0.16
@@ -25,11 +25,11 @@ Group:              Documentation
 %define                es_version              1.55
 %define                es_extra_version        0.8a
 %define                fi_version              0.2
-%define                fr_version              1.67.0
+%define                fr_version              2.39.0
 %define                hu_version              20010119
 %define                id_version              20011116
-%define                it_version              0.3.4
-%define                ja_version              20060115
+%define                it_version              2.34
+%define                ja_version              20060815
 %define                ko_version              20050219
 %define                nl_version              0.13.3
 %define                pl_version              20051105
@@ -40,7 +40,7 @@ Group:                Documentation
 %define                tr_version              1.0.3
 %define                zh_version              1.5
 Source0:       ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/%{name}-%{version}.tar.gz
-# Source0-md5: 4456703a9f217ef9c07af225cab29162
+# Source0-md5: 9e9ca369c2686014eba5db9cf05cb264
 Source1:       ftp://ftp.linux.cz/pub/localization/linux/czman/%{name}-cs-%{cs_version}.tar.gz
 # Source1-md5: e8036794c1762804f2e242cc5b52001e
 # there is no LDP man page here, yet - but include it in sources for completeness
@@ -56,8 +56,8 @@ Source5:      http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-extra-%{es_extra
 # (despite archive filename it's 0.2 version)
 Source6:       man-fi-0.1.tar.bz2
 # Source6-md5: bb266d3797cdf71bfbe1da190196f455
-Source7:       http://manpagesfr.free.fr/download/man-fr-%{fr_version}.tar.bz2
-# Source7-md5: 45d79316e7078f1a1ff575e01afc7a97
+Source7:       http://manpagesfr.free.fr/download/man-pages-fr-%{fr_version}.tar.bz2
+# Source7-md5: 7e9ecdd134703e8172107124f1f3fec4
 #Source8:      http://download.uhulinux.hu/sources/man-pages-hu/man_hu_%{hu_version}.tar.gz (older)
 Source8:       http://ftp.debian.org/debian/pool/main/m/manpages-hu/manpages-hu_%{hu_version}.orig.tar.gz
 # Source8-md5: 742b682c5237a1e370b28f363826b2d5
@@ -67,9 +67,9 @@ Source9:      http://www.mif.pg.gda.pl/homepages/ankry/man-pages/man-pages-from-www-i
 # Source9-md5: 34a69de42ec4ae8180b947f8777a3e7a
 # available also as http://
 Source10:      ftp://ftp.pluto.linux.it/pub/pluto/ildp/man/%{name}-it-%{it_version}.tar.gz
-# Source10-md5:        4e072cafbd196654c925ff0a0dca2c8f
+# Source10-md5:        259868d64ee589828b4cc43e8769507b
 Source11:      http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.gz
-# Source11-md5:        b91ffbd3a518e8778ee9689397d2fad4
+# Source11-md5:        0d5f64ddaf4ee862d1a03c72acc20c15
 Source12:      http://download.kldp.net/man/man-pages-ko/%{ko_version}/%{name}-ko-%{ko_version}.tar.gz
 # Source12-md5:        e31dc6a51c02436371373dedaeeeacab
 Source13:      ftp://ftp.nl.linux.org/pub/DOC-NL/manpages-nl/manpages-nl-%{nl_version}.tar.gz
@@ -273,12 +273,11 @@ Part of POSIX 1003.1-2003 in man pages format.
 Fragmenty POSIX 1003.1-2003 w postaci stron podrêcznika systemowego.
 
 %prep
-%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a11 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20
+%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20
 %patch0 -p1
 %patch1 -p0
 
-mkdir it ko
-tar xzf %{SOURCE10} -C it
+mkdir ko
 tar xzf %{SOURCE12} -C ko
 
 find man-pages-tr-%{tr_version} -name '*.gz' | xargs gzip -d
@@ -305,11 +304,12 @@ for f in 1 2 4 5 6 7 8 ; do
        mv -i man-pages-es-extra-%{es_extra_version}/man${f}/* es/man${f}
 done
 mv -f manpages-fi fi
-mv -f man-fr-%{fr_version} fr
+mv -f man-pages-fr-%{fr_version} fr
 mv -f manpages-hu-%{hu_version}.orig/usr/share/man/hu hu
+mv -f man-pages-it-%{it_version} it
 mv -f man-pages-ja-%{ja_version}/manual/LDP_man-pages ja
 # duplicates of LDP man pages
-rm -rf man-pages-ja-%{ja_version}/manual/{gnumaniak,ld.so,netkit/man3/{daemon,err,login}.3,bind/man5/resolver.5,netkit/man5/ftpusers.5,bind/man7/mailaddr.7}
+rm -rf man-pages-ja-%{ja_version}/manual/{gnumaniak,ld.so,modutils/man2,glibc-linuxthreads/man3,netkit/{man3/{daemon,err,login}.3,man5/ftpusers.5},bind/{man5/resolver.5,man7/mailaddr.7},util-linux/man1/tailf.1}
 # shadow manuals already in shadow package
 rm -rf man-pages-ja-%{ja_version}/manual/shadow
 # we have man not man-db
@@ -328,7 +328,7 @@ for f in man-pages-ja-%{ja_version}/manual/modutils/man8/{depmod,insmod,lsmod,mo
 done
 # avoid filename conflict
 mv -f man-pages-ja-%{ja_version}/manual/netkit/man8/ftpd.{8,8n}
-for f in 1 3 4 5 6 7 8 ; do
+for f in 1 3 4 5 6 7 8 ; do
        mv -i man-pages-ja-%{ja_version}/manual/*/man${f}/* ja/man${f}
 done
 mv -f manpages-nl-%{nl_version} nl
@@ -338,11 +338,12 @@ mv -f manpages-ru-asp-%{ru_asp_version} ru
 mv -f man-pages-tr-%{tr_version}/tr tr
 mv -f man-pages-uk_UA.alfa uk
 mv -f man-pages-zh_CN-%{zh_version}/src zh_CN
-find zh_CN -name CVS -o -name '*.orig' | xargs rm -rf
+find zh_CN -name CVS -o -name '*.orig' -o -name '*~' | xargs rm -rf
 # would go in big5 or gb18030, but not gb2312
 rm -f zh_CN/man1/perltw.1
 # would go in gb18030, but not gb2312
 rm -f zh_CN/man8/{chat,printcap}.8
+
 # these man-pages are in UTF-8
 for f in zh_CN/man?/* ; do
        iconv -f UTF8 -t GB2312 $f > ${f}.tmp
@@ -382,6 +383,9 @@ rm -f zh_CN/man8/sync.8
 bzip2 -dc %{SOURCE50} | tar xf -
 %patch3 -p0
 
+# patching creates backups
+find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -rf
+
 # cleanup
 rm -f man1/COPYING
 rm -f man*/README*
This page took 0.027666 seconds and 4 git commands to generate.