]> git.pld-linux.org Git - packages/man-pages.git/blobdiff - man-pages.spec
- separated POSIX man pages, rel. 1
[packages/man-pages.git] / man-pages.spec
index 1dd1d6d1dd46e1410c332b3423e0fa58986e88b2..599566c70d9b4b56698a14ca4a5fd045d15437f4 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _with_tars         generate man-pages tars for other packages
+%bcond_with    tars    # generate man-pages tars for other packages [not done yet]
 #
 Summary:       System manual pages from the Linux Documentation Project
 Summary(de):   System-man-Seiten vom Linux Documentation Project
@@ -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:       1.64
-Release:       2
+Version:       1.65
+Release:       1
 License:       distributable
 Group:         Documentation
 %define                cs_version              0.16
@@ -30,16 +30,16 @@ Group:              Documentation
 %define                hu_version              2001_01_05
 %define                id_version              20011116
 %define                it_version              0.3.4
-%define                ja_version              20031215
+%define                ja_version              20040115
 %define                ko_version              20010901
 %define                nl_version              0.13.3
-%define                pl_version              20020828
+%define                pl_version              20040119
 %define                pt_version              1.39
 %define                ru_version              0.7
 %define                uk_version              0.1.1
 %define                zh_version              1.4
 Source0:       ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/%{name}-%{version}.tar.gz
-# Source0-md5: c2008b298e34008a1b84595415f09fce
+# Source0-md5: b841b98513f57d0fb5aa279570a852df
 #
 # Source1:     ftp://ftp.muni.cz/pub/linux/people/petr_kolar/localization/man-pages-cs/%{name}-cs-%{cs_version}.tar.gz
 Source1:       ftp://ftp.linux.cz/pub/localization/linux/czman/%{name}-cs-%{cs_version}.tar.gz
@@ -70,15 +70,16 @@ Source8:    http://www.mif.pg.gda.pl/homepages/ankry/man-pages/man_hu_%{hu_version}
 Source10:      ftp://ftp.pluto.linux.it/pub/pluto/ildp/man/%{name}-it-%{it_version}.tar.gz
 # Source10-md5:        4e072cafbd196654c925ff0a0dca2c8f
 Source11:      http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.gz
-# Source11-md5:        da828d52b5e4597ac63d54f277f9bbb0
+# Source11-md5:        6590d539e1da253c8cd6784041768414
 #
 # Source12:    ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ko-%{ko_version}.tar.gz
 Source12:      http://download.kldp.net/man/%{name}-ko-%{ko_version}.tar.gz
 # Source12-md5:        e73c7999af103208e5497f939de764ca
 Source13:      ftp://ftp.nl.linux.org/pub/DOC-NL/manpages-nl/manpages-nl-%{nl_version}.tar.gz
 # Source13-md5:        b37b0216a87db7583e88ba87031a0b4a
-Source14:      http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/PTM-snapshots/%{name}-pl-PTM-snapshot.%{pl_version}.tar.bz2
-# Source14-md5:        2ad83c91c1a568c1c5f40ba699077cd6
+#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:        f2f4c62520c11d3cf909b571954fef0d
 Source15:      ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-%{pt_version}-pt_BR.tgz
 # Source15-md5:        3f8db6dd6a7884b595e70f624ac93735
 Source16:      http://alexm.here.ru/manpages-ru/download/manpages-ru-%{ru_version}.tar.gz
@@ -282,10 +283,10 @@ rm -f man*/README*
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8}
+install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8,0p,1p,3p}
 
-for n in man{1,2,3,4,5,6,7,8}/*; do
-       if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
+for n in man{1,2,3,4,5,6,7,8,0p,1p,3p}/*; do
+       if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
                sed 's,\.so man./,.so ,' < $n > $n.
                mv $n. $n
        fi
@@ -377,7 +378,7 @@ install %{SOURCE51} $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5
 
 for k in $RPM_BUILD_ROOT%{_mandir}/{cs,de,es,fi,fr,hu,it,ja,ko,nl,pl,pt,pt_BR,ru,uk,zh_CN,zh_TW} ; do
        for n in $k/man{1,2,3,4,5,6,7,8}/*; do
-               if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
+               if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
                        sed 's,\.so man./,.so ,' < $n > $n.
                        mv $n. $n
                fi
@@ -389,7 +390,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_mandir}/man*/*
+%dir %{_mandir}/man*p
+%{_mandir}/man?/*
 %lang(cs) %{_mandir}/cs/man*/*
 %lang(de) %{_mandir}/de/man*/*
 %lang(es) %{_mandir}/es/man*/*
@@ -407,3 +409,8 @@ rm -rf $RPM_BUILD_ROOT
 %lang(uk) %{_mandir}/uk/man*/*
 %lang(zh_CN) %{_mandir}/zh_CN/man*/*
 #%lang(zh_TW) %{_mandir}/zh_TW/man*/*
+
+%files posix
+%defattr(644,root,root,755)
+%dir %{_mandir}/man?p
+%{_mandir}/man?p/*
This page took 0.027535 seconds and 4 git commands to generate.