3 %bcond_with tars # generate man-pages tars for other packages [not done yet]
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ý
16 Summary(uk): óÔÏÒ¦ÎËÉ ÍÁÎÕÁÌÕ (man) Ú Linux Documentation Project
20 License: distributable
22 %define cs_version 0.16
23 %define da_version 0.1.1
24 %define de_version 0.4
25 %define es_version 1.55
26 %define es_extra_version 0.8a
27 %define fi_version 0.2
28 %define fr_version 1.64.0
29 %define hu_version 20010119
30 %define id_version 20011116
31 %define it_version 0.3.4
32 %define ja_version 20051015
33 %define ko_version 20050219
34 %define nl_version 0.13.3
35 %define pl_version 20051105
36 %define pt_version 1.39
37 %define ro_version 0.2
38 #%%define ru_version 0.98
39 %define ru_asp_version 1.4
40 %define tr_version 1.0.3
41 %define zh_version 1.5
42 Source0: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/%{name}-%{version}.tar.gz
43 # Source0-md5: 8b5a9c069013ba2402da1a2339f727af
44 Source1: ftp://ftp.linux.cz/pub/localization/linux/czman/%{name}-cs-%{cs_version}.tar.gz
45 # Source1-md5: e8036794c1762804f2e242cc5b52001e
46 # there is no LDP man page here, yet - but include it in sources for completeness
47 Source2: http://www.sslug.dk/locale/man-sider/manpages-da-%{da_version}.tar.gz
48 # Source2-md5: d12ba0481d824c28a8b7d6b73e20d7c0
49 Source3: http://www.infodrom.org/projects/manpages-de/download/manpages-de-%{de_version}.tar.gz
50 # Source3-md5: 6a2a1cd24b0bd61c4ab384324e707a95
51 Source4: http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-%{es_version}.tar.bz2
52 # Source4-md5: b71f701dcae827f2f5e4e848c66321fc
53 Source5: http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-extra-%{es_extra_version}.tar.gz
54 # Source5-md5: 5827f41f77658df17f550b7f8e831432
55 # extracted from http://www.ftp.funet.fi/index/sotlinux/bestlinux-2000R3/BL_2000_R3_FINAL/update/Finnish/man-pages-fi-0.2-1.src.rpm
56 # (despite archive filename it's 0.2 version)
57 Source6: man-fi-0.1.tar.bz2
58 # Source6-md5: bb266d3797cdf71bfbe1da190196f455
59 Source7: http://manpagesfr.free.fr/download/man-fr-%{fr_version}.tar.bz2
60 # Source7-md5: 336029199c9dd6c16ed85f8b7039dd2e
61 #Source8: http://download.uhulinux.hu/sources/man-pages-hu/man_hu_%{hu_version}.tar.gz (older)
62 Source8: http://ftp.debian.org/debian/pool/main/m/manpages-hu/manpages-hu_%{hu_version}.orig.tar.gz
63 # Source8-md5: 742b682c5237a1e370b28f363826b2d5
65 # there is no LDP man page here, yet, but included for completeness
66 # based on http://nakula.rvs.uni-bielefeld.de/made/my_project/ManPage/ (dead now)
67 Source9: http://www.mif.pg.gda.pl/homepages/ankry/man-pages/man-pages-from-www-id-%{id_version}.tar.gz
68 # Source9-md5: 34a69de42ec4ae8180b947f8777a3e7a
69 # available also as http://
70 Source10: ftp://ftp.pluto.linux.it/pub/pluto/ildp/man/%{name}-it-%{it_version}.tar.gz
71 # Source10-md5: 4e072cafbd196654c925ff0a0dca2c8f
72 Source11: http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.gz
73 # Source11-md5: fbc4c3bf09038ff0765596103fd37062
74 Source12: http://download.kldp.net/man/man-pages-ko/%{ko_version}/%{name}-ko-%{ko_version}.tar.gz
75 # Source12-md5: e31dc6a51c02436371373dedaeeeacab
76 Source13: ftp://ftp.nl.linux.org/pub/DOC-NL/manpages-nl/manpages-nl-%{nl_version}.tar.gz
77 # Source13-md5: b37b0216a87db7583e88ba87031a0b4a
78 #Source14: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/PTM-snapshots/%{name}-pl-PTM-snapshot.%{pl_version}.tar.bz2
79 Source14: %{name}-pl-PTM-snapshot.%{pl_version}.tar.bz2
80 # Source14-md5: b9b5751fcde4c36022850d0e5a4757d3
81 Source15: ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-pt_BR-%{pt_version}.tgz
82 # Source15-md5: 3f8db6dd6a7884b595e70f624ac93735
83 # no LDP man pages yet
84 Source16: http://www.rolix.org/man/arhiva/man-pages-ro-%{ro_version}.tar.gz
85 # Source16-md5: ac5b2c970a31cb721e068ff80e5bd466
86 #Source17: http://www.linuxshare.ru/projects/trans/manpages-ru-%{ru_version}.tar.bz2
87 # ASP-linux have more up-to-date manpages (but 0.98 contains some updated pages)
88 Source17: http://www.mif.pg.gda.pl/homepages/ankry/man-pages/manpages-ru-asp-%{ru_asp_version}.tar.bz2
89 # Source17-md5: fffb27648417c8dd551e2a4403eefc64
90 Source18: http://dl.sourceforge.net/belgeler/man-pages-tr-%{tr_version}.tar.gz
91 # Source18-md5: 903c7b22a87961842dec8f4f1adeeaf3
92 Source19: http://www.linux.org.ua/twiki/pub/Projects/ManUk/man-pages-uk_UA.alfa.tar.gz
93 # Source19-md5: 89576c5b51bb83c8bfa8bda794b96e21
94 #Source20: http://cmpp.linuxforum.net/download/man-pages-zh_CN-%{zh_version}.tar.gz
95 Source20: http://download.sf.linuxforum.net/cmpp/man-pages-zh_CN-%{zh_version}.tar.gz
96 # Source20-md5: edfe517621579520cf7451088ab126ea
97 Source50: %{name}-extra.tar.bz2
98 # Source50-md5: 967e10b6b691f53885ffa01695657f79
101 Patch0: %{name}-localtime.patch
102 Patch1: %{name}-zh_fixes.patch
105 Obsoletes: man-pages-cs
106 Obsoletes: man-pages-de
107 Obsoletes: man-pages-es
108 Obsoletes: man-pages-fi
109 Obsoletes: man-pages-fr
110 Obsoletes: man-pages-hu
111 Obsoletes: manpages-hu
112 Obsoletes: man-pages-it
113 Obsoletes: man-pages-ja
114 Obsoletes: man-pages-ko
115 Obsoletes: man-pages-nl
116 Obsoletes: man-pages-pl
117 Obsoletes: man-pages-pt
118 Obsoletes: man-pages-pt_BR
119 Obsoletes: man-pages-ru
120 Obsoletes: man-pages-ru-asp
121 Obsoletes: man-pages-uk
122 Obsoletes: man-pages-zh
123 Conflicts: attr-devel < 2.2.0-2
124 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
127 A large collection of man pages covering programming APIs, file
128 formats, protocols, etc.
130 - section 1: user commands (intro only)
131 - section 2: system calls
132 - section 3: libc calls (intro only)
133 - section 4: devices (e.g., hd, sd)
134 - section 5: file formats and protocols (e.g., wtmp, /etc/passwd, nfs)
135 - section 6: games (intro only)
136 - section 7: conventions, macro packages, etc. (e.g., nroff, ascii)
137 - section 8: system administration (intro only)
140 Eine große Sammlung von man-Seiten über Programmier-APIs,
141 Dateiformate, Protokolle, usw..
143 - section 1: Benutzerbefehle (nur intro)
144 - section 2: Systemaufrufe
145 - section 3: libc-Aufrufe (nur intro)
146 - section 4: Geräte (z.B. hd, sd)
147 - section 5: Dateiformate und Protokolle (z.B. wtmp, /etc/passwd, nfs)
148 - section 6: Spiele (nur intro)
149 - section 7: Konventionen, Makro-Pakete, usw. (z.B. nroff, ascii)
150 - section 8: Systemverwaltung (nur intro)
153 Una larga colección de páginas de manuales cubriendo programación
154 APIs, formatos de archivos, protocolos, etc.
156 - seción 1: comandos de usuario (solamente introducción)
157 - seción 2: llamadas de sistema
158 - seción 3: llamadas libc (solamente introducción)
159 - seción 4: dispositivos (ej.: hd, sd)
160 - seción 5: formatos de archivos y protocolos (ej: wtmp, /etc/passwd,
162 - seción 6: juegos (solamente introducción)
163 - seción 7: convenciones, paquetes de macros, etc. (ej: nroff, ascii)
164 - seción 8: administración de sistema (solamente introducción)
167 Kokoelma man-sivujen käännöksiä suomenkielelle. Sivuja on mukana
168 yhteensä 211 kpl ja ne on paketoitu 14.11.1999 mennessä valmiina
169 olleista sivuista. Sivut ovat osista 1 (komennot) ja 2 (pelit).
172 Une large collection de pages de manuel du Project de Documentation
173 Linux (LDP), traduites en Français. Les pages de manuel sont
174 organisées en differentes sections :
176 - section 1: Commandes utilisateur (intro seulement)
177 - section 2: Appels système
178 - section 3: Appels de la Libc (intro seulement)
179 - section 4: Périphériques (par ex. hd, sd)
180 - section 5: Formats de fichiers et de protocoles (par ex. wtmp,
182 - section 6: Jeux (intro seulement)
183 - section 7: Conventions, macro packages, etc. (par ex. nroff, ascii)
184 - section 8: Administration système (intro seulement)
187 Traduzioni italiane delle pagine di manuale per Linux: questo
188 pacchetto include non solo quelle dell'LDP, ma anche traduzioni di
189 altre pagine di uso comune. ATTENZIONE: alcune pagine sono obsolete!
192 Pakiet ten zawiera du¿± kolekcjê podrêczników ekranowych (man pages),
193 opisuj±cych format plików, protoko³y itp.
195 - sekcja 1: polecenia u¿ytkowników (tylko wstêp)
196 - sekcja 2: wywo³ania systemowe
197 - sekcja 3: wywo³ania bibliotek (tylko wstêp)
198 - sekcja 4: urz±dzenia (np., hd, sd)
199 - sekcja 5: format plików i protoko³y (np., wtmp, /etc/passwd, nfs)
200 - sekcja 6: gry (tylko wstêp)
201 - sekcja 7: konwencje, makro-pakiety, itp. (np., nroff, ascii)
202 - sekcja 8: administracja systemu (tylko wstêp)
205 Uma larga coleção de páginas de manuais cobrindo programação APIs,
206 formatos de arquivos, protocolos, etc.
208 - seção 1: comandos de usuário (somente introdução)
209 - seção 2: chamadas de sistema
210 - seção 3: chamadas libc (somente introdução)
211 - seção 4: dispositivos (ex.: hd, sd)
212 - seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
214 - seção 6: jogos (somente introdução)
215 - seção 7: convenções, pacotes de macros, etc. (ex: nroff, ascii)
216 - seção 8: administração de sistema (somente introdução)
218 %description -l pt_BR
219 Uma larga coleção de páginas de manuais cobrindo programação APIs,
220 formatos de arquivos, protocolos, etc.
222 - seção 1: comandos de usuário (somente introdução)
223 - seção 2: chamadas de sistema
224 - seção 3: chamadas libc (somente introdução)
225 - seção 4: dispositivos (ex.: hd, sd)
226 - seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
228 - seção 6: jogos (somente introdução)
229 - seção 7: convenções, pacotes de macros, etc. (ex: nroff, ascii)
230 - seção 8: administração de sistema (somente introdução)
233 îÅÂÏÌØÛÁÑ ËÏÌÌÅËÃÉÑ ÓÔÒÁÎÉà ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ
234 ìÉÎÕËÓ. óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÏÒÇÁÎÉÚÏ×ÁÎÙ ÓÌÅÄÕÀÝÉÍ ÏÂÒÁÚÏÍ:
236 - ÓÅËÃÉÑ 1: ËÏÍÁÎÄ ÐÏÌØÚÏ×ÁÔÅÌÑ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
237 - ÓÅËÃÉÑ 2: ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù
238 - ÓÅËÃÉÑ 3: ÆÕÎËÃÉÉ ÂÉÂÌÉÏÔÅËÉ ÑÚÙËÁ C (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
239 - ÓÅËÃÉÑ 4: ÕÓÔÒÏÊÓÔ×Á (ÎÁÐÒÉÍÅÒ, hd, sd)
240 - ÓÅËÃÉÑ 5: ÆÏÒÍÁÔÙ ÆÁÊÌÏ× É ÐÒÏÔÏËÏÌÙ (ÎÁÐÒÉÍÅÒ, wtmp, /etc/passwd,
242 - ÓÅËÃÉÑ 6: ÉÇÒÙ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
243 - ÓÅËÃÉÑ 7: ÓÏÇÌÁÛÅÎÉÑ, ÍÁËÒÏ-ÐÁËÅÔÙ, É Ô. Ð. (ÎÁÐÒÉÍÅÒ, nroff, ascii)
244 - ÓÅËÃÉÑ 8: ÕÔÉÌÉÔÙ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
247 Programlama arayüzlerini, dosya formatlarýný, protokolleri vs.
248 kapsayan, geniþ bir kýlavuz sayfalarý derlemesi.
251 ÷ÅÌÉËÉÊ ÎÁÂ¦Ò ÓÔÏÒ¦ÎÏË ÍÁÎÕÁÌÕ (ÄÏËÕÍÅÎÔÁæ§) Ú Linux Documentation
252 Project (LDP). óÔÏÒ¦ÎËÉ ÏÒÇÁΦÚÏ×ÁΦ Õ ÔÁ˦ ÓÅËæ§: óÅËÃ¦Ñ 1, ËÏÍÁÎÄÉ
253 ËÏÒÉÓÔÕ×ÁÞÁ (Ô¦ÌØËÉ ×ÓÔÕÐ); óÅËÃ¦Ñ 2, ÓÉÓÔÅÍΦ ×ÉËÌÉËÉ; óÅËÃ¦Ñ 3,
254 ×ÉËÌÉËÉ libc; óÅËÃ¦Ñ 4, ÐÒÉÓÔÒϧ (ÎÁÐÒÉËÌÁÄ, hd, sd); óÅËÃ¦Ñ 5,
255 ÆÏÒÍÁÔÉ ÆÁÊÌ¦× ÔÁ ÐÒÏÔÏËÏÌÉ (ÎÁÐÒÉËÌÁÄ, wtmp, /etc/passwd, nfs);
256 óÅËÃ¦Ñ 6, ¦ÇÒÉ (Ô¦ÌØËÉ ×ÓÔÕÐ); óÅËÃ¦Ñ 7, ÕÇÏÄÉ, ÍÁËÒÏÐÁËÅÔÉ ¦ Ô.¦.
257 (ÎÁÐÒÉËÌÁÄ, nroff, ascii); óÅËÃ¦Ñ 8, ÓÉÓÔÅÍÎÅ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ (Ô¦ÌØËÉ
261 Summary: POSIX manual pages from the Linux Documentation Project
262 Summary(de): POSIX-man-Seiten vom Linux Documentation Project
263 Summary(pl): Podrêczniki systemowe z Linux Documentation Project dotycz±ce POSIX
267 Part of POSIX 1003.1-2003 in man pages format.
269 %description posix -l pl
270 Fragmenty POSIX 1003.1-2003 w postaci stron podrêcznika systemowego.
273 %setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a11 -a13 -a14 -a15 -a17 -a18 -a19 -a20
278 tar xzf %{SOURCE10} -C it
279 tar xzf %{SOURCE12} -C ko
281 find man-pages-tr-%{tr_version} -name '*.gz' | xargs gzip -d
284 rm -f man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install,diff}.1
285 rm -f man1/{ldd,ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,time,touch,dir,vdir}.1
287 rm -f man2/{capget,capset}.2
288 find man3 -type f | grep -v 'intro\.3' | xargs rm -f
289 rm -f man4/{console,console_ioctl,sk98lin}.4
290 rm -f man5/{ftpusers,locale,nscd.conf,nsswitch.conf,passwd,tzfile}.5
291 rm -f man7/{ascii,charsets,iso*,koi8-r,latin*,locale,unicode,utf*}.7
292 rm -f man8/{ld.so,ldconfig,nscd,sync,tzselect,zdump,zic}.8
297 rm -rf $RPM_BUILD_ROOT
298 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8,0p,1p,3p}
300 for n in man{1,2,3,4,5,6,7,8,0p,1p,3p}/*; do
301 if head -n 1 $n| grep '^\.so' >/dev/null 2>&1 ; then
302 sed 's,\.so man./,.so ,' < $n > $n.
305 install $n $RPM_BUILD_ROOT%{_mandir}/$n
308 install -d $RPM_BUILD_ROOT%{_mandir}/cs/man{1,2,3,4,5,6,7,8}
309 install -d $RPM_BUILD_ROOT%{_mandir}/de/man{1,2,3,4,5,6,7,8}
310 install -d $RPM_BUILD_ROOT%{_mandir}/es/man{1,2,3,4,5,6,7,8}
311 install -d $RPM_BUILD_ROOT%{_mandir}/fi/man{1,2,3,4,5,6,7,8}
312 install -d $RPM_BUILD_ROOT%{_mandir}/fr/man{1,2,3,4,5,6,7,8}
313 install -d $RPM_BUILD_ROOT%{_mandir}/hu/man{1,2,3,4,5,6,7,8}
314 install -d $RPM_BUILD_ROOT%{_mandir}/it/man{1,2,3,4,5,6,7,8}
315 install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,2,3,4,5,6,7,8}
316 install -d $RPM_BUILD_ROOT%{_mandir}/ko/man{1,2,3,4,5,6,7,8}
317 install -d $RPM_BUILD_ROOT%{_mandir}/nl/man{1,2,3,4,5,6,7,8}
318 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man{1,2,3,4,5,6,7,8}
319 install -d $RPM_BUILD_ROOT%{_mandir}/pt/man{1,2,3,4,5,6,7,8}
320 install -d $RPM_BUILD_ROOT%{_mandir}/pt_BR/man{1,2,3,4,5,6,7,8}
321 install -d $RPM_BUILD_ROOT%{_mandir}/ru/man{1,2,3,4,5,6,7,8}
322 install -d $RPM_BUILD_ROOT%{_mandir}/tr/man{1,2,3,4,5,6,7,8}
323 install -d $RPM_BUILD_ROOT%{_mandir}/uk/man{1,2,3,4,5,6,7,8}
324 install -d $RPM_BUILD_ROOT%{_mandir}/zh_CN/man{1,2,3,4,5,6,7,8}
325 install -d $RPM_BUILD_ROOT%{_mandir}/zh_TW/man{1,2,3,4,5,6,7,8}
326 for n in man{1,2,3,4,5,6,7,8}/*; do
327 if [ -f %{name}-cs-%{cs_version}/$n ]; then
328 install %{name}-cs-%{cs_version}/$n $RPM_BUILD_ROOT%{_mandir}/cs/$n
330 if [ -f manpages-de-%{de_version}/$n ]; then
331 install manpages-de-%{de_version}/$n $RPM_BUILD_ROOT%{_mandir}/de/$n
333 if [ -f %{name}-es-%{es_version}/$n ]; then
334 install %{name}-es-%{es_version}/$n $RPM_BUILD_ROOT%{_mandir}/es/$n
335 elif [ -f %{name}-es-extra-%{es_extra_version}/$n ]; then
336 install %{name}-es-extra-%{es_extra_version}/$n $RPM_BUILD_ROOT%{_mandir}/es/$n
338 if [ -f manpages-fi/$n ]; then
339 install manpages-fi/$n $RPM_BUILD_ROOT%{_mandir}/fi/$n
341 if [ -f man-fr-%{fr_version}/$n ]; then
342 install man-fr-%{fr_version}/$n $RPM_BUILD_ROOT%{_mandir}/fr/$n
344 if [ -f manpages-hu-%{hu_version}.orig/usr/share/man/hu/$n ]; then
345 install manpages-hu-%{hu_version}.orig/usr/share/man/hu/$n $RPM_BUILD_ROOT%{_mandir}/hu/$n
347 if [ -f it/$n ]; then
348 install it/$n $RPM_BUILD_ROOT%{_mandir}/it/$n
350 if [ -f %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n ]; then
351 install %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n $RPM_BUILD_ROOT%{_mandir}/ja/$n
353 if [ -f ko/$n ]; then
354 install ko/$n $RPM_BUILD_ROOT%{_mandir}/ko/$n
356 if [ -f manpages-nl-%{nl_version}/$n ]; then
357 install manpages-nl-%{nl_version}/$n $RPM_BUILD_ROOT%{_mandir}/nl/$n
359 if [ -f pl_PL/$n ]; then
360 install pl_PL/$n $RPM_BUILD_ROOT%{_mandir}/pl/$n
362 if [ -f %{name}-%{pt_version}-pt_BR/$n ]; then
363 install %{name}-%{pt_version}-pt_BR/$n $RPM_BUILD_ROOT%{_mandir}/pt_BR/$n
365 if [ -f %{name}-%{pt_version}-pt_BR/$n ]; then
366 install %{name}-%{pt_version}-pt_BR/$n $RPM_BUILD_ROOT%{_mandir}/pt/$n
368 if [ -f manpages-ru-asp-%{ru_asp_version}/$n ]; then
369 install manpages-ru-asp-%{ru_asp_version}/$n $RPM_BUILD_ROOT%{_mandir}/ru/$n
371 if [ -f man-pages-tr-%{tr_version}/tr/$n ]; then
372 install man-pages-tr-%{tr_version}/tr/$n $RPM_BUILD_ROOT%{_mandir}/tr/$n
374 if [ -f %{name}-uk_UA.alfa/$n ]; then
375 install %{name}-uk_UA.alfa/$n $RPM_BUILD_ROOT%{_mandir}/uk/$n
377 if [ -f man-pages-zh_CN-%{zh_version}/src/$n ]; then
378 # these man-pages are in UTF-8
379 iconv -f UTF8 -t GB2312 man-pages-zh_CN-%{zh_version}/src/$n > $RPM_BUILD_ROOT%{_mandir}/zh_CN/$n
382 bzip2 -dc %{SOURCE50} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
384 install %{SOURCE51} $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5
385 install %{SOURCE52} $RPM_BUILD_ROOT%{_mandir}/man4/sk98lin.4
387 for k in $RPM_BUILD_ROOT%{_mandir}/{cs,de,es,fi,fr,hu,it,ja,ko,lt,nl,pl,pt,pt_BR,ru,tr,uk,zh_CN,zh_TW} ; do
388 for n in $k/man{1,2,3,4,5,6,7,8}/*; do
389 if head -n 1 $n| grep '^\.so' >/dev/null 2>&1 ; then
390 sed 's,\.so man./,.so ,' < $n > $n.
397 rm -rf $RPM_BUILD_ROOT
400 %defattr(644,root,root,755)
402 %lang(cs) %{_mandir}/cs/man*/*
403 %lang(de) %{_mandir}/de/man*/*
404 %lang(es) %{_mandir}/es/man*/*
405 %lang(fi) %{_mandir}/fi/man*/*
406 %lang(fr) %{_mandir}/fr/man*/*
407 %lang(hu) %{_mandir}/hu/man*/*
408 %lang(it) %{_mandir}/it/man*/*
409 %lang(ja) %{_mandir}/ja/man*/*
410 %lang(ko) %{_mandir}/ko/man*/*
411 %lang(nl) %{_mandir}/nl/man*/*
412 %lang(pl) %{_mandir}/pl/man*/*
413 %lang(pt) %{_mandir}/pt/man*/*
414 %lang(pt_BR) %{_mandir}/pt_BR/man*/*
415 %lang(ru) %{_mandir}/ru/man*/*
416 %lang(tr) %{_mandir}/tr/man*/*
417 %lang(uk) %{_mandir}/uk/man*/*
418 %lang(zh_CN) %{_mandir}/zh_CN/man*/*
419 #%lang(zh_TW) %{_mandir}/zh_TW/man*/*
422 %defattr(644,root,root,755)
423 %dir %{_mandir}/man?p