]> git.pld-linux.org Git - packages/man-pages.git/blobdiff - man-pages.spec
- we have man-db
[packages/man-pages.git] / man-pages.spec
index 8d6d5074d7824b2cd91b80a437bf34a7bfe08a19..0c5eb34bee8fb2e215bbb5eca555ef991f7ab908 100644 (file)
@@ -15,8 +15,8 @@ Summary(ru.UTF-8):    Страницы руководства из Проекта 
 Summary(tr.UTF-8):     Linux Belgeleme Projesinin sistem kılavuz sayfaları
 Summary(uk.UTF-8):     Сторінки мануалу (man) з Linux Documentation Project
 Name:          man-pages
-Version:       2.57
-Release:       0.2
+Version:       3.39
+Release:       1
 License:       distributable
 Group:         Documentation
 %define                cs_version              0.16
@@ -39,8 +39,8 @@ Group:                Documentation
 %define                ru_asp_version          1.4
 %define                tr_version              1.0.3
 %define                zh_version              1.5
-Source0:       http://www.kernel.org/pub/linux/docs/manpages/%{name}-%{version}.tar.gz
-# Source0-md5: 9ddd64192e7603c535b8d189af64cc9d
+Source0:       http://www.kernel.org/pub/linux/docs/man-pages/%{name}-%{version}.tar.xz
+# Source0-md5: 3feafd75f9bb2132bc5055347329b198
 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,14 +56,14 @@ 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-pages-fr-%{fr_version}.tar.bz2
+Source7:       http://manpagesfr.free.fr/download/%{name}-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
 # there is no LDP man page here, yet, but included for completeness
 # based on http://nakula.rvs.uni-bielefeld.de/made/my_project/ManPage/ (dead now)
-Source9:       http://www.mif.pg.gda.pl/homepages/ankry/man-pages/man-pages-from-www-id-%{id_version}.tar.gz
+Source9:       http://www.mif.pg.gda.pl/homepages/ankry/man-pages/%{name}-from-www-id-%{id_version}.tar.gz
 # Source9-md5: 34a69de42ec4ae8180b947f8777a3e7a
 # available also as http://
 Source10:      ftp://ftp.pluto.linux.it/pub/pluto/ildp/man/%{name}-it-%{it_version}.tar.gz
@@ -74,6 +74,8 @@ Source12:     http://download.kldp.net/man/man-pages-ko/%{ko_version}/%{name}-ko-%{k
 # Source12-md5:        e31dc6a51c02436371373dedaeeeacab
 Source13:      ftp://ftp.nl.linux.org/pub/DOC-NL/manpages-nl/manpages-nl-%{nl_version}.tar.gz
 # Source13-md5:        b37b0216a87db7583e88ba87031a0b4a
+# currently at http://ptm.linux.pl/ (latest http://ptm.linux.pl/man-PL28-06-2007.tar.gz)
+# there is also a fork at http://ptm.berlios.de/, but seems to be stalled just after it started
 #Source14:     http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/PTM-snapshots/%{name}-pl-PTM-snapshot.%{pl_version}.tar.bz2
 Source14:      %{name}-pl-PTM-snapshot.%{pl_version}.tar.bz2
 # Source14-md5:        b9b5751fcde4c36022850d0e5a4757d3
@@ -93,22 +95,23 @@ Source19:   http://www.linux.org.ua/twiki/pub/Projects/ManUk/man-pages-uk_UA.alfa.
 #Source20:     http://cmpp.linuxforum.net/download/man-pages-zh_CN-%{zh_version}.tar.gz
 Source20:      http://download.sf.linuxforum.net/cmpp/man-pages-zh_CN-%{zh_version}.tar.gz
 # Source20-md5:        edfe517621579520cf7451088ab126ea
+Source30:      http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2003-a.tar.bz2
+# Source30-md5:        7c78aff03c0a6767ba483d34f19e4b09
 Source50:      %{name}-extra.tar.bz2
-# NoSource50-md5:      ea9f180127076c37f274639cfb286bc3
+# Source50-md5:        15d763c5221088dcb15ba8ae95f6d239
 Source100:     %{name}-tars.list
 Patch0:                %{name}-localtime.patch
 Patch1:                %{name}-zh_fixes.patch
 Patch2:                %{name}-misc.patch
 Patch3:                %{name}-extra.patch
+URL:           http://www.kernel.org/doc/man-pages/
 BuildRequires: sed >= 4.0
-AutoReqProv:   no
 Obsoletes:     man-pages-cs
 Obsoletes:     man-pages-de
 Obsoletes:     man-pages-es
 Obsoletes:     man-pages-fi
 Obsoletes:     man-pages-fr
 Obsoletes:     man-pages-hu
-Obsoletes:     manpages-hu
 Obsoletes:     man-pages-it
 Obsoletes:     man-pages-ja
 Obsoletes:     man-pages-ko
@@ -120,11 +123,13 @@ Obsoletes:        man-pages-ru
 Obsoletes:     man-pages-ru-asp
 Obsoletes:     man-pages-uk
 Obsoletes:     man-pages-zh
+Obsoletes:     manpages-hu
 Conflicts:     attr-devel < 2.2.0-2
 Conflicts:     kbd < 1.12-9
 Conflicts:     libcap < 1:1.10-5
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+AutoReqProv:   no
 
 %description
 A large collection of man pages covering programming APIs, file
@@ -273,10 +278,12 @@ 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 -a10 -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 -a30
 %patch0 -p1
 %patch1 -p0
 
+mv man-pages-posix-*/man*p .
+
 mkdir ko
 tar xzf %{SOURCE12} -C ko
 
@@ -312,8 +319,6 @@ mv -f man-pages-ja-%{ja_version}/manual/LDP_man-pages ja
 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
-rm -rf man-pages-ja-%{ja_version}/manual/man-db
 # dhcp 3 not dhcp2
 rm -rf man-pages-ja-%{ja_version}/manual/dhcp2
 # nfs-utils not nfs-server
@@ -344,12 +349,6 @@ 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
-       mv -f ${f}.tmp $f
-done
-
 mv -f cs/man8/at.1 cs/man1
 # unify name
 mv -f de/man7/{iso_8859_1,iso_8859-1}.7
@@ -391,9 +390,8 @@ rm -f man1/COPYING
 rm -f man*/README*
 
 for n in man{1,2,3,4,5,6,7,8,0p,1p,3p}/* */man{1,2,3,4,5,6,7,8,9}/* ; do
-       x=`echo $n | sed -e 's,^.*man\([^/]\)/.*,\1,'`
-       if head -n 1 $n| grep "^\.so man$x/" >/dev/null 2>&1 ; then
-               sed -i -e 's,\.so man./,.so ,' $n
+       if head -n 1 $n | grep "^\.so [^/]*$" >/dev/null 2>&1 ; then
+               sed -i -e 's,.so \([^\.]*\)\.\(.*\),.so man\2/\1.\2,' $n
        fi
 done
 
@@ -407,6 +405,8 @@ rm -f man8/sync.8
 rm -f man1/time.1
 # ftp servers
 rm -f man5/ftpusers.5
+# glibc
+rm -f man8/ld-linux{,.so}.8
 
 %if %{with tars}
 package=NONE
This page took 0.064365 seconds and 4 git commands to generate.