]>
Commit | Line | Data |
---|---|---|
5b094f21 JB |
1 | Summary: GNU Unifont - Unicode bitmap font |
2 | Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode | |
8fe1eecf | 3 | Name: unifont |
a0c5f6a7 | 4 | Version: 6.3.20140214 |
cbda1465 | 5 | Release: 1 |
5b094f21 | 6 | License: GPL v2+ with GNU font embedding exception |
0ec7b099 | 7 | Group: Fonts |
5b094f21 | 8 | Source0: http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz |
a0c5f6a7 | 9 | # Source0-md5: 25a31c9c5657666bf9a0e613df1d75b5 |
5b094f21 | 10 | URL: http://czyborra.com/unifont/ |
539001df | 11 | BuildRequires: fontforge |
f41faa7e | 12 | BuildRequires: xorg-app-bdftopcf |
1cb0199c | 13 | Requires(post,postun): fontpostinst |
09c282e8 | 14 | Requires: %{_fontsdir}/misc |
8fe1eecf | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
5b094f21 JB |
18 | GNU Unifont is an official GNU package. It is a dual-width |
19 | (8x16/16x16) bitmap font, designed to provide coverage for all of | |
20 | Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has | |
21 | a glyph for each visible code point in the Unicode 6.3 Basic | |
22 | Multilingual Plane (Plane 0). | |
8fe1eecf | 23 | |
45624604 | 24 | %description -l pl.UTF-8 |
5b094f21 JB |
25 | GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej |
26 | szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości | |
27 | warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja | |
28 | zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic | |
29 | Multilingual Plane (Plane 0). | |
30 | ||
539001df | 31 | %package -n fonts-misc-unifont |
5b094f21 JB |
32 | Summary: GNU Unifont - Unicode font in PCF format |
33 | Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF | |
34 | Group: Fonts | |
35 | Requires(post,postun): fontpostinst | |
36 | Requires: %{_fontsdir}/misc | |
37 | Obsoletes: unifont | |
f41faa7e ER |
38 | %if "%{_rpmversion}" >= "5" |
39 | BuildArch: noarch | |
40 | %endif | |
5b094f21 | 41 | |
539001df | 42 | %description -n fonts-misc-unifont |
5b094f21 JB |
43 | GNU Unifont is an official GNU package. It is a dual-width |
44 | (8x16/16x16) bitmap font, designed to provide coverage for all of | |
45 | Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has | |
46 | a glyph for each visible code point in the Unicode 6.3 Basic | |
47 | Multilingual Plane (Plane 0). | |
48 | ||
49 | This package contains the font in PCF format. | |
50 | ||
539001df | 51 | %description -n fonts-misc-unifont -l pl.UTF-8 |
5b094f21 JB |
52 | GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej |
53 | szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości | |
54 | warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja | |
55 | zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic | |
56 | Multilingual Plane (Plane 0). | |
57 | ||
58 | Ten pakiet zawiera font w formacie PCF. | |
59 | ||
539001df | 60 | %package -n fonts-TTF-unifont |
5b094f21 JB |
61 | Summary: GNU Unifont - Unicode font in PCF format |
62 | Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF | |
63 | Group: Fonts | |
64 | Requires(post,postun): fontpostinst | |
65 | Requires: %{_fontsdir}/TTF | |
f41faa7e ER |
66 | %if "%{_rpmversion}" >= "5" |
67 | BuildArch: noarch | |
68 | %endif | |
5b094f21 | 69 | |
539001df | 70 | %description -n fonts-TTF-unifont |
5b094f21 JB |
71 | GNU Unifont is an official GNU package. It is a dual-width |
72 | (8x16/16x16) bitmap font, designed to provide coverage for all of | |
73 | Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has | |
74 | a glyph for each visible code point in the Unicode 6.3 Basic | |
75 | Multilingual Plane (Plane 0). | |
76 | ||
77 | This package contains the font in TTF format. | |
78 | ||
539001df | 79 | %description -n fonts-TTF-unifont -l pl.UTF-8 |
5b094f21 JB |
80 | GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej |
81 | szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości | |
82 | warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja | |
83 | zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic | |
84 | Multilingual Plane (Plane 0). | |
85 | ||
86 | Ten pakiet zawiera font w formacie TTF. | |
87 | ||
e17ae58b JB |
88 | %package console |
89 | Summary: GNU Unifont - Unicode font in PSF format | |
90 | Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PSF | |
91 | Group: Fonts | |
92 | Requires: kbd | |
93 | ||
94 | %description console | |
95 | GNU Unifont is an official GNU package. It is a dual-width | |
96 | (8x16/16x16) bitmap font, designed to provide coverage for all of | |
97 | Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has | |
98 | a glyph for each visible code point in the Unicode 6.3 Basic | |
99 | Multilingual Plane (Plane 0). | |
100 | ||
101 | This package contains 512 glyph subset in PSF format for use with | |
102 | Linux console. | |
103 | ||
104 | %description console -l pl.UTF-8 | |
105 | GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej | |
106 | szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości | |
107 | warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja | |
108 | zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic | |
109 | Multilingual Plane (Plane 0). | |
110 | ||
111 | Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony | |
112 | do używania na linuksowej konsoli. | |
113 | ||
5b094f21 JB |
114 | %package tools |
115 | Summary: GNU Unifont utility programs | |
116 | Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont | |
117 | Group: Development/Tools | |
118 | ||
119 | %description tools | |
120 | GNU Unifont utility programs. | |
121 | ||
122 | %description tools -l pl.UTF-8 | |
123 | Programy narzędziowe dołączone do pakietu GNU Unifont. | |
8fe1eecf | 124 | |
4be14da3 | 125 | %prep |
5b094f21 | 126 | %setup -q |
4be14da3 | 127 | |
8fe1eecf | 128 | %build |
539001df | 129 | %{__make} -j1 \ |
5b094f21 JB |
130 | CC="%{__cc}" \ |
131 | CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \ | |
132 | LDFLAGS="%{rpmldflags}" | |
8fe1eecf | 133 | |
134 | %install | |
135 | rm -rf $RPM_BUILD_ROOT | |
4be14da3 | 136 | |
5b094f21 JB |
137 | %{__make} install \ |
138 | DESTDIR=$RPM_BUILD_ROOT \ | |
139 | USRDIR=usr \ | |
e17ae58b | 140 | CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \ |
5b094f21 JB |
141 | PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \ |
142 | TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF | |
143 | ||
144 | # source data not needed, docs packaged as %doc | |
145 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/unifont | |
cbda1465 JB |
146 | # sample covering plane 0 |
147 | %{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf} | |
8fe1eecf | 148 | |
149 | %clean | |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | ||
5b094f21 | 152 | %post -n fonts-misc-unifont |
1cb0199c | 153 | fontpostinst misc |
8fe1eecf | 154 | |
5b094f21 | 155 | %postun -n fonts-misc-unifont |
1cb0199c | 156 | fontpostinst misc |
8fe1eecf | 157 | |
5b094f21 JB |
158 | %post -n fonts-TTF-unifont |
159 | fontpostinst TTF | |
160 | ||
161 | %postun -n fonts-TTF-unifont | |
162 | fontpostinst TTF | |
163 | ||
164 | %files -n fonts-misc-unifont | |
165 | %defattr(644,root,root,755) | |
cbda1465 | 166 | %doc README |
5b094f21 | 167 | %{_fontsdir}/misc/unifont.pcf.gz |
e17ae58b | 168 | %{_fontsdir}/misc/unifont_csur.pcf.gz |
5b094f21 JB |
169 | %{_mandir}/man5/unifont.5* |
170 | ||
171 | %files -n fonts-TTF-unifont | |
172 | %defattr(644,root,root,755) | |
173 | %{_fontsdir}/TTF/unifont.ttf | |
e17ae58b JB |
174 | %{_fontsdir}/TTF/unifont_csur.ttf |
175 | %{_fontsdir}/TTF/unifont_upper.ttf | |
176 | %{_fontsdir}/TTF/unifont_upper_csur.ttf | |
177 | ||
178 | %files console | |
179 | %defattr(644,root,root,755) | |
180 | /lib/kbd/consolefonts/Unifont-APL8x16.psf.gz | |
5b094f21 JB |
181 | |
182 | %files tools | |
8fe1eecf | 183 | %defattr(644,root,root,755) |
5b094f21 JB |
184 | %attr(755,root,root) %{_bindir}/bdfimplode |
185 | %attr(755,root,root) %{_bindir}/hex2bdf | |
186 | %attr(755,root,root) %{_bindir}/hex2sfd | |
187 | %attr(755,root,root) %{_bindir}/hexbraille | |
188 | %attr(755,root,root) %{_bindir}/hexdraw | |
e17ae58b | 189 | %attr(755,root,root) %{_bindir}/hexkinya |
5b094f21 JB |
190 | %attr(755,root,root) %{_bindir}/hexmerge |
191 | %attr(755,root,root) %{_bindir}/johab2ucs2 | |
192 | %attr(755,root,root) %{_bindir}/unibdf2hex | |
193 | %attr(755,root,root) %{_bindir}/unibmp2hex | |
194 | %attr(755,root,root) %{_bindir}/unicoverage | |
195 | %attr(755,root,root) %{_bindir}/unidup | |
196 | %attr(755,root,root) %{_bindir}/unifontchojung | |
197 | %attr(755,root,root) %{_bindir}/unifontksx | |
198 | %attr(755,root,root) %{_bindir}/unifontpic | |
199 | %attr(755,root,root) %{_bindir}/unigencircles | |
200 | %attr(755,root,root) %{_bindir}/unigenwidth | |
201 | %attr(755,root,root) %{_bindir}/unihex2bmp | |
cbda1465 | 202 | %attr(755,root,root) %{_bindir}/unihex2png |
5b094f21 JB |
203 | %attr(755,root,root) %{_bindir}/unihexgen |
204 | %attr(755,root,root) %{_bindir}/unipagecount | |
cbda1465 | 205 | %attr(755,root,root) %{_bindir}/unipng2hex |
5b094f21 JB |
206 | %{_mandir}/man1/bdfimplode.1* |
207 | %{_mandir}/man1/hex2bdf.1* | |
208 | %{_mandir}/man1/hex2sfd.1* | |
209 | %{_mandir}/man1/hexbraille.1* | |
210 | %{_mandir}/man1/hexdraw.1* | |
e17ae58b | 211 | %{_mandir}/man1/hexkinya.1* |
5b094f21 JB |
212 | %{_mandir}/man1/hexmerge.1* |
213 | %{_mandir}/man1/johab2ucs2.1* | |
214 | %{_mandir}/man1/unibdf2hex.1* | |
215 | %{_mandir}/man1/unibmp2hex.1* | |
216 | %{_mandir}/man1/unicoverage.1* | |
217 | %{_mandir}/man1/unidup.1* | |
218 | %{_mandir}/man1/unifontchojung.1* | |
219 | %{_mandir}/man1/unifontksx.1* | |
220 | %{_mandir}/man1/unifontpic.1* | |
221 | %{_mandir}/man1/unigencircles.1* | |
222 | %{_mandir}/man1/unigenwidth.1* | |
223 | %{_mandir}/man1/unihex2bmp.1* | |
cbda1465 | 224 | %{_mandir}/man1/unihex2png.1* |
5b094f21 JB |
225 | %{_mandir}/man1/unihexgen.1* |
226 | %{_mandir}/man1/unipagecount.1* | |
cbda1465 | 227 | %{_mandir}/man1/unipng2hex.1* |