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