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