]> git.pld-linux.org Git - packages/man-pages.git/blob - man-pages.spec
7f4937d337dc17aaedcadb576244baa82650495f
[packages/man-pages.git] / man-pages.spec
1 Summary:        System manual pages from the Linux Documentation Project
2 Summary(de):    System-man-Seiten vom Linux Documentation Project
3 Summary(es):    Páginas de manual, del Proyecto de Documentación del Linux (LDP)
4 Summary(fi):    Suomenkieliset man-sivut
5 Summary(fr):    Pages man système du Projet de Documentation Linux
6 Summary(it):    Pagine di manuale
7 Summary(pl):    Podrêczniki systemowe z Linux Documentation Project
8 Summary(pt_BR): Páginas de manual, do Projeto de Documentação do Linux (LDP)
9 Summary(ru):    óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ ìÉÎÕËÓ
10 Summary(tr):    Linux Belgeleme Projesinin sistem kýlavuz sayfalarý
11 Name:           man-pages
12 Version:        1.39
13 Release:        2
14 License:        Distributable
15 Group:          Documentation
16 Group(de):      Dokumentation
17 Group(es):      Documentación
18 Group(pl):      Dokumentacja
19 Group(pt):      Documentação
20 Group(ru):      äÏËÕÍÅÎÔÁÃÉÑ
21 %define         cs_version      0.14
22 %define         da_version      0.1.1
23 %define         de_version      0.3
24 %define         es_version      1.28
25 %define         fi_version      0.1
26 %define         fr_version      0.9
27 %define         hu_version      2001_01_05
28 %define         id_version      20010914
29 %define         it_version      0.3.0
30 %define         ja_version      20010815
31 %define         ko_version      20010605
32 %define         pl_version      20010913
33 %define         pt_version      1.39
34 %define         ru_version      0.7
35 %define         zh_version      0.1
36 Source0:        ftp://ftp.win.tue.nl/pub/linux-local/manpages/%{name}-%{version}.tar.gz
37 Source1:        ftp://ftp.muni.cz/pub/linux/people/petr_kolar/localization/man-pages-cs/%{name}-cs-%{cs_version}.tar.gz
38 # there is no LDP man page here, yet.
39 #Source2:       http://www.sslug.dk/locale/man-sider/manpages-da-%{da_version}.tar.gz
40 Source3:        http://www.infodrom.ffis.de/projects/manpages-de/download/manpages-de-%{de_version}.tar.gz
41 Source4:        http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-%{es_version}.tar.gz
42 Source5:        man-fi-%{fi_version}.tar.bz2
43 #Source5:       http://developer.bestlinux.net/man-fi/usr/man/RPMS/%{name}-fi-%{fi_version}-4.src.rpm
44 Source6:        ftp://ftp.lip6.fr/pub/linux/french/docs/man-fr-%{fr_version}.tar.gz
45 #Source6:       ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-fr-%{fr_version}.tar.gz
46 Source7:        http://www.kde.hu/mlp/man/man_hu_%{hu_version}.tar.gz
47 # there is no LDP man page here, yet.
48 #Source8:       man-pages-from-www-id-%{id_version}.tar.gz
49 #Source8:       http://nakula.rvs.uni-bielefeld.de/made/my_project/ManPage/id-man.tar.bz2
50 Source9:        ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-it-%{it_version}.tar.gz
51 Source10:       ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ja-%{ja_version}.tar.gz
52 #Source10:      http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.bz2
53 Source11:       ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ko-%{ko_version}.tar.gz
54 Source12:       ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-nl.tar.gz
55 Source13:       %{name}-pl-PTM-snapshot.%{pl_version}.tar.gz
56 Source14:       ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-%{pt_version}-pt_BR.tgz
57 Source15:       http://alexm.here.ru/manpages-ru/download/manpages-ru-%{ru_version}.tar.gz
58 #Source16:      http://www.cmpp.net/download/cman-%{zh_version}.tar.gz
59 Patch0:         %{name}-iconv.patch
60 Patch1:         %{name}-ctype.patch
61 Patch2:         %{name}-localtime.patch
62 BuildArch:      noarch
63 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 Autoreqprov:    false
65 Obsoletes:      man-pages-cs
66 Obsoletes:      man-pages-de
67 Obsoletes:      man-pages-es
68 Obsoletes:      man-pages-fi
69 Obsoletes:      man-pages-fr
70 Obsoletes:      man-pages-hu
71 Obsoletes:      man-pages-it
72 Obsoletes:      man-pages-ja
73 Obsoletes:      man-pages-ko
74 Obsoletes:      man-pages-nl
75 Obsoletes:      man-pages-pl
76 Obsoletes:      man-pages-pt
77 Obsoletes:      man-pages-ru
78
79 %description
80 A large collection of man pages covering programming APIs, file
81 formats, protocols, etc.
82
83 - section 1: user commands (intro only)
84 - section 2: system calls
85 - section 3: libc calls
86 - section 4: devices (e.g., hd, sd)
87 - section 5: file formats and protocols (e.g., wtmp, /etc/passwd, nfs)
88 - section 6: games (intro only)
89 - section 7: conventions, macro packages, etc. (e.g., nroff, ascii)
90 - section 8: system administration (intro only)
91
92 %description -l de
93 Eine große Sammlung von man-Seiten über Programmier-APIs,
94 Dateiformate, Protokolle, usw..
95
96 - section 1: Benutzerbefehle (nur intro)
97 - section 2: Systemaufrufe
98 - section 3: libc-Aufrufe
99 - section 4: Geräte (z.B. hd, sd)
100 - section 5: Dateiformate und Protokolle (z.B. wtmp, /etc/passwd, nfs)
101 - section 6: Spiele (nur intro)
102 - section 7: Konventionen, Makro-Pakete, usw. (z.B. nroff, ascii)
103 - section 8: Systemverwaltung (nur intro)
104
105 %description -l es
106 Una larga colección de páginas de manuales cubriendo programación
107 APIs, formatos de archivos, protocolos, etc.
108
109 - seción 1: comandos de usuario (solamente introducción)
110 - seción 2: llamadas de sistema
111 - seción 3: llamadas libc
112 - seción 4: dispositivos (ej.: hd, sd)
113 - seción 5: formatos de archivos y protocolos (ej: wtmp, /etc/passwd,
114   nfs)
115 - seción 6: juegos (solamente introducción)
116 - seción 7: convenciones, paquetes de macros, etc. (ej: nroff, ascii)
117 - seción 8: administración de sistema (solamente introducción)
118 - seción 9: kernel
119
120 %description -l fi
121 Kokoelma man-sivujen käännöksiä suomenkielelle. Sivuja on mukana
122 yhteensä 211 kpl ja ne on paketoitu 14.11.1999 mennessä valmiina
123 olleista sivuista. Sivut ovat osista 1 (komennot) ja 2 (pelit).
124
125 %description -l fr
126 Une large collection de pages de manuel du Project de Documentation
127 Linux (LDP), traduites en Français. Les pages de manuel sont
128 organisées en differentes sections :
129
130 - section 1: Commandes utilisateur
131 - section 2: Appels système
132 - section 3: Appels de la Libc
133 - section 4: Périphériques (par ex. hd, sd)
134 - section 5: Formats de fichiers et de protocoles (par ex. wtmp,
135   /etc/passwd, nfs)
136 - section 6: Jeux (intro seulement)
137 - section 7: Conventions, macro packages, etc. (par ex. nroff, ascii)
138 - section 8: Administration système (intro seulement)
139 - section 9: Routines du noyau
140
141 %description -l it
142 Traduzioni italiane delle pagine di manuale per Linux: questo
143 pacchetto include non solo quelle dell'LDP, ma anche traduzioni di
144 altre pagine di uso comune. ATTENZIONE: alcune pagine sono obsolete!
145
146 %description -l pl
147 Pakiet ten zawiera du¿± kolekcjê podrêczników ekranowych (man pages),
148 opisuj±cych format plików, protoko³y itp.
149
150 - sekcja 1: komendy u¿ytkowników (tylko wstêp)
151 - sekcja 2: wywo³ania systemowe
152 - sekcja 3: wywo³ania bibliotek
153 - sekcja 4: urz±dzenia (np., hd, sd)
154 - sekcja 5: format plików i protoko³y (np., wtmp, /etc/passwd, nfs)
155 - sekcja 6: gry (tylko wstêp)
156 - sekcja 7: konwencje, makro-pakiety, itp. (np., nroff, ascii)
157 - sekcja 8: administracja systemu (tylko wstêp)
158
159 %description -l pt_BR
160 Uma larga coleção de páginas de manuais cobrindo programação APIs,
161 formatos de arquivos, protocolos, etc.
162
163 - seção 1: comandos de usuário (somente introdução)
164 - seção 2: chamadas de sistema
165 - seção 3: chamadas libc
166 - seção 4: dispositivos (ex.: hd, sd)
167 - seção 5: formatos de arquivos e protocolos (ex: wtmp, /etc/passwd,
168   nfs)
169 - seção 6: jogos (somente introdução)
170 - seção 7: convenções, pacotes de macros, etc. (ex: nroff, ascii)
171 - seção 8: administração de sistema (somente introdução)
172 - seção 9: kernel
173
174 %description -l ru
175 îÅÂÏÌØÛÁÑ ËÏÌÌÅËÃÉÑ ÓÔÒÁÎÉàÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ
176 ìÉÎÕËÓ. óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÏÒÇÁÎÉÚÏ×ÁÎÙ ÓÌÅÄÕÀÝÉÍ ÏÂÒÁÚÏÍ:
177
178 - ÓÅËÃÉÑ 1: ËÏÍÁÎÄ ÐÏÌØÚÏ×ÁÔÅÌÑ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
179 - ÓÅËÃÉÑ 2: ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù
180 - ÓÅËÃÉÑ 3: ÆÕÎËÃÉÉ ÂÉÂÌÉÏÔÅËÉ ÑÚÙËÁ C
181 - ÓÅËÃÉÑ 4: ÕÓÔÒÏÊÓÔ×Á (ÎÁÐÒÉÍÅÒ, hd, sd)
182 - ÓÅËÃÉÑ 4: ÆÏÒÍÁÔÙ ÆÁÊÌÏ× É ÐÒÏÔÏËÏÌÙ (ÎÁÐÒÉÍÅÒ, wtmp, /etc/passwd,
183   nfs)
184 - ÓÅËÃÉÑ 6: ÉÇÒÙ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
185 - ÓÅËÃÉÑ 7: ÓÏÇÌÁÛÅÎÉÑ, ÍÁËÒÏ-ÐÁËÅÔÙ, É Ô. Ð. (ÎÁÐÒÉÍÅÒ, nroff, ascii)
186 - ÓÅËÃÉÑ 8: ÕÔÉÌÉÔÙ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
187
188 %description -l tr
189 Programlama arayüzlerini, dosya formatlarýný, protokolleri vs.
190 kapsayan, geniþ bir kýlavuz sayfalarý derlemesi.
191
192 %prep
193 %setup -q -a1 -a3 -a4 -a5 -a6 -a9 -a10 -a12 -a13 -a14 -a15
194 %patch0 -p1
195 %patch1 -p1
196 %patch2 -p1
197
198 mkdir hu ko
199 tar xzf %{SOURCE7} -C hu
200 tar xzf %{SOURCE11} -C ko
201
202 %build
203 rm -f man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install,diff}.1
204 rm -f man1/{ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,time,touch,dir,vdir}.1
205 rm -f man1/COPYING
206 rm -f man2/{capget,capset}.2 
207 rm -f man4/console.4
208 rm -f man5/{locale,nsswitch.conf,passwd,tzfile}.5
209 rm -f man7/{ascii,charsets,iso*,latin*,locale,unicode,utf*}.7
210 rm -f man8/{sync,tzselect,zdump,zic,ldconfig}.8
211
212 rm -f man*/README*
213
214 %install
215 rm -rf $RPM_BUILD_ROOT
216 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8}
217
218 for n in man{1,2,3,4,5,6,7,8}/*; do
219         install $n $RPM_BUILD_ROOT%{_mandir}/$n
220 done
221
222 # rm -f $RPM_BUILD_ROOT%{_mandir}/man*/README*
223
224 install -d $RPM_BUILD_ROOT%{_mandir}/cs/man{1,2,3,4,5,6,7,8}
225 install -d $RPM_BUILD_ROOT%{_mandir}/de/man{1,2,3,4,5,6,7,8}
226 install -d $RPM_BUILD_ROOT%{_mandir}/es/man{1,2,3,4,5,6,7,8}
227 install -d $RPM_BUILD_ROOT%{_mandir}/fi/man{1,2,3,4,5,6,7,8}
228 install -d $RPM_BUILD_ROOT%{_mandir}/fr/man{1,2,3,4,5,6,7,8}
229 install -d $RPM_BUILD_ROOT%{_mandir}/hu/man{1,2,3,4,5,6,7,8}
230 install -d $RPM_BUILD_ROOT%{_mandir}/it/man{1,2,3,4,5,6,7,8}
231 install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,2,3,4,5,6,7,8}
232 install -d $RPM_BUILD_ROOT%{_mandir}/ko/man{1,2,3,4,5,6,7,8}
233 install -d $RPM_BUILD_ROOT%{_mandir}/nl/man{1,2,3,4,5,6,7,8}
234 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man{1,2,3,4,5,6,7,8}
235 install -d $RPM_BUILD_ROOT%{_mandir}/pt/man{1,2,3,4,5,6,7,8}
236 install -d $RPM_BUILD_ROOT%{_mandir}/ru/man{1,2,3,4,5,6,7,8}
237 for n in man{1,2,3,4,5,6,7,8}/*; do
238         if [ -f %{name}-cs-%{cs_version}/$n ]; then
239                 install %{name}-cs-%{cs_version}/$n $RPM_BUILD_ROOT%{_mandir}/cs/$n
240         fi
241         if [ -f manpages-de-%{de_version}/$n ]; then
242                 install manpages-de-%{de_version}/$n $RPM_BUILD_ROOT%{_mandir}/de/$n
243         fi
244         if [ -f %{name}-es-%{es_version}/$n ]; then
245                 install %{name}-es-%{es_version}/$n $RPM_BUILD_ROOT%{_mandir}/es/$n
246         fi
247         if [ -f manpages-fi/$n ]; then
248                 install manpages-fi/$n $RPM_BUILD_ROOT%{_mandir}/fi/$n
249         fi
250         if [ -f man-fr-%{fr_version}/$n ]; then
251                 install man-fr-%{fr_version}/$n $RPM_BUILD_ROOT%{_mandir}/fr/$n
252         fi
253         if [ -f hu/$n ]; then
254                 install hu/$n $RPM_BUILD_ROOT%{_mandir}/hu/$n
255         fi
256         if [ -f %{name}-it-%{it_version}/$n ]; then
257                 install %{name}-it-%{it_version}/$n $RPM_BUILD_ROOT%{_mandir}/it/$n
258         fi
259         if [ -f %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n ]; then
260                 install %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n $RPM_BUILD_ROOT%{_mandir}/ja/$n
261         fi
262         if [ -f ko/$n ]; then
263                 install ko/$n $RPM_BUILD_ROOT%{_mandir}/ko/$n
264         fi
265         if [ -f nl/$n ]; then
266                 install nl/$n $RPM_BUILD_ROOT%{_mandir}/nl/$n
267         fi
268         if [ -f pl_PL/$n ]; then
269                 install pl_PL/$n $RPM_BUILD_ROOT%{_mandir}/pl/$n
270         fi
271         if [ -f %{name}-%{pt_version}-pt_BR/$n ]; then
272                 install %{name}-%{pt_version}-pt_BR/$n $RPM_BUILD_ROOT%{_mandir}/pt/$n
273         fi
274         if [ -f manpages-ru-%{ru_version}/$n ]; then
275                 install manpages-ru-%{ru_version}/$n $RPM_BUILD_ROOT%{_mandir}/ru/$n
276         fi
277 done
278
279 %clean
280 rm -rf $RPM_BUILD_ROOT
281
282 %files
283 %defattr(644,root,root,755)
284 %{_mandir}/man*/*
285 %lang(cs) %{_mandir}/cs/man*/*
286 %lang(de) %{_mandir}/de/man*/*
287 %lang(es) %{_mandir}/es/man*/*
288 %lang(fi) %{_mandir}/fi/man*/*
289 %lang(fr) %{_mandir}/fr/man*/*
290 %lang(hu) %{_mandir}/hu/man*/*
291 %lang(it) %{_mandir}/it/man*/*
292 %lang(ja) %{_mandir}/ja/man*/*
293 %lang(ko) %{_mandir}/ko/man*/*
294 %lang(nl) %{_mandir}/nl/man*/*
295 %lang(pl) %{_mandir}/pl/man*/*
296 %lang(pt) %{_mandir}/pt/man*/*
297 %lang(ru) %{_mandir}/ru/man*/*
This page took 0.05963 seconds and 2 git commands to generate.