3 # _with_tars generate man-pages tars for other packages
5 Summary: System manual pages from the Linux Documentation Project
6 Summary(de): System-man-Seiten vom Linux Documentation Project
7 Summary(es): Páginas de manual, del Proyecto de Documentación del Linux (LDP)
8 Summary(fi): Suomenkieliset man-sivut
9 Summary(fr): Pages man système du Projet de Documentation Linux
10 Summary(it): Pagine di manuale
11 Summary(pl): Podrêczniki systemowe z Linux Documentation Project
12 Summary(pt): Páginas de manual, do Projeto de Documentação do Linux (LDP)
13 Summary(pt_BR): Páginas de manual, do Projeto de Documentação do Linux (LDP)
14 Summary(ru): óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ ìÉÎÕËÓ
15 Summary(tr): Linux Belgeleme Projesinin sistem kýlavuz sayfalarý
19 License: distributable
21 %define cs_version 0.14
22 %define da_version 0.1.1
23 %define de_version 0.4
24 %define es_version 1.28
25 %define es_extra_version 0.8a
26 %define fi_version 0.1
27 %define fr_version 0.9
28 %define hu_version 2001_01_05
29 %define id_version 20011116
30 %define it_version 0.3.0
31 %define ja_version 20020215
32 %define ko_version 20010605
33 %define nl_version 0.13.3
34 %define pl_version 20020219
35 %define pt_version 1.39
36 %define ru_version 0.7
37 %define zh_version 0.1
38 Source0: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/%{name}-%{version}.tar.gz
39 Source1: ftp://ftp.muni.cz/pub/linux/people/petr_kolar/localization/man-pages-cs/%{name}-cs-%{cs_version}.tar.gz
40 # there is no LDP man page here, yet.
41 # Source2: http://www.sslug.dk/locale/man-sider/manpages-da-%{da_version}.tar.gz
42 Source3: http://www.infodrom.ffis.de/projects/manpages-de/download/manpages-de-%{de_version}.tar.gz
43 Source4: http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-%{es_version}.tar.gz
44 Source5: http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-extra-%{es_extra_version}.tar.gz
45 # extracted from http://developer.bestlinux.net/man-fi/usr/man/RPMS/%{name}-fi-%{fi_version}-4.src.rpm
46 Source6: man-fi-%{fi_version}.tar.bz2
47 Source7: ftp://ftp.lip6.fr/pub/linux/french/docs/man-fr-%{fr_version}.tar.gz
48 Source8: http://www.kde.hu/mlp/man/man_hu_%{hu_version}.tar.gz
49 # there is no LDP man page here, yet.
50 # based on http://nakula.rvs.uni-bielefeld.de/made/my_project/ManPage/
51 # Source9: man-pages-from-www-id-%{id_version}.tar.gz
52 Source10: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-it-%{it_version}.tar.gz
53 # Source11: ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ja-%{ja_version}.tar.gz
54 Source11: http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.gz
55 Source12: ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ko-%{ko_version}.tar.gz
56 Source13: ftp://ftp.nl.linux.org/pub/DOC-NL/manpages-nl/manpages-nl-%{nl_version}.tar.gz
57 Source14: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/PTM-snapshots/%{name}-pl-PTM-snapshot.%{pl_version}.tar.bz2
58 Source15: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-%{pt_version}-pt_BR.tgz
59 Source16: http://alexm.here.ru/manpages-ru/download/manpages-ru-%{ru_version}.tar.gz
60 # Source17: http://www.cmpp.net/download/cman-%{zh_version}.tar.gz
61 Source50: %{name}-extra.tar.bz2
63 Patch0: %{name}-localtime.patch
65 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67 Obsoletes: man-pages-cs
68 Obsoletes: man-pages-de
69 Obsoletes: man-pages-es
70 Obsoletes: man-pages-fi
71 Obsoletes: man-pages-fr
72 Obsoletes: man-pages-hu
73 Obsoletes: man-pages-it
74 Obsoletes: man-pages-ja
75 Obsoletes: man-pages-ko
76 Obsoletes: man-pages-nl
77 Obsoletes: man-pages-pl
78 Obsoletes: man-pages-pt
79 Obsoletes: man-pages-pt_BR
80 Obsoletes: man-pages-ru
83 A large collection of man pages covering programming APIs, file
84 formats, protocols, etc.
86 - section 1: user commands (intro only)
87 - section 2: system calls
88 - section 3: libc calls (intro only)
89 - section 4: devices (e.g., hd, sd)
90 - section 5: file formats and protocols (e.g., wtmp, /etc/passwd, nfs)
91 - section 6: games (intro only)
92 - section 7: conventions, macro packages, etc. (e.g., nroff, ascii)
93 - section 8: system administration (intro only)
96 Eine große Sammlung von man-Seiten über Programmier-APIs,
97 Dateiformate, Protokolle, usw..
99 - section 1: Benutzerbefehle (nur intro)
100 - section 2: Systemaufrufe
101 - section 3: libc-Aufrufe (nur intro)
102 - section 4: Geräte (z.B. hd, sd)
103 - section 5: Dateiformate und Protokolle (z.B. wtmp, /etc/passwd, nfs)
104 - section 6: Spiele (nur intro)
105 - section 7: Konventionen, Makro-Pakete, usw. (z.B. nroff, ascii)
106 - section 8: Systemverwaltung (nur intro)
109 Una larga colección de páginas de manuales cubriendo programación
110 APIs, formatos de archivos, protocolos, etc.
112 - seción 1: comandos de usuario (solamente introducción)
113 - seción 2: llamadas de sistema
114 - seción 3: llamadas libc (solamente introducción)
115 - seción 4: dispositivos (ej.: hd, sd)
116 - seción 5: formatos de archivos y protocolos (ej: wtmp, /etc/passwd,
118 - seción 6: juegos (solamente introducción)
119 - seción 7: convenciones, paquetes de macros, etc. (ej: nroff, ascii)
120 - seción 8: administración de sistema (solamente introducción)
124 Kokoelma man-sivujen käännöksiä suomenkielelle. Sivuja on mukana
125 yhteensä 211 kpl ja ne on paketoitu 14.11.1999 mennessä valmiina
126 olleista sivuista. Sivut ovat osista 1 (komennot) ja 2 (pelit).
129 Une large collection de pages de manuel du Project de Documentation
130 Linux (LDP), traduites en Français. Les pages de manuel sont
131 organisées en differentes sections :
133 - section 1: Commandes utilisateur (intro seulement)
134 - section 2: Appels système
135 - section 3: Appels de la Libc (intro seulement)
136 - section 4: Périphériques (par ex. hd, sd)
137 - section 5: Formats de fichiers et de protocoles (par ex. wtmp,
139 - section 6: Jeux (intro seulement)
140 - section 7: Conventions, macro packages, etc. (par ex. nroff, ascii)
141 - section 8: Administration système (intro seulement)
142 - section 9: Routines du noyau
145 Traduzioni italiane delle pagine di manuale per Linux: questo
146 pacchetto include non solo quelle dell'LDP, ma anche traduzioni di
147 altre pagine di uso comune. ATTENZIONE: alcune pagine sono obsolete!
150 Pakiet ten zawiera du¿± kolekcjê podrêczników ekranowych (man pages),
151 opisuj±cych format plików, protoko³y itp.
153 - sekcja 1: komendy u¿ytkowników (tylko wstêp)
154 - sekcja 2: wywo³ania systemowe
155 - sekcja 3: wywo³ania bibliotek (tylko wstêp)
156 - sekcja 4: urz±dzenia (np., hd, sd)
157 - sekcja 5: format plików i protoko³y (np., wtmp, /etc/passwd, nfs)
158 - sekcja 6: gry (tylko wstêp)
159 - sekcja 7: konwencje, makro-pakiety, itp. (np., nroff, ascii)
160 - sekcja 8: administracja systemu (tylko wstêp)
163 Uma larga coleção de páginas de manuais cobrindo programação APIs,
164 formatos de arquivos, protocolos, etc.
166 - seção 1: comandos de usuário (somente introdução)
167 - seção 2: chamadas de sistema
168 - seção 3: chamadas libc (somente introdução)
169 - seção 4: dispositivos (ex.: hd, sd)
170 - seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
172 - seção 6: jogos (somente introdução)
173 - seção 7: convenções, pacotes de macros, etc. (ex: nroff, ascii)
174 - seção 8: administração de sistema (somente introdução)
177 %description -l pt_BR
178 Uma larga coleção de páginas de manuais cobrindo programação APIs,
179 formatos de arquivos, protocolos, etc.
181 - seção 1: comandos de usuário (somente introdução)
182 - seção 2: chamadas de sistema
183 - seção 3: chamadas libc (somente introdução)
184 - seção 4: dispositivos (ex.: hd, sd)
185 - seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
187 - seção 6: jogos (somente introdução)
188 - seção 7: convenções, pacotes de macros, etc. (ex: nroff, ascii)
189 - seção 8: administração de sistema (somente introdução)
193 îÅÂÏÌØÛÁÑ ËÏÌÌÅËÃÉÑ ÓÔÒÁÎÉà ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ
194 ìÉÎÕËÓ. óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÏÒÇÁÎÉÚÏ×ÁÎÙ ÓÌÅÄÕÀÝÉÍ ÏÂÒÁÚÏÍ:
196 - ÓÅËÃÉÑ 1: ËÏÍÁÎÄ ÐÏÌØÚÏ×ÁÔÅÌÑ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
197 - ÓÅËÃÉÑ 2: ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù
198 - ÓÅËÃÉÑ 3: ÆÕÎËÃÉÉ ÂÉÂÌÉÏÔÅËÉ ÑÚÙËÁ C (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
199 - ÓÅËÃÉÑ 4: ÕÓÔÒÏÊÓÔ×Á (ÎÁÐÒÉÍÅÒ, hd, sd)
200 - ÓÅËÃÉÑ 5: ÆÏÒÍÁÔÙ ÆÁÊÌÏ× É ÐÒÏÔÏËÏÌÙ (ÎÁÐÒÉÍÅÒ, wtmp, /etc/passwd,
202 - ÓÅËÃÉÑ 6: ÉÇÒÙ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
203 - ÓÅËÃÉÑ 7: ÓÏÇÌÁÛÅÎÉÑ, ÍÁËÒÏ-ÐÁËÅÔÙ, É Ô. Ð. (ÎÁÐÒÉÍÅÒ, nroff, ascii)
204 - ÓÅËÃÉÑ 8: ÕÔÉÌÉÔÙ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
207 Programlama arayüzlerini, dosya formatlarýný, protokolleri vs.
208 kapsayan, geniþ bir kýlavuz sayfalarý derlemesi.
211 %setup -q -a1 -a3 -a4 -a5 -a6 -a7 -a10 -a11 -a13 -a14 -a15 -a16
215 tar xzf %{SOURCE8} -C hu
216 tar xzf %{SOURCE12} -C ko
219 rm -f man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install,diff}.1
220 rm -f man1/{ldd,ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,time,touch,dir,vdir}.1
222 rm -f man2/{capget,capset}.2
223 find man3 -type f | grep -v 'intro\.3' | xargs rm -f
224 rm -f man4/{console,console_ioctl}.4
225 rm -f man5/{locale,nscd.conf,nsswitch.conf,passwd,tzfile}.5
226 rm -f man7/{ascii,charsets,iso*,koi8-r,latin*,locale,unicode,utf*}.7
227 rm -f man8/{ld.so,ldconfig,nscd,sync,tzselect,zdump,zic}.8
232 rm -rf $RPM_BUILD_ROOT
233 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8}
235 for n in man{1,2,3,4,5,6,7,8}/*; do
236 if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
237 sed 's,\.so man./,.so ,' < $n > $n.
240 install $n $RPM_BUILD_ROOT%{_mandir}/$n
243 install -d $RPM_BUILD_ROOT%{_mandir}/cs/man{1,2,3,4,5,6,7,8}
244 install -d $RPM_BUILD_ROOT%{_mandir}/de/man{1,2,3,4,5,6,7,8}
245 install -d $RPM_BUILD_ROOT%{_mandir}/es/man{1,2,3,4,5,6,7,8}
246 install -d $RPM_BUILD_ROOT%{_mandir}/fi/man{1,2,3,4,5,6,7,8}
247 install -d $RPM_BUILD_ROOT%{_mandir}/fr/man{1,2,3,4,5,6,7,8}
248 install -d $RPM_BUILD_ROOT%{_mandir}/hu/man{1,2,3,4,5,6,7,8}
249 install -d $RPM_BUILD_ROOT%{_mandir}/it/man{1,2,3,4,5,6,7,8}
250 install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,2,3,4,5,6,7,8}
251 install -d $RPM_BUILD_ROOT%{_mandir}/ko/man{1,2,3,4,5,6,7,8}
252 install -d $RPM_BUILD_ROOT%{_mandir}/nl/man{1,2,3,4,5,6,7,8}
253 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man{1,2,3,4,5,6,7,8}
254 install -d $RPM_BUILD_ROOT%{_mandir}/pt/man{1,2,3,4,5,6,7,8}
255 install -d $RPM_BUILD_ROOT%{_mandir}/pt_BR/man{1,2,3,4,5,6,7,8}
256 install -d $RPM_BUILD_ROOT%{_mandir}/ru/man{1,2,3,4,5,6,7,8}
257 for n in man{1,2,3,4,5,6,7,8}/*; do
258 if [ -f %{name}-cs-%{cs_version}/$n ]; then
259 install %{name}-cs-%{cs_version}/$n $RPM_BUILD_ROOT%{_mandir}/cs/$n
261 if [ -f manpages-de-%{de_version}/$n ]; then
262 install manpages-de-%{de_version}/$n $RPM_BUILD_ROOT%{_mandir}/de/$n
264 if [ -f %{name}-es-%{es_version}/$n ]; then
265 install %{name}-es-%{es_version}/$n $RPM_BUILD_ROOT%{_mandir}/es/$n
266 elif [ -f %{name}-es-extra-%{es_extra_version}/$n ]; then
267 install %{name}-es-extra-%{es_extra_version}/$n $RPM_BUILD_ROOT%{_mandir}/es/$n
269 if [ -f manpages-fi/$n ]; then
270 install manpages-fi/$n $RPM_BUILD_ROOT%{_mandir}/fi/$n
272 if [ -f man-fr-%{fr_version}/$n ]; then
273 install man-fr-%{fr_version}/$n $RPM_BUILD_ROOT%{_mandir}/fr/$n
275 if [ -f hu/$n ]; then
276 install hu/$n $RPM_BUILD_ROOT%{_mandir}/hu/$n
278 if [ -f %{name}-it-%{it_version}/$n ]; then
279 install %{name}-it-%{it_version}/$n $RPM_BUILD_ROOT%{_mandir}/it/$n
281 if [ -f %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n ]; then
282 install %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n $RPM_BUILD_ROOT%{_mandir}/ja/$n
284 if [ -f ko/$n ]; then
285 install ko/$n $RPM_BUILD_ROOT%{_mandir}/ko/$n
287 if [ -f manpages-nl-%{nl_version}/$n ]; then
288 install manpages-nl-%{nl_version}/$n $RPM_BUILD_ROOT%{_mandir}/nl/$n
290 if [ -f pl_PL/$n ]; then
291 install pl_PL/$n $RPM_BUILD_ROOT%{_mandir}/pl/$n
293 if [ -f %{name}-%{pt_version}-pt_BR/$n ]; then
294 install %{name}-%{pt_version}-pt_BR/$n $RPM_BUILD_ROOT%{_mandir}/pt_BR/$n
296 if [ -f %{name}-%{pt_version}-pt_BR/$n ]; then
297 install %{name}-%{pt_version}-pt_BR/$n $RPM_BUILD_ROOT%{_mandir}/pt/$n
299 if [ -f manpages-ru-%{ru_version}/$n ]; then
300 install manpages-ru-%{ru_version}/$n $RPM_BUILD_ROOT%{_mandir}/ru/$n
303 bzip2 -dc %{SOURCE50} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
305 install %{SOURCE51} $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5
307 for k in $RPM_BUILD_ROOT%{_mandir}/{cs,de,es,fi,fr,hu,it,ja,ko,nl,pl,pt,pt_BR,ru} ; do
308 for n in $k/man{1,2,3,4,5,6,7,8}/*; do
309 if head -1 $n| grep '^\.so' >/dev/null 2>&1 ; then
310 sed 's,\.so man./,.so ,' < $n > $n.
317 rm -rf $RPM_BUILD_ROOT
320 %defattr(644,root,root,755)
322 %lang(cs) %{_mandir}/cs/man*/*
323 %lang(de) %{_mandir}/de/man*/*
324 %lang(es) %{_mandir}/es/man*/*
325 %lang(fi) %{_mandir}/fi/man*/*
326 %lang(fr) %{_mandir}/fr/man*/*
327 %lang(hu) %{_mandir}/hu/man*/*
328 %lang(it) %{_mandir}/it/man*/*
329 %lang(ja) %{_mandir}/ja/man*/*
330 %lang(ko) %{_mandir}/ko/man*/*
331 %lang(nl) %{_mandir}/nl/man*/*
332 %lang(pl) %{_mandir}/pl/man*/*
333 %lang(pt) %{_mandir}/pt/man*/*
334 %lang(pt_BR) %{_mandir}/pt_BR/man*/*
335 %lang(ru) %{_mandir}/ru/man*/*