X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=man-pages.spec;h=685308c34e86a7b48aa79e89a4070bd5815a0229;hb=83a519ed650066057cd0716a85fb3e5cf96edba8;hp=1b8300fc1ed0b11824855f684382d337aa2e20ed;hpb=dfd10441c28d98e52d255cfba2b31c22c4bbd88c;p=packages%2Fman-pages.git diff --git a/man-pages.spec b/man-pages.spec index 1b8300f..685308c 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +# _with_tars generate man-pages tars for other packages +# Summary: System manual pages from the Linux Documentation Project Summary(de): System-man-Seiten vom Linux Documentation Project Summary(es): Páginas de manual, del Proyecto de Documentación del Linux (LDP) @@ -9,20 +13,15 @@ Summary(pt): P Summary(pt_BR): Páginas de manual, do Projeto de Documentação do Linux (LDP) Summary(ru): óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ ìÉÎÕËÓ Summary(tr): Linux Belgeleme Projesinin sistem kýlavuz sayfalarý +Summary(uk): óÔÏÒ¦ÎËÉ ÍÁÎÕÁÌÕ (man) Ú Linux Documentation Project Name: man-pages -Version: 1.47 +Version: 1.51 Release: 3 License: distributable Group: Documentation -Group(de): Dokumentation -Group(es): Documentación -Group(pl): Dokumentacja -Group(pt): Documentação -Group(pt_BR): Documentação -Group(ru): äÏËÕÍÅÎÔÁÃÉÑ %define cs_version 0.14 %define da_version 0.1.1 -%define de_version 0.3 +%define de_version 0.4 %define es_version 1.28 %define es_extra_version 0.8a %define fi_version 0.1 @@ -30,42 +29,39 @@ Group(ru): %define hu_version 2001_01_05 %define id_version 20011116 %define it_version 0.3.0 -%define ja_version 20011215 +%define ja_version 20020615 %define ko_version 20010605 %define nl_version 0.13.3 -%define pl_version 20020102 +%define pl_version 20020611 %define pt_version 1.39 %define ru_version 0.7 %define zh_version 0.1 Source0: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/%{name}-%{version}.tar.gz Source1: ftp://ftp.muni.cz/pub/linux/people/petr_kolar/localization/man-pages-cs/%{name}-cs-%{cs_version}.tar.gz # there is no LDP man page here, yet. -#Source2: http://www.sslug.dk/locale/man-sider/manpages-da-%{da_version}.tar.gz +# Source2: http://www.sslug.dk/locale/man-sider/manpages-da-%{da_version}.tar.gz Source3: http://www.infodrom.ffis.de/projects/manpages-de/download/manpages-de-%{de_version}.tar.gz Source4: http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-%{es_version}.tar.gz Source5: http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-extra-%{es_extra_version}.tar.gz +# extracted from http://developer.bestlinux.net/man-fi/usr/man/RPMS/%{name}-fi-%{fi_version}-4.src.rpm Source6: man-fi-%{fi_version}.tar.bz2 -#Source6: http://developer.bestlinux.net/man-fi/usr/man/RPMS/%{name}-fi-%{fi_version}-4.src.rpm Source7: ftp://ftp.lip6.fr/pub/linux/french/docs/man-fr-%{fr_version}.tar.gz -#Source7: ftp://ftp.win.tue.nl/pub/home/aeb/home/aeb/linux-local/manpages/tr/%{name}-fr-%{fr_version}.tar.gz Source8: http://www.kde.hu/mlp/man/man_hu_%{hu_version}.tar.gz # there is no LDP man page here, yet. -#Source9: man-pages-from-www-id-%{id_version}.tar.gz -#Source9: http://nakula.rvs.uni-bielefeld.de/my_project/ManPage/ -Source10: ftp://ftp.win.tue.nl/pub/home/aeb/home/aeb/linux-local/manpages/tr/%{name}-it-%{it_version}.tar.gz -Source11: ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ja-%{ja_version}.tar.gz -#Source11: http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.gz +# based on http://nakula.rvs.uni-bielefeld.de/made/my_project/ManPage/ +# Source9: man-pages-from-www-id-%{id_version}.tar.gz +Source10: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-it-%{it_version}.tar.gz +# Source11: ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ja-%{ja_version}.tar.gz +Source11: http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.gz Source12: ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ko-%{ko_version}.tar.gz Source13: ftp://ftp.nl.linux.org/pub/DOC-NL/manpages-nl/manpages-nl-%{nl_version}.tar.gz Source14: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/PTM-snapshots/%{name}-pl-PTM-snapshot.%{pl_version}.tar.bz2 -Source15: ftp://ftp.win.tue.nl/pub/home/aeb/home/aeb/linux-local/manpages/tr/%{name}-%{pt_version}-pt_BR.tgz +Source15: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-%{pt_version}-pt_BR.tgz Source16: http://alexm.here.ru/manpages-ru/download/manpages-ru-%{ru_version}.tar.gz -#Source17: http://www.cmpp.net/download/cman-%{zh_version}.tar.gz -Source30: semget.2 +# Source17: http://www.cmpp.net/download/cman-%{zh_version}.tar.gz Source50: %{name}-extra.tar.bz2 -#Patch0: %{name}-iconv.patch -#Patch1: %{name}-ctype.patch -Patch2: %{name}-localtime.patch +Source51: mbox.5 +Patch0: %{name}-localtime.patch BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Autoreqprov: false @@ -212,9 +208,19 @@ formatos de arquivos, protocolos, etc. Programlama arayüzlerini, dosya formatlarýný, protokolleri vs. kapsayan, geniþ bir kýlavuz sayfalarý derlemesi. +%description -l uk +÷ÅÌÉËÉÊ ÎÁÂ¦Ò ÓÔÏÒ¦ÎÏË ÍÁÎÕÁÌÕ (ÄÏËÕÍÅÎÔÁæ§) Ú Linux Documentation +Project (LDP). óÔÏÒ¦ÎËÉ ÏÒÇÁΦÚÏ×ÁΦ Õ ÔÁ˦ ÓÅËæ§: óÅËÃ¦Ñ 1, ËÏÍÁÎÄÉ +ËÏÒÉÓÔÕ×ÁÞÁ (Ô¦ÌØËÉ ×ÓÔÕÐ); óÅËÃ¦Ñ 2, ÓÉÓÔÅÍΦ ×ÉËÌÉËÉ; óÅËÃ¦Ñ 3, +×ÉËÌÉËÉ libc; óÅËÃ¦Ñ 4, ÐÒÉÓÔÒϧ (ÎÁÐÒÉËÌÁÄ, hd, sd); óÅËÃ¦Ñ 5, +ÆÏÒÍÁÔÉ ÆÁÊÌ¦× ÔÁ ÐÒÏÔÏËÏÌÉ (ÎÁÐÒÉËÌÁÄ, wtmp, /etc/passwd, nfs); +óÅËÃ¦Ñ 6, ¦ÇÒÉ (Ô¦ÌØËÉ ×ÓÔÕÐ); óÅËÃ¦Ñ 7, ÕÇÏÄÉ, ÍÁËÒÏÐÁËÅÔÉ ¦ Ô.¦. +(ÎÁÐÒÉËÌÁÄ, nroff, ascii); óÅËÃ¦Ñ 8, ÓÉÓÔÅÍÎÅ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ (Ô¦ÌØËÉ +×ÓÔÕÐ). + %prep %setup -q -a1 -a3 -a4 -a5 -a6 -a7 -a10 -a11 -a13 -a14 -a15 -a16 -%patch2 -p1 +%patch0 -p1 mkdir hu ko tar xzf %{SOURCE8} -C hu @@ -222,14 +228,14 @@ tar xzf %{SOURCE12} -C ko %build rm -f man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install,diff}.1 -rm -f man1/{ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,time,touch,dir,vdir}.1 +rm -f man1/{ldd,ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,time,touch,dir,vdir}.1 rm -f man1/COPYING -rm -f man2/{capget,capset}.2 +rm -f man2/{capget,capset}.2 find man3 -type f | grep -v 'intro\.3' | xargs rm -f rm -f man4/{console,console_ioctl}.4 -rm -f man5/{locale,nscd.conf,nsswitch.conf,passwd,tzfile}.5 +rm -f man5/{ftpusers,locale,nscd.conf,nsswitch.conf,passwd,tzfile}.5 rm -f man7/{ascii,charsets,iso*,koi8-r,latin*,locale,unicode,utf*}.7 -rm -f man8/{ldconfig,nscd,sync,tzselect,zdump,zic}.8 +rm -f man8/{ld.so,ldconfig,nscd,sync,tzselect,zdump,zic}.8 rm -f man*/README* @@ -237,8 +243,6 @@ rm -f man*/README* rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8} -install %{SOURCE30} $RPM_BUILD_ROOT%{_mandir}/man2 - for n in man{1,2,3,4,5,6,7,8}/*; do if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then sed 's,\.so man./,.so ,' < $n > $n. @@ -292,7 +296,7 @@ for n in man{1,2,3,4,5,6,7,8}/*; do install ko/$n $RPM_BUILD_ROOT%{_mandir}/ko/$n fi if [ -f manpages-nl-%{nl_version}/$n ]; then - install nl/$n $RPM_BUILD_ROOT%{_mandir}/nl/$n + install manpages-nl-%{nl_version}/$n $RPM_BUILD_ROOT%{_mandir}/nl/$n fi if [ -f pl_PL/$n ]; then install pl_PL/$n $RPM_BUILD_ROOT%{_mandir}/pl/$n @@ -309,6 +313,8 @@ for n in man{1,2,3,4,5,6,7,8}/*; do done bzip2 -dc %{SOURCE50} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} +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} ; 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