]> git.pld-linux.org Git - packages/man-pages.git/blob - man-pages.spec
- added man pages in 9 new languages (cs, de, es, fr, hu, it, ja, pt_BR, ru)
[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(fr):    Pages man système du Projet de Documentation Linux
4 Summary(pl):    Podrêczniki systemowe z Linux Documentation Project
5 Summary(ru):    óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ ìÉÎÕËÓ.
6 Summary(tr):    Linux Belgeleme Projesinin sistem kýlavuz sayfalarý
7 Name:           man-pages
8 Version:        1.35
9 Release:        3
10 License:        Distributable
11 Group:          Documentation
12 Group(de):      Dokumentation
13 Group(es):      Documentación
14 Group(pl):      Dokumentacja
15 Group(pt_BR):   Documentação
16 Group(ru):      äÏËÕÍÅÎÔÁÃÉÑ
17 %define         cs_version      0.14
18 %define         da_version      0.1.1
19 %define         de_version      0.2
20 %define         es_version      1.28
21 %define         fr_version      0.7
22 %define         fi_version      0.1
23 %define         hu_version      2000_10_08
24 %define         it_version      0.3.0
25 %define         ja_version      20010815
26 %define         ko_version      20010605
27 %define         pl_version      20010913
28 %define         pt_BR_version   1.39
29 %define ru_version      0.7
30 Source0:        ftp://ftp.win.tue.nl/pub/linux-local/manpages/%{name}-%{version}.tar.gz
31 Source1:        ftp://ftp.muni.cz/pub/linux/people/petr_kolar/localization/man-pages-cs/%{name}-cs-%{cs_version}.tar.gz
32 # there is no LDP man page here, yet.
33 #Source2:       http://www.sslug.dk/locale/man-sider/manpages-da-%{da_version}.tar.gz
34 Source3:        ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-de-%{de_version}.tar.gz
35 Source4:        http://www.ditec.um.es/~piernas/manpages-es/%{name}-es-%{es_version}.tar.gz
36 Source5:        %{name}-from-rpm-fi-%{fi_version}.tar.gz
37 Source6:        ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-fr-%{fr_version}.tar.gz
38 #Source6:       ftp://ftp.lip6.fr/pub/linux/french/docs/man-fr-%{fr_version}.tar.gz
39 Source7:        http://www.kde.hu/mlp/man/man_hu_%{hu_version}.tar.gz
40 #Source8:       http://nakula.rvs.uni-bielefeld.de/made/my_project/ManPage/id-man.tar.bz2
41 Source9:        ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-it-%{it_version}.tar.gz
42 Source10:       ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ja-%{ja_version}.tar.gz
43 #Source10:      http://www.linux.or.jp/JM/%{name}-ja-%{ja_version}.tar.bz2
44 # there is no LDP man page here, yet.
45 #Source11:      ftp://metalab.unc.edu/pub/Linux/docs/LDP/man-pages/%{name}-ko-%{ko_version}.tar.gz
46 Source12:       ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-nl.tar.gz
47 Source13:       man-pages-pl-PTM-snapshot.%{pl_version}.tar.gz
48 Source14:       ftp://ftp.win.tue.nl/pub/home/aeb/linux-local/manpages/tr/%{name}-%{pt_BR_version}-pt_BR.tgz
49 Source15:       http://alexm.here.ru/manpages-ru/download/manpages-ru-%{ru_version}.tar.gz
50 Patch0:         man-pages-iconv.patch
51 Patch1:         man-pages-ctype.patch
52 BuildArch:      noarch
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 Autoreqprov:    false
55 Obsoletes:      man-pages-pl
56
57 %description
58 A large collection of man pages covering programming APIs, file
59 formats, protocols, etc.
60
61 - section 1 = user commands (intro only)
62 - section 2 = system calls
63 - section 3 = libc calls
64 - section 4 = devices (e.g., hd, sd)
65 - section 5 = file formats and protocols (e.g., wtmp, /etc/passwd,
66   nfs)
67 - section 6 = games (intro only)
68 - section 7 = conventions, macro packages, etc. (e.g., nroff, ascii)
69 - section 8 = system administration (intro only)
70
71 %description -l de
72 Eine große Sammlung von man-Seiten über Programmier-APIs,
73 Dateiformate, Protokolle, usw..
74
75 - section 1 = Benutzerbefehle (nur intro)
76 - section 2 = Systemaufrufe
77 - section 3 = libc-Aufrufe
78 - section 4 = Geräte (z.B. hd, sd)
79 - section 5 = Dateiformate und Protokolle (z.B. wtmp, /etc/passwd,
80   nfs)
81 - section 6 = Spiele (nur intro)
82 - section 7 = Konventionen, Makro-Pakete, usw. (z.B. nroff, ascii)
83 - section 8 = Systemverwaltung (nur intro)
84
85 %description -l fr
86 Un large ensemble de pages de man couvrant la programmation des APIs,
87 les formats de fichiers, les protocoles, etc.
88
89 - section 1 = commandes utilisateur (intro seulement)
90 - section 2 = appels système
91 - section 3 = appels libc
92 - section 4 = périphériques (e.g., hd, sd)
93 - section 5 = formats de fichiers et protocoles (e.g., wtmp,
94   /etc/passwd, nfs)
95 - section 6 = jeux (intro seulement)
96 - section 7 = conventions, paquetages, etc. (e.g., nroff, ascii)
97 - section 8 = administration système (intro seulement)
98
99 %description -l pl
100 Pakiet ten zawiera du¿± kolekcjê podrêczników ekranowych (man pages),
101 opisuj±cych format plików, protoko³y itp.
102
103 - sekcja 1 = komendy u¿ytkowników (tylko wstêp)
104 - sekcja 2 = wywo³ania systemowe
105 - sekcja 3 = wywo³ania bibliotek
106 - sekcja 4 = urz±dzenia (np., hd, sd)
107 - sekcja 5 = format plików i protoko³y (np., wtmp, /etc/passwd, nfs)
108 - sekcja 6 = gry (tylko wstêp)
109 - sekcja 7 = konwencje, makro-pakiety, itp. (np., nroff, ascii)
110 - sekcja 8 = administracja systemu (tylko wstêp)
111
112 %description(ru)
113 îÅÂÏÌØÛÁÑ ËÏÌÌÅËÃÉÑ ÓÔÒÁÎÉàÒÕËÏ×ÏÄÓÔ×Á ÉÚ ðÒÏÅËÔÁ äÏËÕÍÅÎÔÁÃÉÉ ÎÁ ìÉÎÕËÓ.
114 óÔÒÁÎÉÃÙ ÒÕËÏ×ÏÄÓÔ×Á ÏÒÇÁÎÉÚÏ×ÁÎÙ ÓÌÅÄÕÀÝÉÍ ÏÂÒÁÚÏÍ:
115
116 - ÓÅËÃÉÑ 1, ËÏÍÁÎÄ ÐÏÌØÚÏ×ÁÔÅÌÑ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
117 - ÓÅËÃÉÑ 2, ÓÉÓÔÅÍÎÙÅ ×ÙÚÏ×Ù
118 - ÓÅËÃÉÑ 3, ÆÕÎËÃÉÉ ÂÉÂÌÉÏÔÅËÉ ÑÚÙËÁ C
119 - ÓÅËÃÉÑ 4, ÕÓÔÒÏÊÓÔ×Á (ÎÁÐÒÉÍÅÒ, hd, sd)
120 - ÓÅËÃÉÑ 4, ÆÏÒÍÁÔÙ ÆÁÊÌÏ× É ÐÒÏÔÏËÏÌÙ (ÎÁÐÒÉÍÅÒ, wtmp, /etc/passwd, nfs)
121 - ÓÅËÃÉÑ 6, ÉÇÒÙ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
122 - ÓÅËÃÉÑ 7, ÓÏÇÌÁÛÅÎÉÑ, ÍÁËÒÏ-ÐÁËÅÔÙ, É Ô. Ð. (ÎÁÐÒÉÍÅÒ, nroff, ascii)
123 - ÓÅËÃÉÑ 8, ÕÔÉÌÉÔÙ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ (ÔÏÌØËÏ ××ÅÄÅÎÉÅ)
124
125 %description -l tr
126 Programlama arayüzlerini, dosya formatlarýný, protokolleri vs.
127 kapsayan, geniþ bir kýlavuz sayfalarý derlemesi.
128
129 %prep
130 %setup -q -a7 -c -T -n %{name}-hu-%{hu_version}
131 %setup -q -a1 -a3 -a4 -a5 -a6 -a9 -a10 -a12 -a13 -a14 -a15
132 %patch0 -p1
133 %patch1 -p1
134
135 %build
136 rm -f man1/{chgrp,chmod,chown,cp,dd,df,dircolors,du,install,diff}.1
137 rm -f man1/{ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,time,touch,dir,vdir}.1
138 rm -f man1/COPYING
139 rm -f man2/{capget,capset}.2 
140 rm -f man4/console.4
141 rm -f man5/passwd.5
142
143 rm -f man*/README*
144
145 %install
146 rm -rf $RPM_BUILD_ROOT
147 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,2,3,4,5,6,7,8}
148
149 for n in man{1,2,3,4,5,6,7,8}/*; do
150         install $n $RPM_BUILD_ROOT%{_mandir}/$n
151 done
152
153 # rm -f $RPM_BUILD_ROOT%{_mandir}/man*/README*
154
155 install -d $RPM_BUILD_ROOT%{_mandir}/cs/man{1,2,3,4,5,6,7,8}
156 install -d $RPM_BUILD_ROOT%{_mandir}/de/man{1,2,3,4,5,6,7,8}
157 install -d $RPM_BUILD_ROOT%{_mandir}/es/man{1,2,3,4,5,6,7,8}
158 install -d $RPM_BUILD_ROOT%{_mandir}/fi/man{1,2,3,4,5,6,7,8}
159 install -d $RPM_BUILD_ROOT%{_mandir}/fr/man{1,2,3,4,5,6,7,8}
160 install -d $RPM_BUILD_ROOT%{_mandir}/hu/man{1,2,3,4,5,6,7,8}
161 install -d $RPM_BUILD_ROOT%{_mandir}/it/man{1,2,3,4,5,6,7,8}
162 install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,2,3,4,5,6,7,8}
163 install -d $RPM_BUILD_ROOT%{_mandir}/nl/man{1,2,3,4,5,6,7,8}
164 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man{1,2,3,4,5,6,7,8}
165 install -d $RPM_BUILD_ROOT%{_mandir}/pt_BR/man{1,2,3,4,5,6,7,8}
166 install -d $RPM_BUILD_ROOT%{_mandir}/ru/man{1,2,3,4,5,6,7,8}
167 for n in man{1,2,3,4,5,6,7,8}/*; do
168         if [ -f %{name}-cs-%{cs_version}/$n ]; then
169                 install %{name}-cs-%{cs_version}/$n $RPM_BUILD_ROOT%{_mandir}/cs/$n
170         fi
171         if [ -f %{name}-de-%{de_version}/$n ]; then
172                 install %{name}-de-%{de_version}/$n $RPM_BUILD_ROOT%{_mandir}/de/$n
173         fi
174         if [ -f %{name}-es-%{es_version}/$n ]; then
175                 install %{name}-es-%{es_version}/$n $RPM_BUILD_ROOT%{_mandir}/es/$n
176         fi
177         # fi/man?/* are bziped
178         if [ -f fi/$n.bz2 ]; then
179                 bunzip2 fi/$n.bz2
180                 install fi/$n $RPM_BUILD_ROOT%{_mandir}/fi/$n
181         fi
182         if [ -f man-fr-%{fr_version}/$n ]; then
183                 install man-fr-%{fr_version}/$n $RPM_BUILD_ROOT%{_mandir}/fr/$n
184         fi
185         # hu/man?/* are gziped
186         if [ -f ../%{name}-hu-%{hu_version}/$n.gz ]; then
187                 gunzip ../%{name}-hu-%{hu_version}/$n.gz
188                 install ../%{name}-hu-%{hu_version}/$n $RPM_BUILD_ROOT%{_mandir}/hu/$n
189         fi
190         if [ -f %{name}-it-%{it_version}/$n ]; then
191                 install %{name}-it-%{it_version}/$n $RPM_BUILD_ROOT%{_mandir}/it/$n
192         fi
193         if [ -f %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n ]; then
194                 install %{name}-ja-%{ja_version}/manual/LDP_man-pages/$n $RPM_BUILD_ROOT%{_mandir}/ja/$n
195         fi
196         if [ -f nl/$n ]; then
197                 install nl/$n $RPM_BUILD_ROOT%{_mandir}/nl/$n
198         fi
199         if [ -f pl_PL/$n ]; then
200                 install pl_PL/$n $RPM_BUILD_ROOT%{_mandir}/pl/$n
201         fi
202         if [ -f %{name}-%{pt_BR_version}-pt_BR/$n ]; then
203                 install %{name}-%{pt_BR_version}-pt_BR/$n $RPM_BUILD_ROOT%{_mandir}/pt_BR/$n
204         fi
205         if [ -f manpages-ru-%{ru_version}/$n ]; then
206                 install manpages-ru-%{ru_version}/$n $RPM_BUILD_ROOT%{_mandir}/ru/$n
207         fi
208 done
209
210 %clean
211 rm -rf $RPM_BUILD_ROOT
212
213 %files
214 %defattr(644,root,root,755)
215 %{_mandir}/man*/*
216 %lang(cs) %{_mandir}/cs/man*/*
217 %lang(de) %{_mandir}/de/man*/*
218 %lang(es) %{_mandir}/es/man*/*
219 %lang(fi) %{_mandir}/fi/man*/*
220 %lang(fr) %{_mandir}/fr/man*/*
221 %lang(hu) %{_mandir}/hu/man*/*
222 %lang(it) %{_mandir}/it/man*/*
223 %lang(ja) %{_mandir}/ja/man*/*
224 %lang(nl) %{_mandir}/nl/man*/*
225 %lang(pl) %{_mandir}/pl/man*/*
226 %lang(pt) %{_mandir}/pt_BR/man*/*
227 %lang(ru) %{_mandir}/ru/man*/*
This page took 0.088788 seconds and 4 git commands to generate.