]> git.pld-linux.org Git - packages/unifont.git/blame - unifont.spec
- versioned Obsoletes
[packages/unifont.git] / unifont.spec
CommitLineData
d7ad3529
ER
1#
2# Conditional build:
931b6ea9 3%bcond_without viewer # unifont-viewer package (requires perl-Wx)
23464367 4
5b094f21
JB
5Summary: GNU Unifont - Unicode bitmap font
6Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode
8fe1eecf 7Name: unifont
cee84226 8Version: 15.0.01
ec20816d 9Release: 1
931b6ea9 10License: GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
0ec7b099 11Group: Fonts
c9c3ffc2 12Source0: https://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
cee84226 13# Source0-md5: d6366a8fd03e815c2f18d36ff1a5cca7
5b094f21 14URL: http://czyborra.com/unifont/
539001df 15BuildRequires: fontforge
ec20816d 16BuildRequires: rpm-build >= 4.6
78a735fd 17BuildRequires: rpm-perlprov
931b6ea9 18BuildRequires: rpmbuild(macros) >= 1.752
f41faa7e 19BuildRequires: xorg-app-bdftopcf
1cb0199c 20Requires(post,postun): fontpostinst
09c282e8 21Requires: %{_fontsdir}/misc
8fe1eecf 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
5b094f21
JB
25GNU Unifont is an official GNU package. It is a dual-width
26(8x16/16x16) bitmap font, designed to provide coverage for all of
27Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 28a glyph for each visible code point in the Unicode 7.0 Basic
5b094f21 29Multilingual Plane (Plane 0).
8fe1eecf 30
45624604 31%description -l pl.UTF-8
5b094f21
JB
32GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
33szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
34warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 35zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
5b094f21
JB
36Multilingual Plane (Plane 0).
37
539001df 38%package -n fonts-misc-unifont
5b094f21
JB
39Summary: GNU Unifont - Unicode font in PCF format
40Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF
931b6ea9 41License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
5b094f21
JB
42Group: Fonts
43Requires(post,postun): fontpostinst
44Requires: %{_fontsdir}/misc
e61f9f30 45Obsoletes: unifont < 6
12b1aaf4 46BuildArch: noarch
5b094f21 47
539001df 48%description -n fonts-misc-unifont
5b094f21
JB
49GNU Unifont is an official GNU package. It is a dual-width
50(8x16/16x16) bitmap font, designed to provide coverage for all of
51Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 52a glyph for each visible code point in the Unicode 7.0 Basic
5b094f21
JB
53Multilingual Plane (Plane 0).
54
55This package contains the font in PCF format.
56
539001df 57%description -n fonts-misc-unifont -l pl.UTF-8
5b094f21
JB
58GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
59szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
60warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 61zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
5b094f21
JB
62Multilingual Plane (Plane 0).
63
64Ten pakiet zawiera font w formacie PCF.
65
cee84226
JP
66%package -n fonts-OTF-unifont
67Summary: GNU Unifont - Unicode font in OpenType format
68Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie OpenType
69License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
70Group: Fonts
71Requires(post,postun): fontpostinst
72Requires: %{_fontsdir}/OTF
73BuildArch: noarch
74
75%description -n fonts-OTF-unifont
76GNU Unifont is an official GNU package. It is a dual-width
77(8x16/16x16) bitmap font, designed to provide coverage for all of
78Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
79a glyph for each visible code point in the Unicode 7.0 Basic
80Multilingual Plane (Plane 0).
81
82This package contains the font in OpenType format.
83
84%description -n fonts-OTF-unifont -l pl.UTF-8
85GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
86szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
87warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
88zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
89Multilingual Plane (Plane 0).
90
91Ten pakiet zawiera font w formacie OpenType.
92
539001df 93%package -n fonts-TTF-unifont
ac1fecc1
JP
94Summary: GNU Unifont - Unicode font in TrueType format
95Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie TrueType
931b6ea9 96License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
5b094f21
JB
97Group: Fonts
98Requires(post,postun): fontpostinst
99Requires: %{_fontsdir}/TTF
12b1aaf4 100BuildArch: noarch
5b094f21 101
539001df 102%description -n fonts-TTF-unifont
5b094f21
JB
103GNU Unifont is an official GNU package. It is a dual-width
104(8x16/16x16) bitmap font, designed to provide coverage for all of
105Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 106a glyph for each visible code point in the Unicode 7.0 Basic
5b094f21
JB
107Multilingual Plane (Plane 0).
108
ac1fecc1 109This package contains the font in TrueType format.
5b094f21 110
539001df 111%description -n fonts-TTF-unifont -l pl.UTF-8
5b094f21
JB
112GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
113szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
114warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 115zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
5b094f21
JB
116Multilingual Plane (Plane 0).
117
ac1fecc1 118Ten pakiet zawiera font w formacie TrueType.
5b094f21 119
e17ae58b
JB
120%package console
121Summary: GNU Unifont - Unicode font in PSF format
122Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PSF
931b6ea9 123License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
e17ae58b
JB
124Group: Fonts
125Requires: kbd
12b1aaf4 126BuildArch: noarch
e17ae58b
JB
127
128%description console
129GNU Unifont is an official GNU package. It is a dual-width
130(8x16/16x16) bitmap font, designed to provide coverage for all of
131Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 132a glyph for each visible code point in the Unicode 7.0 Basic
e17ae58b
JB
133Multilingual Plane (Plane 0).
134
135This package contains 512 glyph subset in PSF format for use with
136Linux console.
137
138%description console -l pl.UTF-8
139GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
140szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
141warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 142zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
e17ae58b
JB
143Multilingual Plane (Plane 0).
144
145Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
146do używania na linuksowej konsoli.
147
4be67cc6
JB
148%package source
149Summary: GNU Unifont source data
150Summary(pl.UTF-8): Dane źródłowe pakietu GNU Unifont
931b6ea9 151License: GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
4be67cc6 152Group: Development/Tools
12b1aaf4 153BuildArch: noarch
4be67cc6
JB
154
155%description source
156GNU Unifont source data, which could be used to generate or embed
157fonts in other formats.
158
159%description source -l pl.UTF-8
160Dane źródłowe pakietu GNU Unifont, które można wykorzystać do
161generowania lub osadzania fontów w innych formatach.
162
5b094f21
JB
163%package tools
164Summary: GNU Unifont utility programs
165Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont
931b6ea9 166License: GPL v2+
5b094f21
JB
167Group: Development/Tools
168
169%description tools
170GNU Unifont utility programs.
171
172%description tools -l pl.UTF-8
173Programy narzędziowe dołączone do pakietu GNU Unifont.
8fe1eecf 174
78a735fd
JB
175%package viewer
176Summary: GNU Unifont viewer
177Summary(pl.UTF-8): Przeglądarka GNU Unifont
931b6ea9 178License: GPL v2+
78a735fd
JB
179Group: X11/Applications
180
181%description viewer
182GNU Unifont viewer based on wxWidgets Perl interface.
183
184%description viewer -l pl.UTF-8
185Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
186
4be14da3 187%prep
71412fc4 188%setup -q
4be14da3 189
8fe1eecf 190%build
539001df 191%{__make} -j1 \
5b094f21
JB
192 CC="%{__cc}" \
193 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
194 LDFLAGS="%{rpmldflags}"
8fe1eecf 195
196%install
197rm -rf $RPM_BUILD_ROOT
4be14da3 198
cee84226
JP
199install -d $RPM_BUILD_ROOT%{_fontsdir}/OTF
200
5b094f21
JB
201%{__make} install \
202 DESTDIR=$RPM_BUILD_ROOT \
203 USRDIR=usr \
e17ae58b 204 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
cee84226 205 OTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/OTF \
5b094f21
JB
206 PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
207 TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
208
cbda1465
JB
209# sample covering plane 0
210%{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
8fe1eecf 211
212%clean
213rm -rf $RPM_BUILD_ROOT
214
5b094f21 215%post -n fonts-misc-unifont
1cb0199c 216fontpostinst misc
8fe1eecf 217
5b094f21 218%postun -n fonts-misc-unifont
1cb0199c 219fontpostinst misc
8fe1eecf 220
cee84226
JP
221%post -n fonts-OTF-unifont
222fontpostinst OTF
223
224%postun -n fonts-OTF-unifont
225fontpostinst OTF
226
5b094f21
JB
227%post -n fonts-TTF-unifont
228fontpostinst TTF
229
230%postun -n fonts-TTF-unifont
231fontpostinst TTF
232
233%files -n fonts-misc-unifont
234%defattr(644,root,root,755)
931b6ea9 235%doc COPYING ChangeLog NEWS README
5b094f21 236%{_fontsdir}/misc/unifont.pcf.gz
e17ae58b 237%{_fontsdir}/misc/unifont_csur.pcf.gz
5b094f21
JB
238%{_mandir}/man5/unifont.5*
239
cee84226
JP
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
247
5b094f21
JB
248%files -n fonts-TTF-unifont
249%defattr(644,root,root,755)
931b6ea9 250%doc COPYING ChangeLog NEWS README
5b094f21 251%{_fontsdir}/TTF/unifont.ttf
e17ae58b
JB
252%{_fontsdir}/TTF/unifont_csur.ttf
253%{_fontsdir}/TTF/unifont_upper.ttf
e17ae58b
JB
254
255%files console
256%defattr(644,root,root,755)
257/lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
5b094f21 258
4be67cc6
JB
259%files source
260%defattr(644,root,root,755)
931b6ea9 261%doc COPYING ChangeLog NEWS README
4be67cc6 262%dir %{_datadir}/unifont
008d5807 263%{_datadir}/unifont/plane00-combining.txt
b25fea55 264%{_datadir}/unifont/unifont.bmp.gz
4be67cc6
JB
265%{_datadir}/unifont/unifont.hex
266%{_datadir}/unifont/wchardata.c
267
5b094f21 268%files tools
8fe1eecf 269%defattr(644,root,root,755)
5b094f21
JB
270%attr(755,root,root) %{_bindir}/bdfimplode
271%attr(755,root,root) %{_bindir}/hex2bdf
8833ef92 272%attr(755,root,root) %{_bindir}/hex2otf
5b094f21
JB
273%attr(755,root,root) %{_bindir}/hex2sfd
274%attr(755,root,root) %{_bindir}/hexbraille
275%attr(755,root,root) %{_bindir}/hexdraw
e17ae58b 276%attr(755,root,root) %{_bindir}/hexkinya
5b094f21
JB
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
c9c3ffc2 281%attr(755,root,root) %{_bindir}/unibmpbump
5b094f21
JB
282%attr(755,root,root) %{_bindir}/unicoverage
283%attr(755,root,root) %{_bindir}/unidup
cee5abe1 284%attr(755,root,root) %{_bindir}/unifont1per
5b094f21
JB
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
cbda1465 291%attr(755,root,root) %{_bindir}/unihex2png
78a735fd 292%attr(755,root,root) %{_bindir}/unihexfill
5b094f21 293%attr(755,root,root) %{_bindir}/unihexgen
c9c3ffc2 294%attr(755,root,root) %{_bindir}/unihexrotate
5b094f21 295%attr(755,root,root) %{_bindir}/unipagecount
cbda1465 296%attr(755,root,root) %{_bindir}/unipng2hex
5b094f21
JB
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*
e17ae58b 302%{_mandir}/man1/hexkinya.1*
5b094f21
JB
303%{_mandir}/man1/hexmerge.1*
304%{_mandir}/man1/johab2ucs2.1*
305%{_mandir}/man1/unibdf2hex.1*
306%{_mandir}/man1/unibmp2hex.1*
c9c3ffc2 307%{_mandir}/man1/unibmpbump.1*
5b094f21
JB
308%{_mandir}/man1/unicoverage.1*
309%{_mandir}/man1/unidup.1*
cee5abe1 310%{_mandir}/man1/unifont1per.1*
5b094f21
JB
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*
cbda1465 317%{_mandir}/man1/unihex2png.1*
e538609f 318%{_mandir}/man1/unihexfill.1*
5b094f21 319%{_mandir}/man1/unihexgen.1*
c9c3ffc2 320%{_mandir}/man1/unihexrotate.1*
5b094f21 321%{_mandir}/man1/unipagecount.1*
cbda1465 322%{_mandir}/man1/unipng2hex.1*
78a735fd 323
23464367 324%if %{with viewer}
78a735fd
JB
325%files viewer
326%defattr(644,root,root,755)
327%attr(755,root,root) %{_bindir}/unifont-viewer
50c43191 328%{_mandir}/man1/unifont-viewer.1*
23464367 329%endif
This page took 0.167877 seconds and 4 git commands to generate.