]>
Commit | Line | Data |
---|---|---|
5c4b18e1 JB |
1 | Summary: biznet ISO-8859-2 bitmap fonts |
2 | Summary(pl.UTF-8): Fonty bitmapowe biznet ISO-8859-2 | |
3 | Name: fonts-bitmap-biznet-ISO8859-2 | |
4 | Version: 0 | |
5 | Release: 1 | |
6 | License: MIT | |
7 | Group: Fonts | |
8 | # originally from http://www.biz.net.pl/images/ (404 now) | |
9 | Source0: ISO8859-2-bdf.tar.gz | |
10 | # Source0-md5: 5dd69ab949d833944048b10a97f7a589 | |
11 | BuildRequires: xorg-app-bdftopcf | |
12 | Requires(post,postun): fontpostinst | |
13 | Requires: %{_fontsdir}/misc | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | The BIZNET ISO 8859-2 (Central European) X Window System Fonts have | |
19 | been derived from the original ISO 8859-1 fonts included in the X | |
20 | Window System, Version 11, Release 6.3 distribution (X11R6.3). | |
21 | ||
22 | This package contains only selected fonts which counterparts in | |
23 | base X11 distribution don't include ISO-8859-2 characters. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Fonty BIZNET ISO 8859-2 (środkowoeuropejskie) dla X Window System | |
27 | wywodzą się z oryginalnych fontów ISO 8859-1 z dystrybucji X Window | |
28 | System w wersji 11, wydaniu 6.3 (X11R6.3). | |
29 | ||
30 | Ten pakiet zawiera tylko wybrane fonty, których odpowiedniki z | |
31 | podstawowej dystrybucji X11 nie zawierają znaków ISO-8859-2. | |
32 | ||
33 | %package 75dpi | |
34 | Summary: biznet ISO-8859-2 75dpi bitmap fonts | |
35 | Summary(pl.UTF-8): Fonty bitmapowe 75dpi biznet ISO-8859-2 | |
36 | Group: Fonts | |
37 | ||
38 | %description 75dpi | |
39 | The BIZNET ISO 8859-2 (Central European) X Window System Fonts have | |
40 | been derived from the original ISO 8859-1 fonts included in the X | |
41 | Window System, Version 11, Release 6.3 distribution (X11R6.3). | |
42 | ||
43 | This package contains only selected 75dpi fonts which counterparts in | |
44 | base X11 distribution don't include ISO-8859-2 characters. | |
45 | ||
46 | %description 75dpi -l pl.UTF-8 | |
47 | Fonty BIZNET ISO 8859-2 (środkowoeuropejskie) dla X Window System | |
48 | wywodzą się z oryginalnych fontów ISO 8859-1 z dystrybucji X Window | |
49 | System w wersji 11, wydaniu 6.3 (X11R6.3). | |
50 | ||
51 | Ten pakiet zawiera tylko wybrane fonty 75dpi, których odpowiedniki z | |
52 | podstawowej dystrybucji X11 nie zawierają znaków ISO-8859-2. | |
53 | ||
54 | %package 100dpi | |
55 | Summary: biznet ISO-8859-2 100dpi bitmap fonts | |
56 | Summary(pl.UTF-8): Fonty bitmapowe 100dpi biznet ISO-8859-2 | |
57 | Group: Fonts | |
58 | ||
59 | %description 100dpi | |
60 | The BIZNET ISO 8859-2 (Central European) X Window System Fonts have | |
61 | been derived from the original ISO 8859-1 fonts included in the X | |
62 | Window System, Version 11, Release 6.3 distribution (X11R6.3). | |
63 | ||
64 | This package contains only selected 100dpi fonts which counterparts in | |
65 | base X11 distribution don't include ISO-8859-2 characters. | |
66 | ||
67 | %description 100dpi -l pl.UTF-8 | |
68 | Fonty BIZNET ISO 8859-2 (środkowoeuropejskie) dla X Window System | |
69 | wywodzą się z oryginalnych fontów ISO 8859-1 z dystrybucji X Window | |
70 | System w wersji 11, wydaniu 6.3 (X11R6.3). | |
71 | ||
72 | Ten pakiet zawiera tylko wybrane fonty 100dpi, których odpowiedniki z | |
73 | podstawowej dystrybucji X11 nie zawierają znaków ISO-8859-2. | |
74 | ||
75 | %prep | |
76 | %setup -q -c | |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | install -d $RPM_BUILD_ROOT%{_fontsdir}/{75dpi,100dpi,misc} | |
81 | ||
82 | # other fonts in xorg-font-* already include ISO-8859-2 chars | |
83 | for f in misc/12x24.bdf misc/8x16.bdf ; do | |
84 | bdftopcf $f | gzip -9n > $RPM_BUILD_ROOT%{_fontsdir}/misc/`basename $f .bdf`-ISO8859-2.pcf.gz | |
85 | done | |
86 | for f in 75dpi/char*.bdf 75dpi/term*.bdf ; do | |
87 | bdftopcf $f | gzip -9n > $RPM_BUILD_ROOT%{_fontsdir}/75dpi/`basename $f .bdf`-ISO8859-2.pcf.gz | |
88 | done | |
89 | for f in 100dpi/char*.bdf 100dpi/term*.bdf ; do | |
90 | bdftopcf $f | gzip -9n > $RPM_BUILD_ROOT%{_fontsdir}/100dpi/`basename $f .bdf`-ISO8859-2.pcf.gz | |
91 | done | |
92 | ||
93 | grep -e '-biznet-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-2\|-biznet-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-2' misc/fonts.alias > $RPM_BUILD_ROOT%{_fontsdir}/misc/fonts.alias.%{name} | |
94 | grep -e 'biznet-\(chartis\|terminal\)' 75dpi/fonts.alias \ | |
95 | > $RPM_BUILD_ROOT%{_fontsdir}/75dpi/fonts.alias.%{name}-75dpi | |
96 | grep -e 'biznet-\(chartis\|terminal\)' 100dpi/fonts.alias \ | |
97 | > $RPM_BUILD_ROOT%{_fontsdir}/100dpi/fonts.alias.%{name}-100dpi | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %post | |
103 | fontpostinst misc | |
104 | ||
105 | %postun | |
106 | fontpostinst misc | |
107 | ||
108 | %post 75dpi | |
109 | fontpostinst 75dpi | |
110 | ||
111 | %postun 75dpi | |
112 | fontpostinst 75dpi | |
113 | ||
114 | %post 100dpi | |
115 | fontpostinst 100dpi | |
116 | ||
117 | %postun 100dpi | |
118 | fontpostinst 100dpi | |
119 | ||
120 | %files | |
121 | %defattr(644,root,root,755) | |
122 | %doc RELEASE_NOTES.TXT | |
123 | %{_fontsdir}/misc/*.pcf.gz | |
124 | %{_fontsdir}/misc/fonts.alias.%{name} | |
125 | ||
126 | %files 75dpi | |
127 | %defattr(644,root,root,755) | |
128 | %doc RELEASE_NOTES.TXT | |
129 | %{_fontsdir}/75dpi/*.pcf.gz | |
130 | %{_fontsdir}/75dpi/fonts.alias.%{name}-75dpi | |
131 | ||
132 | %files 100dpi | |
133 | %defattr(644,root,root,755) | |
134 | %doc RELEASE_NOTES.TXT | |
135 | %{_fontsdir}/100dpi/*.pcf.gz | |
136 | %{_fontsdir}/100dpi/fonts.alias.%{name}-100dpi |