3 %bcond_without viewer # unifont-viewer package (requires perl-Wx)
5 Summary: GNU Unifont - Unicode bitmap font
6 Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode
10 License: GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
12 Source0: https://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: d6366a8fd03e815c2f18d36ff1a5cca7
14 URL: http://czyborra.com/unifont/
15 BuildRequires: fontforge
16 BuildRequires: rpm-build >= 4.6
17 BuildRequires: rpm-perlprov
18 BuildRequires: rpmbuild(macros) >= 1.752
19 BuildRequires: xorg-app-bdftopcf
20 Requires(post,postun): fontpostinst
21 Requires: %{_fontsdir}/misc
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 GNU Unifont is an official GNU package. It is a dual-width
26 (8x16/16x16) bitmap font, designed to provide coverage for all of
27 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
28 a glyph for each visible code point in the Unicode 7.0 Basic
29 Multilingual Plane (Plane 0).
31 %description -l pl.UTF-8
32 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
33 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
34 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
35 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
36 Multilingual Plane (Plane 0).
38 %package -n fonts-misc-unifont
39 Summary: GNU Unifont - Unicode font in PCF format
40 Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF
41 License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
43 Requires(post,postun): fontpostinst
44 Requires: %{_fontsdir}/misc
45 Obsoletes: unifont < 6
48 %description -n fonts-misc-unifont
49 GNU Unifont is an official GNU package. It is a dual-width
50 (8x16/16x16) bitmap font, designed to provide coverage for all of
51 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
52 a glyph for each visible code point in the Unicode 7.0 Basic
53 Multilingual Plane (Plane 0).
55 This package contains the font in PCF format.
57 %description -n fonts-misc-unifont -l pl.UTF-8
58 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
59 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
60 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
61 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
62 Multilingual Plane (Plane 0).
64 Ten pakiet zawiera font w formacie PCF.
66 %package -n fonts-OTF-unifont
67 Summary: GNU Unifont - Unicode font in OpenType format
68 Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie OpenType
69 License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
71 Requires(post,postun): fontpostinst
72 Requires: %{_fontsdir}/OTF
75 %description -n fonts-OTF-unifont
76 GNU Unifont is an official GNU package. It is a dual-width
77 (8x16/16x16) bitmap font, designed to provide coverage for all of
78 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
79 a glyph for each visible code point in the Unicode 7.0 Basic
80 Multilingual Plane (Plane 0).
82 This package contains the font in OpenType format.
84 %description -n fonts-OTF-unifont -l pl.UTF-8
85 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
86 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
87 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
88 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
89 Multilingual Plane (Plane 0).
91 Ten pakiet zawiera font w formacie OpenType.
93 %package -n fonts-TTF-unifont
94 Summary: GNU Unifont - Unicode font in TrueType format
95 Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie TrueType
96 License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
98 Requires(post,postun): fontpostinst
99 Requires: %{_fontsdir}/TTF
102 %description -n fonts-TTF-unifont
103 GNU Unifont is an official GNU package. It is a dual-width
104 (8x16/16x16) bitmap font, designed to provide coverage for all of
105 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
106 a glyph for each visible code point in the Unicode 7.0 Basic
107 Multilingual Plane (Plane 0).
109 This package contains the font in TrueType format.
111 %description -n fonts-TTF-unifont -l pl.UTF-8
112 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
113 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
114 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
115 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
116 Multilingual Plane (Plane 0).
118 Ten pakiet zawiera font w formacie TrueType.
121 Summary: GNU Unifont - Unicode font in PSF format
122 Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PSF
123 License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
129 GNU Unifont is an official GNU package. It is a dual-width
130 (8x16/16x16) bitmap font, designed to provide coverage for all of
131 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
132 a glyph for each visible code point in the Unicode 7.0 Basic
133 Multilingual Plane (Plane 0).
135 This package contains 512 glyph subset in PSF format for use with
138 %description console -l pl.UTF-8
139 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
140 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
141 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
142 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
143 Multilingual Plane (Plane 0).
145 Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
146 do używania na linuksowej konsoli.
149 Summary: GNU Unifont source data
150 Summary(pl.UTF-8): Dane źródłowe pakietu GNU Unifont
151 License: GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
152 Group: Development/Tools
156 GNU Unifont source data, which could be used to generate or embed
157 fonts in other formats.
159 %description source -l pl.UTF-8
160 Dane źródłowe pakietu GNU Unifont, które można wykorzystać do
161 generowania lub osadzania fontów w innych formatach.
164 Summary: GNU Unifont utility programs
165 Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont
167 Group: Development/Tools
170 GNU Unifont utility programs.
172 %description tools -l pl.UTF-8
173 Programy narzędziowe dołączone do pakietu GNU Unifont.
176 Summary: GNU Unifont viewer
177 Summary(pl.UTF-8): Przeglądarka GNU Unifont
179 Group: X11/Applications
182 GNU Unifont viewer based on wxWidgets Perl interface.
184 %description viewer -l pl.UTF-8
185 Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
193 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
194 LDFLAGS="%{rpmldflags}"
197 rm -rf $RPM_BUILD_ROOT
199 install -d $RPM_BUILD_ROOT%{_fontsdir}/OTF
202 DESTDIR=$RPM_BUILD_ROOT \
204 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
205 OTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/OTF \
206 PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
207 TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
209 # sample covering plane 0
210 %{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
213 rm -rf $RPM_BUILD_ROOT
215 %post -n fonts-misc-unifont
218 %postun -n fonts-misc-unifont
221 %post -n fonts-OTF-unifont
224 %postun -n fonts-OTF-unifont
227 %post -n fonts-TTF-unifont
230 %postun -n fonts-TTF-unifont
233 %files -n fonts-misc-unifont
234 %defattr(644,root,root,755)
235 %doc COPYING ChangeLog NEWS README
236 %{_fontsdir}/misc/unifont.pcf.gz
237 %{_fontsdir}/misc/unifont_csur.pcf.gz
238 %{_mandir}/man5/unifont.5*
240 %files -n fonts-OTF-unifont
241 %defattr(644,root,root,755)
242 %doc COPYING ChangeLog NEWS README
243 %{_fontsdir}/OTF/unifont.otf
244 %{_fontsdir}/OTF/unifont_csur.otf
245 %{_fontsdir}/OTF/unifont_jp.otf
246 %{_fontsdir}/OTF/unifont_upper.otf
248 %files -n fonts-TTF-unifont
249 %defattr(644,root,root,755)
250 %doc COPYING ChangeLog NEWS README
251 %{_fontsdir}/TTF/unifont.ttf
252 %{_fontsdir}/TTF/unifont_csur.ttf
253 %{_fontsdir}/TTF/unifont_upper.ttf
256 %defattr(644,root,root,755)
257 /lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
260 %defattr(644,root,root,755)
261 %doc COPYING ChangeLog NEWS README
262 %dir %{_datadir}/unifont
263 %{_datadir}/unifont/plane00-combining.txt
264 %{_datadir}/unifont/unifont.bmp.gz
265 %{_datadir}/unifont/unifont.hex
266 %{_datadir}/unifont/wchardata.c
269 %defattr(644,root,root,755)
270 %attr(755,root,root) %{_bindir}/bdfimplode
271 %attr(755,root,root) %{_bindir}/hex2bdf
272 %attr(755,root,root) %{_bindir}/hex2otf
273 %attr(755,root,root) %{_bindir}/hex2sfd
274 %attr(755,root,root) %{_bindir}/hexbraille
275 %attr(755,root,root) %{_bindir}/hexdraw
276 %attr(755,root,root) %{_bindir}/hexkinya
277 %attr(755,root,root) %{_bindir}/hexmerge
278 %attr(755,root,root) %{_bindir}/johab2ucs2
279 %attr(755,root,root) %{_bindir}/unibdf2hex
280 %attr(755,root,root) %{_bindir}/unibmp2hex
281 %attr(755,root,root) %{_bindir}/unibmpbump
282 %attr(755,root,root) %{_bindir}/unicoverage
283 %attr(755,root,root) %{_bindir}/unidup
284 %attr(755,root,root) %{_bindir}/unifont1per
285 %attr(755,root,root) %{_bindir}/unifontchojung
286 %attr(755,root,root) %{_bindir}/unifontksx
287 %attr(755,root,root) %{_bindir}/unifontpic
288 %attr(755,root,root) %{_bindir}/unigencircles
289 %attr(755,root,root) %{_bindir}/unigenwidth
290 %attr(755,root,root) %{_bindir}/unihex2bmp
291 %attr(755,root,root) %{_bindir}/unihex2png
292 %attr(755,root,root) %{_bindir}/unihexfill
293 %attr(755,root,root) %{_bindir}/unihexgen
294 %attr(755,root,root) %{_bindir}/unihexrotate
295 %attr(755,root,root) %{_bindir}/unipagecount
296 %attr(755,root,root) %{_bindir}/unipng2hex
297 %{_mandir}/man1/bdfimplode.1*
298 %{_mandir}/man1/hex2bdf.1*
299 %{_mandir}/man1/hex2sfd.1*
300 %{_mandir}/man1/hexbraille.1*
301 %{_mandir}/man1/hexdraw.1*
302 %{_mandir}/man1/hexkinya.1*
303 %{_mandir}/man1/hexmerge.1*
304 %{_mandir}/man1/johab2ucs2.1*
305 %{_mandir}/man1/unibdf2hex.1*
306 %{_mandir}/man1/unibmp2hex.1*
307 %{_mandir}/man1/unibmpbump.1*
308 %{_mandir}/man1/unicoverage.1*
309 %{_mandir}/man1/unidup.1*
310 %{_mandir}/man1/unifont1per.1*
311 %{_mandir}/man1/unifontchojung.1*
312 %{_mandir}/man1/unifontksx.1*
313 %{_mandir}/man1/unifontpic.1*
314 %{_mandir}/man1/unigencircles.1*
315 %{_mandir}/man1/unigenwidth.1*
316 %{_mandir}/man1/unihex2bmp.1*
317 %{_mandir}/man1/unihex2png.1*
318 %{_mandir}/man1/unihexfill.1*
319 %{_mandir}/man1/unihexgen.1*
320 %{_mandir}/man1/unihexrotate.1*
321 %{_mandir}/man1/unipagecount.1*
322 %{_mandir}/man1/unipng2hex.1*
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_bindir}/unifont-viewer
328 %{_mandir}/man1/unifont-viewer.1*