X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=man-pages.spec;h=583349fadb45a9d1d7d7b2b50313f7528a2b5e80;hb=ef7bf1d9a6cbc7a5b4624a2981775fae2b7f2ffb;hp=37e54eb85cac484c984885c3aeab922b9a98e696;hpb=8e8de27cd5749aa027ed34ac8fbc076804b6d0cc;p=packages%2Fman-pages.git diff --git a/man-pages.spec b/man-pages.spec index 37e54eb..583349f 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -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.63 -Release: 1 +Version: 1.70 +Release: 0.3 License: distributable Group: Documentation %define cs_version 0.16 @@ -30,16 +30,17 @@ Group: Documentation %define hu_version 2001_01_05 %define id_version 20011116 %define it_version 0.3.4 -%define ja_version 20031115 +%define ja_version 20041215 %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 ro_version 0.1 +#%%define ru_version 0.97 +%define ru_asp_version 1.4 %define zh_version 1.4 Source0: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/%{name}-%{version}.tar.gz -# Source0-md5: 235d9a3df5bc4eaf926622c5deec7a2a +# Source0-md5: 20882bb59b98c60ebfbd07e2dbe62f11 # # 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,25 +71,27 @@ 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: 91290eab138a266b41f33a36a0cfd2a6 +# Source11-md5: 191e95f490a0fce54d4d374e84cb1263 # # 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 -# Source16-md5: bfd5a8f20a12b994e19cfca0c4a21249 -# -# from ASP Linux -Source17: http://www.mif.pg.gda.pl/homepages/ankry/man-pages/man-pages-uk-%{uk_version}.tar.bz2 -# Source17-md5: a4f11eb6cdd2af4d57b967de868eb7fd -Source18: http://cmpp.linuxforum.net/download/man-pages-zh_CN-%{zh_version}.tar.gz -# Source18-md5: 2638da6c30a83b443064ca7353563a09 +# Source16: http://www.rolix.org/man/arhiva/man-pages-ro-%{ro_version}.tar.gz +#Source17: http://www.linuxshare.ru/projects/trans/manpages-ru-%{ru_version}.tar.bz2 +# ASP-linux have more up-to-date manpages +Source17: http://www.mif.pg.gda.pl/homepages/ankry/man-pages/manpages-ru-asp-%{ru_asp_version}.tar.bz2 +# Source17-md5: fffb27648417c8dd551e2a4403eefc64 +Source18: http://www.linux.org.ua/twiki/pub/Projects/ManUk/man-pages-uk_UA.alfa.tar.gz +# Source18-md5: 89576c5b51bb83c8bfa8bda794b96e21 +Source19: http://cmpp.linuxforum.net/download/man-pages-zh_CN-%{zh_version}.tar.gz +# Source19-md5: 2638da6c30a83b443064ca7353563a09 Source50: %{name}-extra.tar.bz2 # Source50-md5: 967e10b6b691f53885ffa01695657f79 Source51: mbox.5 @@ -156,7 +159,6 @@ APIs, formatos de archivos, protocolos, etc. - seción 6: juegos (solamente introducción) - seción 7: convenciones, paquetes de macros, etc. (ej: nroff, ascii) - seción 8: administración de sistema (solamente introducción) -- seción 9: kernel %description -l fi Kokoelma man-sivujen käännöksiä suomenkielelle. Sivuja on mukana @@ -177,7 +179,6 @@ organis - section 6: Jeux (intro seulement) - section 7: Conventions, macro packages, etc. (par ex. nroff, ascii) - section 8: Administration système (intro seulement) -- section 9: Routines du noyau %description -l it Traduzioni italiane delle pagine di manuale per Linux: questo @@ -210,7 +211,6 @@ formatos de arquivos, protocolos, etc. - seção 6: jogos (somente introdução) - seção 7: convenções, pacotes de macros, etc. (ex: nroff, ascii) - seção 8: administração de sistema (somente introdução) -- seção 9: kernel %description -l pt_BR Uma larga coleção de páginas de manuais cobrindo programação APIs, @@ -225,7 +225,6 @@ formatos de arquivos, protocolos, etc. - seção 6: jogos (somente introdução) - seção 7: convenções, pacotes de macros, etc. (ex: nroff, ascii) - seção 8: administração de sistema (somente introdução) -- seção 9: kernel %description -l ru îÅÂÏÌØÛÁÑ ËÏÌÌÅËÃÉÑ ÓÔÒÁÎÉà ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ @@ -255,9 +254,20 @@ Project (LDP). (ÎÁÐÒÉËÌÁÄ, nroff, ascii); óÅËÃ¦Ñ 8, ÓÉÓÔÅÍÎÅ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ (Ô¦ÌØËÉ ×ÓÔÕÐ). +%package posix +Summary: POSIX manual pages from the Linux Documentation Project +Summary(de): POSIX-man-Seiten vom Linux Documentation Project +Summary(pl): Podrêczniki systemowe z Linux Documentation Project dotycz±ce POSIX +Group: Documentation + +%description posix +Part of POSIX 1003.1-2003 in man pages format. + +%description posix -l pl +Fragmenty POSIX 1003.1-2003 w postaci stron podrêcznika systemowego. + %prep -#%setup -q -a1 -a3 -a4 -a5 -a6 -a7 -a10 -a11 -a13 -a14 -a15 -a16 -a17 -a18 -%setup -q -a1 -a3 -a4 -a5 -a6 -a7 -a11 -a13 -a14 -a15 -a16 -a17 -a18 +%setup -q -a1 -a3 -a4 -a5 -a6 -a7 -a11 -a13 -a14 -a15 -a17 -a18 -a19 %patch0 -p1 %patch1 -p0 #rm -f cman/man*/*.html @@ -282,10 +292,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 -n 1 $n| grep '^\.so' >/dev/null 2>&1 ; then sed 's,\.so man./,.so ,' < $n > $n. mv $n. $n fi @@ -355,11 +365,11 @@ for n in man{1,2,3,4,5,6,7,8}/*; do if [ -f %{name}-%{pt_version}-pt_BR/$n ]; then install %{name}-%{pt_version}-pt_BR/$n $RPM_BUILD_ROOT%{_mandir}/pt/$n fi - if [ -f manpages-ru-%{ru_version}/$n ]; then - install manpages-ru-%{ru_version}/$n $RPM_BUILD_ROOT%{_mandir}/ru/$n + if [ -f manpages-ru-asp-%{ru_asp_version}/$n ]; then + install manpages-ru-asp-%{ru_asp_version}/$n $RPM_BUILD_ROOT%{_mandir}/ru/$n fi - if [ -f %{name}-uk-%{uk_version}/$n ]; then - install %{name}-uk-%{uk_version}/$n $RPM_BUILD_ROOT%{_mandir}/uk/$n + if [ -f %{name}-uk_UA.alfa/$n ]; then + install %{name}-uk_UA.alfa/$n $RPM_BUILD_ROOT%{_mandir}/uk/$n fi # if [ -f cman/$n ]; then # install cman/$n $RPM_BUILD_ROOT%{_mandir}/zh_CN/$n @@ -377,7 +387,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 -n 1 $n| grep '^\.so' >/dev/null 2>&1 ; then sed 's,\.so man./,.so ,' < $n > $n. mv $n. $n fi @@ -389,7 +399,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%{_mandir}/man*/* +%{_mandir}/man?/* %lang(cs) %{_mandir}/cs/man*/* %lang(de) %{_mandir}/de/man*/* %lang(es) %{_mandir}/es/man*/* @@ -407,3 +417,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/*