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 Source1: %{name}-maps.tar.bz2
13 BuildRequires: XFree86-fonts-utils
14 Requires(post,postun): %{_bindir}/mkfontdir
15 Requires(post,postun): fileutils
16 Requires(post,postun): textutils
17 Requires(post,postun): sed
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 This package contains fixed fonts with DOS encodings.
22 Fonts were taken from XFree86.
25 Pakiet ten zawiera czcionki fixed z DOSowym kodowaniem.
26 Fonty zosta³y wziête z dystrybucji XFree86.
28 %package -n XFree86-fonts-CP737
29 Summary: Fixed CP737 fonts
30 Summary(pl): Fonty rastrowe CP737
33 %description -n XFree86-fonts-CP737
34 This package contains fixed fonts with CP737 encoding.
36 %description -n XFree86-fonts-CP737 -l pl
37 Pakiet ten zawiera czcionki fixed z kodowaniem CP737.
39 %package -n XFree86-fonts-CP775
40 Summary: Fixed CP775 fonts
41 Summary(pl): Fonty rastrowe CP775
44 %description -n XFree86-fonts-CP775
45 This package contains fixed fonts with CP775 encoding.
47 %description -n XFree86-fonts-CP775 -l pl
48 Pakiet ten zawiera czcionki fixed z kodowaniem CP775.
50 %package -n XFree86-fonts-CP850
51 Summary: Fixed CP850 fonts
52 Summary(pl): Fonty rastrowe CP850
55 %description -n XFree86-fonts-CP850
56 This package contains fixed fonts with CP850 encoding.
58 %description -n XFree86-fonts-CP850 -l pl
59 Pakiet ten zawiera czcionki fixed z kodowaniem CP850.
61 %package -n XFree86-fonts-CP852
62 Summary: Fixed CP852 fonts
63 Summary(pl): Fonty rastrowe CP852
66 %description -n XFree86-fonts-CP852
67 This package contains fixed fonts with CP852 encoding.
69 %description -n XFree86-fonts-CP852 -l pl
70 Pakiet ten zawiera czcionki fixed z kodowaniem CP852.
72 %package -n XFree86-fonts-CP855
73 Summary: Fixed CP855 fonts
74 Summary(pl): Fonty rastrowe CP855
77 %description -n XFree86-fonts-CP855
78 This package contains fixed fonts with CP855 encoding.
80 %description -n XFree86-fonts-CP855 -l pl
81 Pakiet ten zawiera czcionki fixed z kodowaniem CP855.
83 %package -n XFree86-fonts-CP857
84 Summary: Fixed CP857 fonts
85 Summary(pl): Fonty rastrowe CP857
88 %description -n XFree86-fonts-CP857
89 This package contains fixed fonts with CP857 encoding.
91 %description -n XFree86-fonts-CP857 -l pl
92 Pakiet ten zawiera czcionki fixed z kodowaniem CP857.
94 %package -n XFree86-fonts-CP860
95 Summary: Fixed CP860 fonts
96 Summary(pl): Fonty rastrowe CP860
99 %description -n XFree86-fonts-CP860
100 This package contains fixed fonts with CP860 encoding.
102 %description -n XFree86-fonts-CP860 -l pl
103 Pakiet ten zawiera czcionki fixed z kodowaniem CP860.
105 %package -n XFree86-fonts-CP861
106 Summary: Fixed CP861 fonts
107 Summary(pl): Fonty rastrowe CP861
110 %description -n XFree86-fonts-CP861
111 This package contains fixed fonts with CP861 encoding.
113 %description -n XFree86-fonts-CP861 -l pl
114 Pakiet ten zawiera czcionki fixed z kodowaniem CP861.
116 %package -n XFree86-fonts-CP862
117 Summary: Fixed CP862 fonts
118 Summary(pl): Fonty rastrowe CP862
121 %description -n XFree86-fonts-CP862
122 This package contains fixed fonts with CP862 encoding.
124 %description -n XFree86-fonts-CP862 -l pl
125 Pakiet ten zawiera czcionki fixed z kodowaniem CP862.
127 %package -n XFree86-fonts-CP863
128 Summary: Fixed CP863 fonts
129 Summary(pl): Fonty rastrowe CP863
132 %description -n XFree86-fonts-CP863
133 This package contains fixed fonts with CP863 encoding.
135 %description -n XFree86-fonts-CP863 -l pl
136 Pakiet ten zawiera czcionki fixed z kodowaniem CP863.
138 %package -n XFree86-fonts-CP864
139 Summary: Fixed CP864 fonts
140 Summary(pl): Fonty rastrowe CP864
143 %description -n XFree86-fonts-CP864
144 This package contains fixed fonts with CP864 encoding.
146 %description -n XFree86-fonts-CP864 -l pl
147 Pakiet ten zawiera czcionki fixed z kodowaniem CP864.
149 %package -n XFree86-fonts-CP865
150 Summary: Fixed CP865 fonts
151 Summary(pl): Fonty rastrowe CP865
154 %description -n XFree86-fonts-CP865
155 This package contains fixed fonts with CP865 encoding.
157 %description -n XFree86-fonts-CP865 -l pl
158 Pakiet ten zawiera czcionki fixed z kodowaniem CP865.
160 %package -n XFree86-fonts-CP866
161 Summary: Fixed CP866 fonts
162 Summary(pl): Fonty rastrowe CP866
165 %description -n XFree86-fonts-CP866
166 This package contains fixed fonts with CP866 encoding.
168 %description -n XFree86-fonts-CP866 -l pl
169 Pakiet ten zawiera czcionki fixed z kodowaniem CP866.
171 %package -n XFree86-fonts-CP869
172 Summary: Fixed CP869 fonts
173 Summary(pl): Fonty rastrowe CP869
176 %description -n XFree86-fonts-CP869
177 This package contains fixed fonts with CP869 encoding.
179 %description -n XFree86-fonts-CP869 -l pl
180 Pakiet ten zawiera czcionki fixed z kodowaniem CP869.
182 %package -n XFree86-fonts-CP874
183 Summary: Fixed CP874 fonts
184 Summary(pl): Fonty rastrowe CP874
187 %description -n XFree86-fonts-CP874
188 This package contains fixed fonts with CP874 encoding.
190 %description -n XFree86-fonts-CP874 -l pl
191 Pakiet ten zawiera czcionki fixed z kodowaniem CP874.
194 %setup -q -n FONTS -a1
199 for j in 737 775 850 852 855 857 860 861 862 863 864 865 866 869 874
201 ucs2any.pl $i map-CP$j-0 CP$j-0
202 name=`basename $i .bdf`-CP$j-0
203 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
209 install -d $RPM_BUILD_ROOT%{_fontsdir}/misc
210 cp *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
212 %post -n XFree86-fonts-CP737
217 %postun -n XFree86-fonts-CP737
222 %post -n XFree86-fonts-CP775
227 %postun -n XFree86-fonts-CP775
232 %post -n XFree86-fonts-CP850
237 %postun -n XFree86-fonts-CP850
242 %post -n XFree86-fonts-CP852
247 %postun -n XFree86-fonts-CP852
252 %post -n XFree86-fonts-CP855
257 %postun -n XFree86-fonts-CP855
262 %post -n XFree86-fonts-CP857
267 %postun -n XFree86-fonts-CP857
272 %post -n XFree86-fonts-CP860
277 %postun -n XFree86-fonts-CP860
282 %post -n XFree86-fonts-CP861
287 %postun -n XFree86-fonts-CP861
292 %post -n XFree86-fonts-CP862
297 %postun -n XFree86-fonts-CP862
303 %post -n XFree86-fonts-CP863
308 %postun -n XFree86-fonts-CP863
313 %post -n XFree86-fonts-CP864
318 %postun -n XFree86-fonts-CP864
323 %post -n XFree86-fonts-CP865
328 %postun -n XFree86-fonts-CP865
333 %post -n XFree86-fonts-CP866
338 %postun -n XFree86-fonts-CP866
343 %post -n XFree86-fonts-CP869
348 %postun -n XFree86-fonts-CP869
353 %post -n XFree86-fonts-CP874
358 %postun -n XFree86-fonts-CP874
364 rm -rf $RPM_BUILD_ROOT
366 %files -n XFree86-fonts-CP737
367 %defattr(644,root,root,755)
368 %{_fontsdir}/misc/*CP737-0.pcf.gz
370 %files -n XFree86-fonts-CP775
371 %defattr(644,root,root,755)
372 %{_fontsdir}/misc/*CP775-0.pcf.gz
374 %files -n XFree86-fonts-CP850
375 %defattr(644,root,root,755)
376 %{_fontsdir}/misc/*CP850-0.pcf.gz
378 %files -n XFree86-fonts-CP852
379 %defattr(644,root,root,755)
380 %{_fontsdir}/misc/*CP852-0.pcf.gz
382 %files -n XFree86-fonts-CP855
383 %defattr(644,root,root,755)
384 %{_fontsdir}/misc/*CP855-0.pcf.gz
386 %files -n XFree86-fonts-CP857
387 %defattr(644,root,root,755)
388 %{_fontsdir}/misc/*CP857-0.pcf.gz
390 %files -n XFree86-fonts-CP860
391 %defattr(644,root,root,755)
392 %{_fontsdir}/misc/*CP860-0.pcf.gz
394 %files -n XFree86-fonts-CP861
395 %defattr(644,root,root,755)
396 %{_fontsdir}/misc/*CP861-0.pcf.gz
398 %files -n XFree86-fonts-CP862
399 %defattr(644,root,root,755)
400 %{_fontsdir}/misc/*CP862-0.pcf.gz
402 %files -n XFree86-fonts-CP863
403 %defattr(644,root,root,755)
404 %{_fontsdir}/misc/*CP863-0.pcf.gz
406 %files -n XFree86-fonts-CP864
407 %defattr(644,root,root,755)
408 %{_fontsdir}/misc/*CP864-0.pcf.gz
410 %files -n XFree86-fonts-CP865
411 %defattr(644,root,root,755)
412 %{_fontsdir}/misc/*CP865-0.pcf.gz
414 %files -n XFree86-fonts-CP866
415 %defattr(644,root,root,755)
416 %{_fontsdir}/misc/*CP866-0.pcf.gz
418 %files -n XFree86-fonts-CP869
419 %defattr(644,root,root,755)
420 %{_fontsdir}/misc/*CP869-0.pcf.gz
422 %files -n XFree86-fonts-CP874
423 %defattr(644,root,root,755)
424 %{_fontsdir}/misc/*CP874-0.pcf.gz