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: 0b86fbd15a46bab3373c502bd94d93ed
14 URL: http://czyborra.com/unifont/
15 BuildRequires: fontforge
16 BuildRequires: rpm-perlprov
17 BuildRequires: rpmbuild(macros) >= 1.752
18 BuildRequires: xorg-app-bdftopcf
19 Requires(post,postun): fontpostinst
20 Requires: %{_fontsdir}/misc
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 GNU Unifont is an official GNU package. It is a dual-width
25 (8x16/16x16) bitmap font, designed to provide coverage for all of
26 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
27 a glyph for each visible code point in the Unicode 7.0 Basic
28 Multilingual Plane (Plane 0).
30 %description -l pl.UTF-8
31 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
32 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
33 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
34 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
35 Multilingual Plane (Plane 0).
37 %package -n fonts-misc-unifont
38 Summary: GNU Unifont - Unicode font in PCF format
39 Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF
40 License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
42 Requires(post,postun): fontpostinst
43 Requires: %{_fontsdir}/misc
47 %description -n fonts-misc-unifont
48 GNU Unifont is an official GNU package. It is a dual-width
49 (8x16/16x16) bitmap font, designed to provide coverage for all of
50 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
51 a glyph for each visible code point in the Unicode 7.0 Basic
52 Multilingual Plane (Plane 0).
54 This package contains the font in PCF format.
56 %description -n fonts-misc-unifont -l pl.UTF-8
57 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
58 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
59 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
60 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
61 Multilingual Plane (Plane 0).
63 Ten pakiet zawiera font w formacie PCF.
65 %package -n fonts-TTF-unifont
66 Summary: GNU Unifont - Unicode font in PCF format
67 Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF
68 License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
70 Requires(post,postun): fontpostinst
71 Requires: %{_fontsdir}/TTF
74 %description -n fonts-TTF-unifont
75 GNU Unifont is an official GNU package. It is a dual-width
76 (8x16/16x16) bitmap font, designed to provide coverage for all of
77 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
78 a glyph for each visible code point in the Unicode 7.0 Basic
79 Multilingual Plane (Plane 0).
81 This package contains the font in TTF format.
83 %description -n fonts-TTF-unifont -l pl.UTF-8
84 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
85 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
86 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
87 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
88 Multilingual Plane (Plane 0).
90 Ten pakiet zawiera font w formacie TTF.
93 Summary: GNU Unifont - Unicode font in PSF format
94 Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PSF
95 License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
101 GNU Unifont is an official GNU package. It is a dual-width
102 (8x16/16x16) bitmap font, designed to provide coverage for all of
103 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
104 a glyph for each visible code point in the Unicode 7.0 Basic
105 Multilingual Plane (Plane 0).
107 This package contains 512 glyph subset in PSF format for use with
110 %description console -l pl.UTF-8
111 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
112 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
113 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
114 zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
115 Multilingual Plane (Plane 0).
117 Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
118 do używania na linuksowej konsoli.
121 Summary: GNU Unifont source data
122 Summary(pl.UTF-8): Dane źródłowe pakietu GNU Unifont
123 License: GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
124 Group: Development/Tools
128 GNU Unifont source data, which could be used to generate or embed
129 fonts in other formats.
131 %description source -l pl.UTF-8
132 Dane źródłowe pakietu GNU Unifont, które można wykorzystać do
133 generowania lub osadzania fontów w innych formatach.
136 Summary: GNU Unifont utility programs
137 Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont
139 Group: Development/Tools
142 GNU Unifont utility programs.
144 %description tools -l pl.UTF-8
145 Programy narzędziowe dołączone do pakietu GNU Unifont.
148 Summary: GNU Unifont viewer
149 Summary(pl.UTF-8): Przeglądarka GNU Unifont
151 Group: X11/Applications
154 GNU Unifont viewer based on wxWidgets Perl interface.
156 %description viewer -l pl.UTF-8
157 Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
165 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
166 LDFLAGS="%{rpmldflags}"
169 rm -rf $RPM_BUILD_ROOT
172 DESTDIR=$RPM_BUILD_ROOT \
174 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
175 PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
176 TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
178 # sample covering plane 0
179 %{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
182 rm -rf $RPM_BUILD_ROOT
184 %post -n fonts-misc-unifont
187 %postun -n fonts-misc-unifont
190 %post -n fonts-TTF-unifont
193 %postun -n fonts-TTF-unifont
196 %files -n fonts-misc-unifont
197 %defattr(644,root,root,755)
198 %doc COPYING ChangeLog NEWS README
199 %{_fontsdir}/misc/unifont.pcf.gz
200 %{_fontsdir}/misc/unifont_csur.pcf.gz
201 %{_mandir}/man5/unifont.5*
203 %files -n fonts-TTF-unifont
204 %defattr(644,root,root,755)
205 %doc COPYING ChangeLog NEWS README
206 %{_fontsdir}/TTF/unifont.ttf
207 %{_fontsdir}/TTF/unifont_csur.ttf
208 %{_fontsdir}/TTF/unifont_upper.ttf
211 %defattr(644,root,root,755)
212 /lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
215 %defattr(644,root,root,755)
216 %doc COPYING ChangeLog NEWS README
217 %dir %{_datadir}/unifont
218 %{_datadir}/unifont/plane00-combining.txt
219 %{_datadir}/unifont/unifont.bmp.gz
220 %{_datadir}/unifont/unifont.hex
221 %{_datadir}/unifont/wchardata.c
224 %defattr(644,root,root,755)
225 %attr(755,root,root) %{_bindir}/bdfimplode
226 %attr(755,root,root) %{_bindir}/hex2bdf
227 %attr(755,root,root) %{_bindir}/hex2sfd
228 %attr(755,root,root) %{_bindir}/hexbraille
229 %attr(755,root,root) %{_bindir}/hexdraw
230 %attr(755,root,root) %{_bindir}/hexkinya
231 %attr(755,root,root) %{_bindir}/hexmerge
232 %attr(755,root,root) %{_bindir}/johab2ucs2
233 %attr(755,root,root) %{_bindir}/unibdf2hex
234 %attr(755,root,root) %{_bindir}/unibmp2hex
235 %attr(755,root,root) %{_bindir}/unibmpbump
236 %attr(755,root,root) %{_bindir}/unicoverage
237 %attr(755,root,root) %{_bindir}/unidup
238 %attr(755,root,root) %{_bindir}/unifont1per
239 %attr(755,root,root) %{_bindir}/unifontchojung
240 %attr(755,root,root) %{_bindir}/unifontksx
241 %attr(755,root,root) %{_bindir}/unifontpic
242 %attr(755,root,root) %{_bindir}/unigencircles
243 %attr(755,root,root) %{_bindir}/unigenwidth
244 %attr(755,root,root) %{_bindir}/unihex2bmp
245 %attr(755,root,root) %{_bindir}/unihex2png
246 %attr(755,root,root) %{_bindir}/unihexfill
247 %attr(755,root,root) %{_bindir}/unihexgen
248 %attr(755,root,root) %{_bindir}/unihexrotate
249 %attr(755,root,root) %{_bindir}/unipagecount
250 %attr(755,root,root) %{_bindir}/unipng2hex
251 %{_mandir}/man1/bdfimplode.1*
252 %{_mandir}/man1/hex2bdf.1*
253 %{_mandir}/man1/hex2sfd.1*
254 %{_mandir}/man1/hexbraille.1*
255 %{_mandir}/man1/hexdraw.1*
256 %{_mandir}/man1/hexkinya.1*
257 %{_mandir}/man1/hexmerge.1*
258 %{_mandir}/man1/johab2ucs2.1*
259 %{_mandir}/man1/unibdf2hex.1*
260 %{_mandir}/man1/unibmp2hex.1*
261 %{_mandir}/man1/unibmpbump.1*
262 %{_mandir}/man1/unicoverage.1*
263 %{_mandir}/man1/unidup.1*
264 %{_mandir}/man1/unifont1per.1*
265 %{_mandir}/man1/unifontchojung.1*
266 %{_mandir}/man1/unifontksx.1*
267 %{_mandir}/man1/unifontpic.1*
268 %{_mandir}/man1/unigencircles.1*
269 %{_mandir}/man1/unigenwidth.1*
270 %{_mandir}/man1/unihex2bmp.1*
271 %{_mandir}/man1/unihex2png.1*
272 %{_mandir}/man1/unihexfill.1*
273 %{_mandir}/man1/unihexgen.1*
274 %{_mandir}/man1/unihexrotate.1*
275 %{_mandir}/man1/unipagecount.1*
276 %{_mandir}/man1/unipng2hex.1*
280 %defattr(644,root,root,755)
281 %attr(755,root,root) %{_bindir}/unifont-viewer
282 %{_mandir}/man1/unifont-viewer.1*