]> git.pld-linux.org Git - packages/XFree86-fonts-dos.git/blob - XFree86-fonts-dos.spec
- %install should begin with rm -rf $RPM_BUILD_ROOT; unified %install a little
[packages/XFree86-fonts-dos.git] / XFree86-fonts-dos.spec
1 Summary:        XFree86 misc fonts with DOS encodings
2 Summary(pl.UTF-8):      Fonty misc z DOS-owym kodowaniem
3 Name:           XFree86-fonts-dos
4 Version:        4.2.0
5 Release:        4
6 License:        Public Domain
7 Group:          Fonts
8 Source0:        XFree86-fonts-misc-%{version}.tar.bz2
9 # Source0-md5:  cbadfe4e784653b2795def646b905fb4
10 Source1:        %{name}-maps.tar.bz2
11 # Source1-md5:  edd71dbe130ae9ce39704ee2ee9e185e
12 Source2:        %{name}-Mazovia.map
13 BuildRequires:  XFree86-fonts-utils
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17
18 %description
19 This package contains fixed fonts with DOS encodings.
20 Fonts were taken from XFree86.
21
22 %description -l pl.UTF-8
23 Pakiet ten zawiera czcionki fixed z DOS-owym kodowaniem.
24 Fonty zostały wzięte z dystrybucji XFree86.
25
26 %package -n XFree86-fonts-CP737
27 Summary:        Fixed CP737 fonts
28 Summary(pl.UTF-8):      Fonty rastrowe CP737
29 Group:          Fonts
30 Requires(post,postun):  fontpostinst
31 Requires:       %{_fontsdir}/misc
32
33 %description -n XFree86-fonts-CP737
34 This package contains fixed fonts with CP737 encoding.
35
36 %description -n XFree86-fonts-CP737 -l pl.UTF-8
37 Pakiet ten zawiera czcionki fixed z kodowaniem CP737.
38
39 %package -n XFree86-fonts-CP775
40 Summary:        Fixed CP775 fonts
41 Summary(pl.UTF-8):      Fonty rastrowe CP775
42 Group:          Fonts
43 Requires(post,postun):  fontpostinst
44 Requires:       %{_fontsdir}/misc
45
46 %description -n XFree86-fonts-CP775
47 This package contains fixed fonts with CP775 encoding.
48
49 %description -n XFree86-fonts-CP775 -l pl.UTF-8
50 Pakiet ten zawiera czcionki fixed z kodowaniem CP775.
51
52 %package -n XFree86-fonts-CP850
53 Summary:        Fixed CP850 fonts
54 Summary(pl.UTF-8):      Fonty rastrowe CP850
55 Group:          Fonts
56 Requires(post,postun):  fontpostinst
57 Requires:       %{_fontsdir}/misc
58
59 %description -n XFree86-fonts-CP850
60 This package contains fixed fonts with CP850 encoding.
61
62 %description -n XFree86-fonts-CP850 -l pl.UTF-8
63 Pakiet ten zawiera czcionki fixed z kodowaniem CP850.
64
65 %package -n XFree86-fonts-CP852
66 Summary:        Fixed CP852 fonts
67 Summary(pl.UTF-8):      Fonty rastrowe CP852
68 Group:          Fonts
69 Requires(post,postun):  fontpostinst
70 Requires:       %{_fontsdir}/misc
71
72 %description -n XFree86-fonts-CP852
73 This package contains fixed fonts with CP852 encoding.
74
75 %description -n XFree86-fonts-CP852 -l pl.UTF-8
76 Pakiet ten zawiera czcionki fixed z kodowaniem CP852.
77
78 %package -n XFree86-fonts-CP855
79 Summary:        Fixed CP855 fonts
80 Summary(pl.UTF-8):      Fonty rastrowe CP855
81 Group:          Fonts
82 Requires(post,postun):  fontpostinst
83 Requires:       %{_fontsdir}/misc
84
85 %description -n XFree86-fonts-CP855
86 This package contains fixed fonts with CP855 encoding.
87
88 %description -n XFree86-fonts-CP855 -l pl.UTF-8
89 Pakiet ten zawiera czcionki fixed z kodowaniem CP855.
90
91 %package -n XFree86-fonts-CP857
92 Summary:        Fixed CP857 fonts
93 Summary(pl.UTF-8):      Fonty rastrowe CP857
94 Group:          Fonts
95 Requires(post,postun):  fontpostinst
96 Requires:       %{_fontsdir}/misc
97
98 %description -n XFree86-fonts-CP857
99 This package contains fixed fonts with CP857 encoding.
100
101 %description -n XFree86-fonts-CP857 -l pl.UTF-8
102 Pakiet ten zawiera czcionki fixed z kodowaniem CP857.
103
104 %package -n XFree86-fonts-CP860
105 Summary:        Fixed CP860 fonts
106 Summary(pl.UTF-8):      Fonty rastrowe CP860
107 Group:          Fonts
108 Requires(post,postun):  fontpostinst
109 Requires:       %{_fontsdir}/misc
110
111 %description -n XFree86-fonts-CP860
112 This package contains fixed fonts with CP860 encoding.
113
114 %description -n XFree86-fonts-CP860 -l pl.UTF-8
115 Pakiet ten zawiera czcionki fixed z kodowaniem CP860.
116
117 %package -n XFree86-fonts-CP861
118 Summary:        Fixed CP861 fonts
119 Summary(pl.UTF-8):      Fonty rastrowe CP861
120 Group:          Fonts
121 Requires(post,postun):  fontpostinst
122 Requires:       %{_fontsdir}/misc
123
124 %description -n XFree86-fonts-CP861
125 This package contains fixed fonts with CP861 encoding.
126
127 %description -n XFree86-fonts-CP861 -l pl.UTF-8
128 Pakiet ten zawiera czcionki fixed z kodowaniem CP861.
129
130 %package -n XFree86-fonts-CP862
131 Summary:        Fixed CP862 fonts
132 Summary(pl.UTF-8):      Fonty rastrowe CP862
133 Group:          Fonts
134 Requires(post,postun):  fontpostinst
135 Requires:       %{_fontsdir}/misc
136
137 %description -n XFree86-fonts-CP862
138 This package contains fixed fonts with CP862 encoding.
139
140 %description -n XFree86-fonts-CP862 -l pl.UTF-8
141 Pakiet ten zawiera czcionki fixed z kodowaniem CP862.
142
143 %package -n XFree86-fonts-CP863
144 Summary:        Fixed CP863 fonts
145 Summary(pl.UTF-8):      Fonty rastrowe CP863
146 Group:          Fonts
147 Requires(post,postun):  fontpostinst
148 Requires:       %{_fontsdir}/misc
149
150 %description -n XFree86-fonts-CP863
151 This package contains fixed fonts with CP863 encoding.
152
153 %description -n XFree86-fonts-CP863 -l pl.UTF-8
154 Pakiet ten zawiera czcionki fixed z kodowaniem CP863.
155
156 %package -n XFree86-fonts-CP864
157 Summary:        Fixed CP864 fonts
158 Summary(pl.UTF-8):      Fonty rastrowe CP864
159 Group:          Fonts
160 Requires(post,postun):  fontpostinst
161 Requires:       %{_fontsdir}/misc
162
163 %description -n XFree86-fonts-CP864
164 This package contains fixed fonts with CP864 encoding.
165
166 %description -n XFree86-fonts-CP864 -l pl.UTF-8
167 Pakiet ten zawiera czcionki fixed z kodowaniem CP864.
168
169 %package -n XFree86-fonts-CP865
170 Summary:        Fixed CP865 fonts
171 Summary(pl.UTF-8):      Fonty rastrowe CP865
172 Group:          Fonts
173 Requires(post,postun):  fontpostinst
174 Requires:       %{_fontsdir}/misc
175
176 %description -n XFree86-fonts-CP865
177 This package contains fixed fonts with CP865 encoding.
178
179 %description -n XFree86-fonts-CP865 -l pl.UTF-8
180 Pakiet ten zawiera czcionki fixed z kodowaniem CP865.
181
182 %package -n XFree86-fonts-CP866
183 Summary:        Fixed CP866 fonts
184 Summary(pl.UTF-8):      Fonty rastrowe CP866
185 Group:          Fonts
186 Requires(post,postun):  fontpostinst
187 Requires:       %{_fontsdir}/misc
188
189 %description -n XFree86-fonts-CP866
190 This package contains fixed fonts with CP866 encoding.
191
192 %description -n XFree86-fonts-CP866 -l pl.UTF-8
193 Pakiet ten zawiera czcionki fixed z kodowaniem CP866.
194
195 %package -n XFree86-fonts-CP869
196 Summary:        Fixed CP869 fonts
197 Summary(pl.UTF-8):      Fonty rastrowe CP869
198 Group:          Fonts
199 Requires(post,postun):  fontpostinst
200 Requires:       %{_fontsdir}/misc
201
202 %description -n XFree86-fonts-CP869
203 This package contains fixed fonts with CP869 encoding.
204
205 %description -n XFree86-fonts-CP869 -l pl.UTF-8
206 Pakiet ten zawiera czcionki fixed z kodowaniem CP869.
207
208 %package -n XFree86-fonts-CP874
209 Summary:        Fixed CP874 fonts
210 Summary(pl.UTF-8):      Fonty rastrowe CP874
211 Group:          Fonts
212 Requires(post,postun):  fontpostinst
213 Requires:       %{_fontsdir}/misc
214
215 %description -n XFree86-fonts-CP874
216 This package contains fixed fonts with CP874 encoding.
217
218 %description -n XFree86-fonts-CP874 -l pl.UTF-8
219 Pakiet ten zawiera czcionki fixed z kodowaniem CP874.
220
221 %package -n XFree86-fonts-Mazovia
222 Summary:        Fixed Mazovia fonts
223 Summary(pl.UTF-8):      Fonty rastrowe Mazovia
224 Group:          Fonts
225 Requires(post,postun):  fontpostinst
226 Requires:       %{_fontsdir}/misc
227
228 %description -n XFree86-fonts-Mazovia
229 This package contains fixed fonts with Mazovia encoding.
230
231 %description -n XFree86-fonts-Mazovia -l pl.UTF-8
232 Pakiet ten zawiera czcionki fixed z kodowaniem Mazovia.
233
234 %prep
235 %setup -q -n FONTS -a1
236 cp -f %{SOURCE2} map-Mazovia-0
237
238 %build
239 for i in *.bdf
240 do
241         for j in 737 775 850 852 855 857 860 861 862 863 864 865 866 869 874
242         do
243                 ucs2any $i map-CP$j-0 CP$j-0
244                 name=`basename $i .bdf`-CP$j-0
245                 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
246                 rm -f $name.bdf
247         done
248         ucs2any $i map-Mazovia-0 Mazovia-0
249         name=`basename $i .bdf`-Mazovia-0
250         bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
251         rm -f $name.bdf
252 done
253
254 %install
255 rm -rf $RPM_BUILD_ROOT
256 install -d $RPM_BUILD_ROOT%{_fontsdir}/misc
257 install *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
258
259 %clean
260 rm -rf $RPM_BUILD_ROOT
261
262 %post -n XFree86-fonts-CP737
263 fontpostinst misc
264
265 %postun -n XFree86-fonts-CP737
266 fontpostinst misc
267
268 %post -n XFree86-fonts-CP775
269 fontpostinst misc
270
271 %postun -n XFree86-fonts-CP775
272 fontpostinst misc
273
274 %post -n XFree86-fonts-CP850
275 fontpostinst misc
276
277 %postun -n XFree86-fonts-CP850
278 fontpostinst misc
279
280 %post -n XFree86-fonts-CP852
281 fontpostinst misc
282
283 %postun -n XFree86-fonts-CP852
284 fontpostinst misc
285
286 %post -n XFree86-fonts-CP855
287 fontpostinst misc
288
289 %postun -n XFree86-fonts-CP855
290 fontpostinst misc
291
292 %post -n XFree86-fonts-CP857
293 fontpostinst misc
294
295 %postun -n XFree86-fonts-CP857
296 fontpostinst misc
297
298 %post -n XFree86-fonts-CP860
299 fontpostinst misc
300
301 %postun -n XFree86-fonts-CP860
302 fontpostinst misc
303
304 %post -n XFree86-fonts-CP861
305 fontpostinst misc
306
307 %postun -n XFree86-fonts-CP861
308 fontpostinst misc
309
310 %post -n XFree86-fonts-CP862
311 fontpostinst misc
312
313 %postun -n XFree86-fonts-CP862
314 fontpostinst misc
315
316 %post -n XFree86-fonts-CP863
317 fontpostinst misc
318
319 %postun -n XFree86-fonts-CP863
320 fontpostinst misc
321
322 %post -n XFree86-fonts-CP864
323 fontpostinst misc
324
325 %postun -n XFree86-fonts-CP864
326 fontpostinst misc
327
328 %post -n XFree86-fonts-CP865
329 fontpostinst misc
330
331 %postun -n XFree86-fonts-CP865
332 fontpostinst misc
333
334 %post -n XFree86-fonts-CP866
335 fontpostinst misc
336
337 %postun -n XFree86-fonts-CP866
338 fontpostinst misc
339
340 %post -n XFree86-fonts-CP869
341 fontpostinst misc
342
343 %postun -n XFree86-fonts-CP869
344 fontpostinst misc
345
346 %post -n XFree86-fonts-CP874
347 fontpostinst misc
348
349 %postun -n XFree86-fonts-CP874
350 fontpostinst misc
351
352 %post -n XFree86-fonts-Mazovia
353 fontpostinst misc
354
355 %postun -n XFree86-fonts-Mazovia
356 fontpostinst misc
357
358 %files -n XFree86-fonts-CP737
359 %defattr(644,root,root,755)
360 %{_fontsdir}/misc/*CP737-0.pcf.gz
361
362 %files -n XFree86-fonts-CP775
363 %defattr(644,root,root,755)
364 %{_fontsdir}/misc/*CP775-0.pcf.gz
365
366 %files -n XFree86-fonts-CP850
367 %defattr(644,root,root,755)
368 %{_fontsdir}/misc/*CP850-0.pcf.gz
369
370 %files -n XFree86-fonts-CP852
371 %defattr(644,root,root,755)
372 %{_fontsdir}/misc/*CP852-0.pcf.gz
373
374 %files -n XFree86-fonts-CP855
375 %defattr(644,root,root,755)
376 %{_fontsdir}/misc/*CP855-0.pcf.gz
377
378 %files -n XFree86-fonts-CP857
379 %defattr(644,root,root,755)
380 %{_fontsdir}/misc/*CP857-0.pcf.gz
381
382 %files -n XFree86-fonts-CP860
383 %defattr(644,root,root,755)
384 %{_fontsdir}/misc/*CP860-0.pcf.gz
385
386 %files -n XFree86-fonts-CP861
387 %defattr(644,root,root,755)
388 %{_fontsdir}/misc/*CP861-0.pcf.gz
389
390 %files -n XFree86-fonts-CP862
391 %defattr(644,root,root,755)
392 %{_fontsdir}/misc/*CP862-0.pcf.gz
393
394 %files -n XFree86-fonts-CP863
395 %defattr(644,root,root,755)
396 %{_fontsdir}/misc/*CP863-0.pcf.gz
397
398 %files -n XFree86-fonts-CP864
399 %defattr(644,root,root,755)
400 %{_fontsdir}/misc/*CP864-0.pcf.gz
401
402 %files -n XFree86-fonts-CP865
403 %defattr(644,root,root,755)
404 %{_fontsdir}/misc/*CP865-0.pcf.gz
405
406 %files -n XFree86-fonts-CP866
407 %defattr(644,root,root,755)
408 %{_fontsdir}/misc/*CP866-0.pcf.gz
409
410 %files -n XFree86-fonts-CP869
411 %defattr(644,root,root,755)
412 %{_fontsdir}/misc/*CP869-0.pcf.gz
413
414 %files -n XFree86-fonts-CP874
415 %defattr(644,root,root,755)
416 %{_fontsdir}/misc/*CP874-0.pcf.gz
417
418 %files -n XFree86-fonts-Mazovia
419 %defattr(644,root,root,755)
420 %{_fontsdir}/misc/*Mazovia-0.pcf.gz
This page took 0.078787 seconds and 3 git commands to generate.