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