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