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