]> git.pld-linux.org Git - packages/unifont.git/blob - unifont.spec
Release 2 (by relup.sh)
[packages/unifont.git] / unifont.spec
1 #
2 # Conditional build:
3 %bcond_without  viewer  # unifont-viewer package (requires perl-Wx)
4
5 Summary:        GNU Unifont - Unicode bitmap font
6 Summary(pl.UTF-8):      GNU Unifont - font bitmapowy Unicode
7 Name:           unifont
8 Version:        13.0.06
9 Release:        2
10 License:        GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
11 Group:          Fonts
12 Source0:        https://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5:  60971929464ceb99bbcca55b9ad7c796
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)
22
23 %description
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).
29
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).
36
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)
41 Group:          Fonts
42 Requires(post,postun):  fontpostinst
43 Requires:       %{_fontsdir}/misc
44 Obsoletes:      unifont
45 BuildArch:      noarch
46
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).
53
54 This package contains the font in PCF format.
55
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).
62
63 Ten pakiet zawiera font w formacie PCF.
64
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)
69 Group:          Fonts
70 Requires(post,postun):  fontpostinst
71 Requires:       %{_fontsdir}/TTF
72 BuildArch:      noarch
73
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).
80
81 This package contains the font in TTF format.
82
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).
89
90 Ten pakiet zawiera font w formacie TTF.
91
92 %package console
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)
96 Group:          Fonts
97 Requires:       kbd
98 BuildArch:      noarch
99
100 %description console
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).
106
107 This package contains 512 glyph subset in PSF format for use with
108 Linux console.
109
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).
116
117 Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
118 do używania na linuksowej konsoli.
119
120 %package source
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
125 BuildArch:      noarch
126
127 %description source
128 GNU Unifont source data, which could be used to generate or embed
129 fonts in other formats.
130
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.
134
135 %package tools
136 Summary:        GNU Unifont utility programs
137 Summary(pl.UTF-8):      Programy narzędziowe dołączone do pakietu GNU Unifont
138 License:        GPL v2+
139 Group:          Development/Tools
140
141 %description tools
142 GNU Unifont utility programs.
143
144 %description tools -l pl.UTF-8
145 Programy narzędziowe dołączone do pakietu GNU Unifont.
146
147 %package viewer
148 Summary:        GNU Unifont viewer
149 Summary(pl.UTF-8):      Przeglądarka GNU Unifont
150 License:        GPL v2+
151 Group:          X11/Applications
152
153 %description viewer
154 GNU Unifont viewer based on wxWidgets Perl interface.
155
156 %description viewer -l pl.UTF-8
157 Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
158
159 %prep
160 %setup -q
161
162 %build
163 %{__make} -j1 \
164         CC="%{__cc}" \
165         CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
166         LDFLAGS="%{rpmldflags}"
167
168 %install
169 rm -rf $RPM_BUILD_ROOT
170
171 %{__make} install \
172         DESTDIR=$RPM_BUILD_ROOT \
173         USRDIR=usr \
174         CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
175         PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
176         TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
177
178 # sample covering plane 0
179 %{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
180
181 %clean
182 rm -rf $RPM_BUILD_ROOT
183
184 %post   -n fonts-misc-unifont
185 fontpostinst misc
186
187 %postun -n fonts-misc-unifont
188 fontpostinst misc
189
190 %post   -n fonts-TTF-unifont
191 fontpostinst TTF
192
193 %postun -n fonts-TTF-unifont
194 fontpostinst TTF
195
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*
202
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
209
210 %files console
211 %defattr(644,root,root,755)
212 /lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
213
214 %files source
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
222
223 %files tools
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*
277
278 %if %{with viewer}
279 %files viewer
280 %defattr(644,root,root,755)
281 %attr(755,root,root) %{_bindir}/unifont-viewer
282 %{_mandir}/man1/unifont-viewer.1*
283 %endif
This page took 0.073506 seconds and 3 git commands to generate.