%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
-Summary(es): Páginas de manual, del Proyecto de Documentación del Linux (LDP)
-Summary(fi): Suomenkieliset man-sivut
-Summary(fr): Pages man système du Projet de Documentation Linux
-Summary(it): Pagine di manuale
-Summary(pl): Podrêczniki systemowe z Linux Documentation Project
-Summary(pt): Páginas de manual, do Projeto de Documentação do Linux (LDP)
-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
+Summary(de.UTF-8): System-man-Seiten vom Linux Documentation Project
+Summary(es.UTF-8): Páginas de manual, del Proyecto de Documentación del Linux (LDP)
+Summary(fi.UTF-8): Suomenkieliset man-sivut
+Summary(fr.UTF-8): Pages man système du Projet de Documentation Linux
+Summary(it.UTF-8): Pagine di manuale
+Summary(pl.UTF-8): Podręczniki systemowe z Linux Documentation Project
+Summary(pt.UTF-8): Páginas de manual, do Projeto de Documentação do Linux (LDP)
+Summary(pt_BR.UTF-8): Páginas de manual, do Projeto de Documentação do Linux (LDP)
+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.39
-Release: 2
+Version: 3.48
+Release: 1
License: distributable
Group: Documentation
%define cs_version 0.16
%define hu_version 20010119
%define id_version 20011116
%define it_version 2.34
-%define ja_version 20060815
+%define ja_version 20070615
%define ko_version 20050219
%define nl_version 0.13.3
%define pl_version 20051105
%define ru_asp_version 1.4
%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: 770f4e5b1a1298ed054ceae7cdbbbba4
+Source0: http://www.kernel.org/pub/linux/docs/man-pages/%{name}-%{version}.tar.xz
+# Source0-md5: 16cb409678ad97f936a452f47f806044
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
# (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
# Source10-md5: 259868d64ee589828b4cc43e8769507b
Source11: http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.gz
-# Source11-md5: 0d5f64ddaf4ee862d1a03c72acc20c15
+# Source11-md5: d0079890039b10ef88f1e635ce59d859
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
# 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
#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
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
- section 7: conventions, macro packages, etc. (e.g., nroff, ascii)
- section 8: system administration (intro only)
-%description -l de
-Eine große Sammlung von man-Seiten über Programmier-APIs,
+%description -l de.UTF-8
+Eine große Sammlung von man-Seiten über Programmier-APIs,
Dateiformate, Protokolle, usw..
- section 1: Benutzerbefehle (nur intro)
- section 2: Systemaufrufe
- section 3: libc-Aufrufe (nur intro)
-- section 4: Geräte (z.B. hd, sd)
+- section 4: Geräte (z.B. hd, sd)
- section 5: Dateiformate und Protokolle (z.B. wtmp, /etc/passwd, nfs)
- section 6: Spiele (nur intro)
- section 7: Konventionen, Makro-Pakete, usw. (z.B. nroff, ascii)
- section 8: Systemverwaltung (nur intro)
-%description -l es
-Una larga colección de páginas de manuales cubriendo programación
+%description -l es.UTF-8
+Una larga colección de páginas de manuales cubriendo programación
APIs, formatos de archivos, protocolos, etc.
-- seción 1: comandos de usuario (solamente introducción)
-- seción 2: llamadas de sistema
-- seción 3: llamadas libc (solamente introducción)
-- seción 4: dispositivos (ej.: hd, sd)
-- seción 5: formatos de archivos y protocolos (ej: wtmp, /etc/passwd,
+- seción 1: comandos de usuario (solamente introducción)
+- seción 2: llamadas de sistema
+- seción 3: llamadas libc (solamente introducción)
+- seción 4: dispositivos (ej.: hd, sd)
+- seción 5: formatos de archivos y protocolos (ej: wtmp, /etc/passwd,
nfs)
-- 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 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)
-%description -l fi
-Kokoelma man-sivujen käännöksiä suomenkielelle. Sivuja on mukana
-yhteensä 211 kpl ja ne on paketoitu 14.11.1999 mennessä valmiina
+%description -l fi.UTF-8
+Kokoelma man-sivujen käännöksiä suomenkielelle. Sivuja on mukana
+yhteensä 211 kpl ja ne on paketoitu 14.11.1999 mennessä valmiina
olleista sivuista. Sivut ovat osista 1 (komennot) ja 2 (pelit).
-%description -l fr
+%description -l fr.UTF-8
Une large collection de pages de manuel du Project de Documentation
-Linux (LDP), traduites en Français. Les pages de manuel sont
-organisées en differentes sections :
+Linux (LDP), traduites en Français. Les pages de manuel sont
+organisées en differentes sections :
- section 1: Commandes utilisateur (intro seulement)
-- section 2: Appels système
+- section 2: Appels système
- section 3: Appels de la Libc (intro seulement)
-- section 4: Périphériques (par ex. hd, sd)
+- section 4: Périphériques (par ex. hd, sd)
- section 5: Formats de fichiers et de protocoles (par ex. wtmp,
/etc/passwd, nfs)
- section 6: Jeux (intro seulement)
- section 7: Conventions, macro packages, etc. (par ex. nroff, ascii)
-- section 8: Administration système (intro seulement)
+- section 8: Administration système (intro seulement)
-%description -l it
+%description -l it.UTF-8
Traduzioni italiane delle pagine di manuale per Linux: questo
pacchetto include non solo quelle dell'LDP, ma anche traduzioni di
altre pagine di uso comune. ATTENZIONE: alcune pagine sono obsolete!
-%description -l pl
-Pakiet ten zawiera du¿± kolekcjê podrêczników ekranowych (man pages),
-opisuj±cych format plików, protoko³y itp.
+%description -l pl.UTF-8
+Pakiet ten zawiera dużą kolekcję podręczników ekranowych (man pages),
+opisujących format plików, protokoły itp.
-- sekcja 1: polecenia u¿ytkowników (tylko wstêp)
-- sekcja 2: wywo³ania systemowe
-- sekcja 3: wywo³ania bibliotek (tylko wstêp)
-- sekcja 4: urz±dzenia (np., hd, sd)
-- sekcja 5: format plików i protoko³y (np., wtmp, /etc/passwd, nfs)
-- sekcja 6: gry (tylko wstêp)
+- sekcja 1: polecenia użytkowników (tylko wstęp)
+- sekcja 2: wywołania systemowe
+- sekcja 3: wywołania bibliotek (tylko wstęp)
+- sekcja 4: urządzenia (np., hd, sd)
+- sekcja 5: format plików i protokoły (np., wtmp, /etc/passwd, nfs)
+- sekcja 6: gry (tylko wstęp)
- sekcja 7: konwencje, makro-pakiety, itp. (np., nroff, ascii)
-- sekcja 8: administracja systemu (tylko wstêp)
+- sekcja 8: administracja systemu (tylko wstęp)
-%description -l pt
-Uma larga coleção de páginas de manuais cobrindo programação APIs,
+%description -l pt.UTF-8
+Uma larga coleção de páginas de manuais cobrindo programação APIs,
formatos de arquivos, protocolos, etc.
-- seção 1: comandos de usuário (somente introdução)
-- seção 2: chamadas de sistema
-- seção 3: chamadas libc (somente introdução)
-- seção 4: dispositivos (ex.: hd, sd)
-- seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
+- seção 1: comandos de usuário (somente introdução)
+- seção 2: chamadas de sistema
+- seção 3: chamadas libc (somente introdução)
+- seção 4: dispositivos (ex.: hd, sd)
+- seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
nfs)
-- 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 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)
-%description -l pt_BR
-Uma larga coleção de páginas de manuais cobrindo programação APIs,
+%description -l pt_BR.UTF-8
+Uma larga coleção de páginas de manuais cobrindo programação APIs,
formatos de arquivos, protocolos, etc.
-- seção 1: comandos de usuário (somente introdução)
-- seção 2: chamadas de sistema
-- seção 3: chamadas libc (somente introdução)
-- seção 4: dispositivos (ex.: hd, sd)
-- seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
+- seção 1: comandos de usuário (somente introdução)
+- seção 2: chamadas de sistema
+- seção 3: chamadas libc (somente introdução)
+- seção 4: dispositivos (ex.: hd, sd)
+- seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
nfs)
-- 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)
-
-%description -l ru
-îÅÂÏÌØÛÁÑ ËÏÌÌÅËÃÉÑ ÓÔÒÁÎÉà ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ
-ìÉÎÕËÓ. óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÏÒÇÁÎÉÚÏ×ÁÎÙ ÓÌÅÄÕÀÝÉÍ ÏÂÒÁÚÏÍ:
-
-- ÓÅËÃÉÑ 1: ËÏÍÁÎÄ ÐÏÌØÚÏ×ÁÔÅÌÑ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
-- ÓÅËÃÉÑ 2: ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù
-- ÓÅËÃÉÑ 3: ÆÕÎËÃÉÉ ÂÉÂÌÉÏÔÅËÉ ÑÚÙËÁ C (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
-- ÓÅËÃÉÑ 4: ÕÓÔÒÏÊÓÔ×Á (ÎÁÐÒÉÍÅÒ, hd, sd)
-- ÓÅËÃÉÑ 5: ÆÏÒÍÁÔÙ ÆÁÊÌÏ× É ÐÒÏÔÏËÏÌÙ (ÎÁÐÒÉÍÅÒ, wtmp, /etc/passwd,
+- 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)
+
+%description -l ru.UTF-8
+Небольшая коллекция страниц руководства из Проекта Документации на
+Линукс. Страницы руководства организованы следующим образом:
+
+- секция 1: команд пользователя (только введение)
+- секция 2: системные вызовы
+- секция 3: функции библиотеки языка C (только введение)
+- секция 4: устройства (например, hd, sd)
+- секция 5: форматы файлов и протоколы (например, wtmp, /etc/passwd,
nfs)
-- ÓÅËÃÉÑ 6: ÉÇÒÙ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
-- ÓÅËÃÉÑ 7: ÓÏÇÌÁÛÅÎÉÑ, ÍÁËÒÏ-ÐÁËÅÔÙ, É Ô. Ð. (ÎÁÐÒÉÍÅÒ, nroff, ascii)
-- ÓÅËÃÉÑ 8: ÕÔÉÌÉÔÙ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
-
-%description -l tr
-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, ÓÉÓÔÅÍÎÅ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ (Ô¦ÌØËÉ
-×ÓÔÕÐ).
+- секция 6: игры (только введение)
+- секция 7: соглашения, макро-пакеты, и т. п. (например, nroff, ascii)
+- секция 8: утилиты администратора (только введение)
+
+%description -l tr.UTF-8
+Programlama arayüzlerini, dosya formatlarını, protokolleri vs.
+kapsayan, geniş bir kılavuz sayfaları derlemesi.
+
+%description -l uk.UTF-8
+Великий набір сторінок мануалу (документації) з Linux Documentation
+Project (LDP). Сторінки організовані у такі секції: Секція 1, команди
+користувача (тільки вступ); Секція 2, системні виклики; Секція 3,
+виклики libc; Секція 4, пристрої (наприклад, hd, sd); Секція 5,
+формати файлів та протоколи (наприклад, wtmp, /etc/passwd, nfs);
+Секція 6, ігри (тільки вступ); Секція 7, угоди, макропакети і т.і.
+(наприклад, 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
+Summary(de.UTF-8): POSIX-man-Seiten vom Linux Documentation Project
+Summary(pl.UTF-8): 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.
+%description posix -l pl.UTF-8
+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 -a30
%patch0 -p1
%patch1 -p0
-mkdir it ko
-tar xzf %{SOURCE10} -C it
+mv man-pages-posix-*/man*p .
+
+mkdir ko
tar xzf %{SOURCE12} -C ko
find man-pages-tr-%{tr_version} -name '*.gz' | xargs gzip -d
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,man/man1/{apropos,man,whatis}.1,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
done
# avoid filename conflict
mv -f man-pages-ja-%{ja_version}/manual/netkit/man8/ftpd.{8,8n}
-for f in 1 2 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
# 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
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
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
# glibc
find man3 -type f | grep -v 'intro\.3' | xargs rm -f
rm -f man1/ldd.1
+rm -f man1/rpcgen.1
rm -f man5/{locale,nscd.conf,nsswitch.conf,tzfile}.5
rm -f man7/{ascii,charsets,iso*,koi8-r,latin*,locale,unicode,utf*}.7
rm -f man8/{ld.so,ldconfig,nscd,tzselect,zdump,zic}.8
rm -f */man1/ldd.1 */man8/sln.8 */man1/iconv.1
+rm -f {ja,ru}/man1/rpcgen.1
%endif
# shadow (but not pwdutils!); shadow(5) is missing in pwdutils too
rm -f man5/passwd.5
+# rpcbind, formerly glibc
+rm -f man8/rpcinfo.8
+
rm -f man1/{i,}gawk.1
rm -f man1/{i,}gawk.1
rm -f {it,ja,pl}/man1/{i,}gawk.1