2 %define _prefix /usr/X11R6
4 Summary: XFree86 misc fonts with DOS encodings
5 Summary(pl): Fonty misc z DOSowym kodowaniem
6 Name: XFree86-fonts-dos
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)
20 This package contains fixed fonts with DOS encodings.
21 Fonts were taken from XFree86.
24 Pakiet ten zawiera czcionki fixed z DOSowym kodowaniem.
25 Fonty zosta³y wziête z dystrybucji XFree86.
27 %package -n XFree86-fonts-CP737
28 Summary: Fixed CP737 fonts
29 Summary(pl): Fonty rastrowe CP737
31 Requires(post,postun): %{_bindir}/mkfontdir
32 Requires: %{_fontsdir}/misc
34 %description -n XFree86-fonts-CP737
35 This package contains fixed fonts with CP737 encoding.
37 %description -n XFree86-fonts-CP737 -l pl
38 Pakiet ten zawiera czcionki fixed z kodowaniem CP737.
40 %package -n XFree86-fonts-CP775
41 Summary: Fixed CP775 fonts
42 Summary(pl): Fonty rastrowe CP775
44 Requires(post,postun): %{_bindir}/mkfontdir
45 Requires: %{_fontsdir}/misc
47 %description -n XFree86-fonts-CP775
48 This package contains fixed fonts with CP775 encoding.
50 %description -n XFree86-fonts-CP775 -l pl
51 Pakiet ten zawiera czcionki fixed z kodowaniem CP775.
53 %package -n XFree86-fonts-CP850
54 Summary: Fixed CP850 fonts
55 Summary(pl): Fonty rastrowe CP850
57 Requires(post,postun): %{_bindir}/mkfontdir
58 Requires: %{_fontsdir}/misc
60 %description -n XFree86-fonts-CP850
61 This package contains fixed fonts with CP850 encoding.
63 %description -n XFree86-fonts-CP850 -l pl
64 Pakiet ten zawiera czcionki fixed z kodowaniem CP850.
66 %package -n XFree86-fonts-CP852
67 Summary: Fixed CP852 fonts
68 Summary(pl): Fonty rastrowe CP852
70 Requires(post,postun): %{_bindir}/mkfontdir
71 Requires: %{_fontsdir}/misc
73 %description -n XFree86-fonts-CP852
74 This package contains fixed fonts with CP852 encoding.
76 %description -n XFree86-fonts-CP852 -l pl
77 Pakiet ten zawiera czcionki fixed z kodowaniem CP852.
79 %package -n XFree86-fonts-CP855
80 Summary: Fixed CP855 fonts
81 Summary(pl): Fonty rastrowe CP855
83 Requires(post,postun): %{_bindir}/mkfontdir
84 Requires: %{_fontsdir}/misc
86 %description -n XFree86-fonts-CP855
87 This package contains fixed fonts with CP855 encoding.
89 %description -n XFree86-fonts-CP855 -l pl
90 Pakiet ten zawiera czcionki fixed z kodowaniem CP855.
92 %package -n XFree86-fonts-CP857
93 Summary: Fixed CP857 fonts
94 Summary(pl): Fonty rastrowe CP857
96 Requires(post,postun): %{_bindir}/mkfontdir
97 Requires: %{_fontsdir}/misc
99 %description -n XFree86-fonts-CP857
100 This package contains fixed fonts with CP857 encoding.
102 %description -n XFree86-fonts-CP857 -l pl
103 Pakiet ten zawiera czcionki fixed z kodowaniem CP857.
105 %package -n XFree86-fonts-CP860
106 Summary: Fixed CP860 fonts
107 Summary(pl): Fonty rastrowe CP860
109 Requires(post,postun): %{_bindir}/mkfontdir
110 Requires: %{_fontsdir}/misc
112 %description -n XFree86-fonts-CP860
113 This package contains fixed fonts with CP860 encoding.
115 %description -n XFree86-fonts-CP860 -l pl
116 Pakiet ten zawiera czcionki fixed z kodowaniem CP860.
118 %package -n XFree86-fonts-CP861
119 Summary: Fixed CP861 fonts
120 Summary(pl): Fonty rastrowe CP861
122 Requires(post,postun): %{_bindir}/mkfontdir
123 Requires: %{_fontsdir}/misc
125 %description -n XFree86-fonts-CP861
126 This package contains fixed fonts with CP861 encoding.
128 %description -n XFree86-fonts-CP861 -l pl
129 Pakiet ten zawiera czcionki fixed z kodowaniem CP861.
131 %package -n XFree86-fonts-CP862
132 Summary: Fixed CP862 fonts
133 Summary(pl): Fonty rastrowe CP862
135 Requires(post,postun): %{_bindir}/mkfontdir
136 Requires: %{_fontsdir}/misc
138 %description -n XFree86-fonts-CP862
139 This package contains fixed fonts with CP862 encoding.
141 %description -n XFree86-fonts-CP862 -l pl
142 Pakiet ten zawiera czcionki fixed z kodowaniem CP862.
144 %package -n XFree86-fonts-CP863
145 Summary: Fixed CP863 fonts
146 Summary(pl): Fonty rastrowe CP863
148 Requires(post,postun): %{_bindir}/mkfontdir
149 Requires: %{_fontsdir}/misc
151 %description -n XFree86-fonts-CP863
152 This package contains fixed fonts with CP863 encoding.
154 %description -n XFree86-fonts-CP863 -l pl
155 Pakiet ten zawiera czcionki fixed z kodowaniem CP863.
157 %package -n XFree86-fonts-CP864
158 Summary: Fixed CP864 fonts
159 Summary(pl): Fonty rastrowe CP864
161 Requires(post,postun): %{_bindir}/mkfontdir
162 Requires: %{_fontsdir}/misc
164 %description -n XFree86-fonts-CP864
165 This package contains fixed fonts with CP864 encoding.
167 %description -n XFree86-fonts-CP864 -l pl
168 Pakiet ten zawiera czcionki fixed z kodowaniem CP864.
170 %package -n XFree86-fonts-CP865
171 Summary: Fixed CP865 fonts
172 Summary(pl): Fonty rastrowe CP865
174 Requires(post,postun): %{_bindir}/mkfontdir
175 Requires: %{_fontsdir}/misc
177 %description -n XFree86-fonts-CP865
178 This package contains fixed fonts with CP865 encoding.
180 %description -n XFree86-fonts-CP865 -l pl
181 Pakiet ten zawiera czcionki fixed z kodowaniem CP865.
183 %package -n XFree86-fonts-CP866
184 Summary: Fixed CP866 fonts
185 Summary(pl): Fonty rastrowe CP866
187 Requires(post,postun): %{_bindir}/mkfontdir
188 Requires: %{_fontsdir}/misc
190 %description -n XFree86-fonts-CP866
191 This package contains fixed fonts with CP866 encoding.
193 %description -n XFree86-fonts-CP866 -l pl
194 Pakiet ten zawiera czcionki fixed z kodowaniem CP866.
196 %package -n XFree86-fonts-CP869
197 Summary: Fixed CP869 fonts
198 Summary(pl): Fonty rastrowe CP869
200 Requires(post,postun): %{_bindir}/mkfontdir
201 Requires: %{_fontsdir}/misc
203 %description -n XFree86-fonts-CP869
204 This package contains fixed fonts with CP869 encoding.
206 %description -n XFree86-fonts-CP869 -l pl
207 Pakiet ten zawiera czcionki fixed z kodowaniem CP869.
209 %package -n XFree86-fonts-CP874
210 Summary: Fixed CP874 fonts
211 Summary(pl): Fonty rastrowe CP874
213 Requires(post,postun): %{_bindir}/mkfontdir
214 Requires: %{_fontsdir}/misc
216 %description -n XFree86-fonts-CP874
217 This package contains fixed fonts with CP874 encoding.
219 %description -n XFree86-fonts-CP874 -l pl
220 Pakiet ten zawiera czcionki fixed z kodowaniem CP874.
222 %package -n XFree86-fonts-Mazovia
223 Summary: Fixed Mazovia fonts
224 Summary(pl): Fonty rastrowe Mazovia
226 Requires(post,postun): %{_bindir}/mkfontdir
227 Requires: %{_fontsdir}/misc
229 %description -n XFree86-fonts-Mazovia
230 This package contains fixed fonts with Mazovia encoding.
232 %description -n XFree86-fonts-Mazovia -l pl
233 Pakiet ten zawiera czcionki fixed z kodowaniem Mazovia.
236 %setup -q -n FONTS -a1
237 cp -f %{SOURCE2} map-Mazovia-0
242 for j in 737 775 850 852 855 857 860 861 862 863 864 865 866 869 874
244 ucs2any.pl $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
249 ucs2any.pl $i map-Mazovia-0 Mazovia-0
250 name=`basename $i .bdf`-Mazovia-0
251 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
256 install -d $RPM_BUILD_ROOT%{_fontsdir}/misc
257 install *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
259 %post -n XFree86-fonts-CP737
262 %postun -n XFree86-fonts-CP737
265 %post -n XFree86-fonts-CP775
268 %postun -n XFree86-fonts-CP775
271 %post -n XFree86-fonts-CP850
274 %postun -n XFree86-fonts-CP850
277 %post -n XFree86-fonts-CP852
280 %postun -n XFree86-fonts-CP852
283 %post -n XFree86-fonts-CP855
286 %postun -n XFree86-fonts-CP855
289 %post -n XFree86-fonts-CP857
292 %postun -n XFree86-fonts-CP857
295 %post -n XFree86-fonts-CP860
298 %postun -n XFree86-fonts-CP860
301 %post -n XFree86-fonts-CP861
304 %postun -n XFree86-fonts-CP861
307 %post -n XFree86-fonts-CP862
310 %postun -n XFree86-fonts-CP862
313 %post -n XFree86-fonts-CP863
316 %postun -n XFree86-fonts-CP863
319 %post -n XFree86-fonts-CP864
322 %postun -n XFree86-fonts-CP864
325 %post -n XFree86-fonts-CP865
328 %postun -n XFree86-fonts-CP865
331 %post -n XFree86-fonts-CP866
334 %postun -n XFree86-fonts-CP866
337 %post -n XFree86-fonts-CP869
340 %postun -n XFree86-fonts-CP869
343 %post -n XFree86-fonts-CP874
346 %postun -n XFree86-fonts-CP874
349 %post -n XFree86-fonts-Mazovia
352 %postun -n XFree86-fonts-Mazovia
356 rm -rf $RPM_BUILD_ROOT
358 %files -n XFree86-fonts-CP737
359 %defattr(644,root,root,755)
360 %{_fontsdir}/misc/*CP737-0.pcf.gz
362 %files -n XFree86-fonts-CP775
363 %defattr(644,root,root,755)
364 %{_fontsdir}/misc/*CP775-0.pcf.gz
366 %files -n XFree86-fonts-CP850
367 %defattr(644,root,root,755)
368 %{_fontsdir}/misc/*CP850-0.pcf.gz
370 %files -n XFree86-fonts-CP852
371 %defattr(644,root,root,755)
372 %{_fontsdir}/misc/*CP852-0.pcf.gz
374 %files -n XFree86-fonts-CP855
375 %defattr(644,root,root,755)
376 %{_fontsdir}/misc/*CP855-0.pcf.gz
378 %files -n XFree86-fonts-CP857
379 %defattr(644,root,root,755)
380 %{_fontsdir}/misc/*CP857-0.pcf.gz
382 %files -n XFree86-fonts-CP860
383 %defattr(644,root,root,755)
384 %{_fontsdir}/misc/*CP860-0.pcf.gz
386 %files -n XFree86-fonts-CP861
387 %defattr(644,root,root,755)
388 %{_fontsdir}/misc/*CP861-0.pcf.gz
390 %files -n XFree86-fonts-CP862
391 %defattr(644,root,root,755)
392 %{_fontsdir}/misc/*CP862-0.pcf.gz
394 %files -n XFree86-fonts-CP863
395 %defattr(644,root,root,755)
396 %{_fontsdir}/misc/*CP863-0.pcf.gz
398 %files -n XFree86-fonts-CP864
399 %defattr(644,root,root,755)
400 %{_fontsdir}/misc/*CP864-0.pcf.gz
402 %files -n XFree86-fonts-CP865
403 %defattr(644,root,root,755)
404 %{_fontsdir}/misc/*CP865-0.pcf.gz
406 %files -n XFree86-fonts-CP866
407 %defattr(644,root,root,755)
408 %{_fontsdir}/misc/*CP866-0.pcf.gz
410 %files -n XFree86-fonts-CP869
411 %defattr(644,root,root,755)
412 %{_fontsdir}/misc/*CP869-0.pcf.gz
414 %files -n XFree86-fonts-CP874
415 %defattr(644,root,root,755)
416 %{_fontsdir}/misc/*CP874-0.pcf.gz
418 %files -n XFree86-fonts-Mazovia
419 %defattr(644,root,root,755)
420 %{_fontsdir}/misc/*Mazovia-0.pcf.gz