]> git.pld-linux.org Git - packages/unifont.git/blame - unifont.spec
up to 14.0.04
[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
8833ef92 8Version: 14.0.04
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
8833ef92 13# Source0-md5: ea0476db0bd55de5fbeccfc7d6214dbf
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
45Obsoletes: unifont
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
539001df 66%package -n fonts-TTF-unifont
5b094f21
JB
67Summary: GNU Unifont - Unicode font in PCF format
68Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF
931b6ea9 69License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
5b094f21
JB
70Group: Fonts
71Requires(post,postun): fontpostinst
72Requires: %{_fontsdir}/TTF
12b1aaf4 73BuildArch: noarch
5b094f21 74
539001df 75%description -n fonts-TTF-unifont
5b094f21
JB
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
e538609f 79a glyph for each visible code point in the Unicode 7.0 Basic
5b094f21
JB
80Multilingual Plane (Plane 0).
81
82This package contains the font in TTF format.
83
539001df 84%description -n fonts-TTF-unifont -l pl.UTF-8
5b094f21
JB
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
e538609f 88zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
5b094f21
JB
89Multilingual Plane (Plane 0).
90
91Ten pakiet zawiera font w formacie TTF.
92
e17ae58b
JB
93%package console
94Summary: GNU Unifont - Unicode font in PSF format
95Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PSF
931b6ea9 96License: SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
e17ae58b
JB
97Group: Fonts
98Requires: kbd
12b1aaf4 99BuildArch: noarch
e17ae58b
JB
100
101%description console
102GNU Unifont is an official GNU package. It is a dual-width
103(8x16/16x16) bitmap font, designed to provide coverage for all of
104Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 105a glyph for each visible code point in the Unicode 7.0 Basic
e17ae58b
JB
106Multilingual Plane (Plane 0).
107
108This package contains 512 glyph subset in PSF format for use with
109Linux console.
110
111%description console -l pl.UTF-8
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
e17ae58b
JB
116Multilingual Plane (Plane 0).
117
118Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
119do używania na linuksowej konsoli.
120
4be67cc6
JB
121%package source
122Summary: GNU Unifont source data
123Summary(pl.UTF-8): Dane źródłowe pakietu GNU Unifont
931b6ea9 124License: GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
4be67cc6 125Group: Development/Tools
12b1aaf4 126BuildArch: noarch
4be67cc6
JB
127
128%description source
129GNU Unifont source data, which could be used to generate or embed
130fonts in other formats.
131
132%description source -l pl.UTF-8
133Dane źródłowe pakietu GNU Unifont, które można wykorzystać do
134generowania lub osadzania fontów w innych formatach.
135
5b094f21
JB
136%package tools
137Summary: GNU Unifont utility programs
138Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont
931b6ea9 139License: GPL v2+
5b094f21
JB
140Group: Development/Tools
141
142%description tools
143GNU Unifont utility programs.
144
145%description tools -l pl.UTF-8
146Programy narzędziowe dołączone do pakietu GNU Unifont.
8fe1eecf 147
78a735fd
JB
148%package viewer
149Summary: GNU Unifont viewer
150Summary(pl.UTF-8): Przeglądarka GNU Unifont
931b6ea9 151License: GPL v2+
78a735fd
JB
152Group: X11/Applications
153
154%description viewer
155GNU Unifont viewer based on wxWidgets Perl interface.
156
157%description viewer -l pl.UTF-8
158Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
159
4be14da3 160%prep
71412fc4 161%setup -q
4be14da3 162
8fe1eecf 163%build
539001df 164%{__make} -j1 \
5b094f21
JB
165 CC="%{__cc}" \
166 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
167 LDFLAGS="%{rpmldflags}"
8fe1eecf 168
169%install
170rm -rf $RPM_BUILD_ROOT
4be14da3 171
5b094f21
JB
172%{__make} install \
173 DESTDIR=$RPM_BUILD_ROOT \
174 USRDIR=usr \
e17ae58b 175 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
5b094f21
JB
176 PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
177 TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
178
cbda1465
JB
179# sample covering plane 0
180%{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
8fe1eecf 181
182%clean
183rm -rf $RPM_BUILD_ROOT
184
5b094f21 185%post -n fonts-misc-unifont
1cb0199c 186fontpostinst misc
8fe1eecf 187
5b094f21 188%postun -n fonts-misc-unifont
1cb0199c 189fontpostinst misc
8fe1eecf 190
5b094f21
JB
191%post -n fonts-TTF-unifont
192fontpostinst TTF
193
194%postun -n fonts-TTF-unifont
195fontpostinst TTF
196
197%files -n fonts-misc-unifont
198%defattr(644,root,root,755)
931b6ea9 199%doc COPYING ChangeLog NEWS README
5b094f21 200%{_fontsdir}/misc/unifont.pcf.gz
e17ae58b 201%{_fontsdir}/misc/unifont_csur.pcf.gz
5b094f21
JB
202%{_mandir}/man5/unifont.5*
203
204%files -n fonts-TTF-unifont
205%defattr(644,root,root,755)
931b6ea9 206%doc COPYING ChangeLog NEWS README
5b094f21 207%{_fontsdir}/TTF/unifont.ttf
e17ae58b
JB
208%{_fontsdir}/TTF/unifont_csur.ttf
209%{_fontsdir}/TTF/unifont_upper.ttf
e17ae58b
JB
210
211%files console
212%defattr(644,root,root,755)
213/lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
5b094f21 214
4be67cc6
JB
215%files source
216%defattr(644,root,root,755)
931b6ea9 217%doc COPYING ChangeLog NEWS README
4be67cc6 218%dir %{_datadir}/unifont
008d5807 219%{_datadir}/unifont/plane00-combining.txt
b25fea55 220%{_datadir}/unifont/unifont.bmp.gz
4be67cc6
JB
221%{_datadir}/unifont/unifont.hex
222%{_datadir}/unifont/wchardata.c
223
5b094f21 224%files tools
8fe1eecf 225%defattr(644,root,root,755)
5b094f21
JB
226%attr(755,root,root) %{_bindir}/bdfimplode
227%attr(755,root,root) %{_bindir}/hex2bdf
8833ef92 228%attr(755,root,root) %{_bindir}/hex2otf
5b094f21
JB
229%attr(755,root,root) %{_bindir}/hex2sfd
230%attr(755,root,root) %{_bindir}/hexbraille
231%attr(755,root,root) %{_bindir}/hexdraw
e17ae58b 232%attr(755,root,root) %{_bindir}/hexkinya
5b094f21
JB
233%attr(755,root,root) %{_bindir}/hexmerge
234%attr(755,root,root) %{_bindir}/johab2ucs2
235%attr(755,root,root) %{_bindir}/unibdf2hex
236%attr(755,root,root) %{_bindir}/unibmp2hex
c9c3ffc2 237%attr(755,root,root) %{_bindir}/unibmpbump
5b094f21
JB
238%attr(755,root,root) %{_bindir}/unicoverage
239%attr(755,root,root) %{_bindir}/unidup
cee5abe1 240%attr(755,root,root) %{_bindir}/unifont1per
5b094f21
JB
241%attr(755,root,root) %{_bindir}/unifontchojung
242%attr(755,root,root) %{_bindir}/unifontksx
243%attr(755,root,root) %{_bindir}/unifontpic
244%attr(755,root,root) %{_bindir}/unigencircles
245%attr(755,root,root) %{_bindir}/unigenwidth
246%attr(755,root,root) %{_bindir}/unihex2bmp
cbda1465 247%attr(755,root,root) %{_bindir}/unihex2png
78a735fd 248%attr(755,root,root) %{_bindir}/unihexfill
5b094f21 249%attr(755,root,root) %{_bindir}/unihexgen
c9c3ffc2 250%attr(755,root,root) %{_bindir}/unihexrotate
5b094f21 251%attr(755,root,root) %{_bindir}/unipagecount
cbda1465 252%attr(755,root,root) %{_bindir}/unipng2hex
5b094f21
JB
253%{_mandir}/man1/bdfimplode.1*
254%{_mandir}/man1/hex2bdf.1*
255%{_mandir}/man1/hex2sfd.1*
256%{_mandir}/man1/hexbraille.1*
257%{_mandir}/man1/hexdraw.1*
e17ae58b 258%{_mandir}/man1/hexkinya.1*
5b094f21
JB
259%{_mandir}/man1/hexmerge.1*
260%{_mandir}/man1/johab2ucs2.1*
261%{_mandir}/man1/unibdf2hex.1*
262%{_mandir}/man1/unibmp2hex.1*
c9c3ffc2 263%{_mandir}/man1/unibmpbump.1*
5b094f21
JB
264%{_mandir}/man1/unicoverage.1*
265%{_mandir}/man1/unidup.1*
cee5abe1 266%{_mandir}/man1/unifont1per.1*
5b094f21
JB
267%{_mandir}/man1/unifontchojung.1*
268%{_mandir}/man1/unifontksx.1*
269%{_mandir}/man1/unifontpic.1*
270%{_mandir}/man1/unigencircles.1*
271%{_mandir}/man1/unigenwidth.1*
272%{_mandir}/man1/unihex2bmp.1*
cbda1465 273%{_mandir}/man1/unihex2png.1*
e538609f 274%{_mandir}/man1/unihexfill.1*
5b094f21 275%{_mandir}/man1/unihexgen.1*
c9c3ffc2 276%{_mandir}/man1/unihexrotate.1*
5b094f21 277%{_mandir}/man1/unipagecount.1*
cbda1465 278%{_mandir}/man1/unipng2hex.1*
78a735fd 279
23464367 280%if %{with viewer}
78a735fd
JB
281%files viewer
282%defattr(644,root,root,755)
283%attr(755,root,root) %{_bindir}/unifont-viewer
50c43191 284%{_mandir}/man1/unifont-viewer.1*
23464367 285%endif
This page took 0.155422 seconds and 4 git commands to generate.