]> git.pld-linux.org Git - packages/unifont.git/blame - unifont.spec
- updated to 13.0.03
[packages/unifont.git] / unifont.spec
CommitLineData
d7ad3529
ER
1#
2# Conditional build:
4be67cc6 3%bcond_without viewer # build 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
a8d4cd8f 8Version: 13.0.03
50c43191 9Release: 1
5b094f21 10License: GPL v2+ with GNU font embedding exception
0ec7b099 11Group: Fonts
c9c3ffc2 12Source0: https://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
a8d4cd8f 13# Source0-md5: ea585627fce8b5d798161403fbfaef06
5b094f21 14URL: http://czyborra.com/unifont/
539001df 15BuildRequires: fontforge
78a735fd 16BuildRequires: rpm-perlprov
941d8801 17BuildRequires: rpmbuild(macros) >= 1.745
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
40Group: Fonts
41Requires(post,postun): fontpostinst
42Requires: %{_fontsdir}/misc
43Obsoletes: unifont
f41faa7e
ER
44%if "%{_rpmversion}" >= "5"
45BuildArch: noarch
46%endif
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
69Group: Fonts
70Requires(post,postun): fontpostinst
71Requires: %{_fontsdir}/TTF
f41faa7e
ER
72%if "%{_rpmversion}" >= "5"
73BuildArch: noarch
74%endif
5b094f21 75
539001df 76%description -n fonts-TTF-unifont
5b094f21
JB
77GNU Unifont is an official GNU package. It is a dual-width
78(8x16/16x16) bitmap font, designed to provide coverage for all of
79Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 80a glyph for each visible code point in the Unicode 7.0 Basic
5b094f21
JB
81Multilingual Plane (Plane 0).
82
83This package contains the font in TTF format.
84
539001df 85%description -n fonts-TTF-unifont -l pl.UTF-8
5b094f21
JB
86GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
87szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
88warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 89zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
5b094f21
JB
90Multilingual Plane (Plane 0).
91
92Ten pakiet zawiera font w formacie TTF.
93
e17ae58b
JB
94%package console
95Summary: GNU Unifont - Unicode font in PSF format
96Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PSF
97Group: Fonts
98Requires: kbd
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
123Group: Development/Tools
124
125%description source
126GNU Unifont source data, which could be used to generate or embed
127fonts in other formats.
128
129%description source -l pl.UTF-8
130Dane źródłowe pakietu GNU Unifont, które można wykorzystać do
131generowania lub osadzania fontów w innych formatach.
132
5b094f21
JB
133%package tools
134Summary: GNU Unifont utility programs
135Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont
136Group: Development/Tools
137
138%description tools
139GNU Unifont utility programs.
140
141%description tools -l pl.UTF-8
142Programy narzędziowe dołączone do pakietu GNU Unifont.
8fe1eecf 143
78a735fd
JB
144%package viewer
145Summary: GNU Unifont viewer
146Summary(pl.UTF-8): Przeglądarka GNU Unifont
147Group: X11/Applications
148
149%description viewer
150GNU Unifont viewer based on wxWidgets Perl interface.
151
152%description viewer -l pl.UTF-8
153Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
154
4be14da3 155%prep
71412fc4 156%setup -q
4be14da3 157
8fe1eecf 158%build
539001df 159%{__make} -j1 \
5b094f21
JB
160 CC="%{__cc}" \
161 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
162 LDFLAGS="%{rpmldflags}"
8fe1eecf 163
164%install
165rm -rf $RPM_BUILD_ROOT
4be14da3 166
5b094f21
JB
167%{__make} install \
168 DESTDIR=$RPM_BUILD_ROOT \
169 USRDIR=usr \
e17ae58b 170 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
5b094f21
JB
171 PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
172 TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
173
cbda1465
JB
174# sample covering plane 0
175%{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
8fe1eecf 176
177%clean
178rm -rf $RPM_BUILD_ROOT
179
5b094f21 180%post -n fonts-misc-unifont
1cb0199c 181fontpostinst misc
8fe1eecf 182
5b094f21 183%postun -n fonts-misc-unifont
1cb0199c 184fontpostinst misc
8fe1eecf 185
5b094f21
JB
186%post -n fonts-TTF-unifont
187fontpostinst TTF
188
189%postun -n fonts-TTF-unifont
190fontpostinst TTF
191
192%files -n fonts-misc-unifont
193%defattr(644,root,root,755)
6e1988af 194%doc ChangeLog NEWS README
5b094f21 195%{_fontsdir}/misc/unifont.pcf.gz
e17ae58b 196%{_fontsdir}/misc/unifont_csur.pcf.gz
5b094f21
JB
197%{_mandir}/man5/unifont.5*
198
199%files -n fonts-TTF-unifont
200%defattr(644,root,root,755)
201%{_fontsdir}/TTF/unifont.ttf
e17ae58b
JB
202%{_fontsdir}/TTF/unifont_csur.ttf
203%{_fontsdir}/TTF/unifont_upper.ttf
e17ae58b
JB
204
205%files console
206%defattr(644,root,root,755)
207/lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
5b094f21 208
4be67cc6
JB
209%files source
210%defattr(644,root,root,755)
211%dir %{_datadir}/unifont
008d5807 212%{_datadir}/unifont/plane00-combining.txt
b25fea55 213%{_datadir}/unifont/unifont.bmp.gz
4be67cc6
JB
214%{_datadir}/unifont/unifont.hex
215%{_datadir}/unifont/wchardata.c
216
5b094f21 217%files tools
8fe1eecf 218%defattr(644,root,root,755)
5b094f21
JB
219%attr(755,root,root) %{_bindir}/bdfimplode
220%attr(755,root,root) %{_bindir}/hex2bdf
221%attr(755,root,root) %{_bindir}/hex2sfd
222%attr(755,root,root) %{_bindir}/hexbraille
223%attr(755,root,root) %{_bindir}/hexdraw
e17ae58b 224%attr(755,root,root) %{_bindir}/hexkinya
5b094f21
JB
225%attr(755,root,root) %{_bindir}/hexmerge
226%attr(755,root,root) %{_bindir}/johab2ucs2
227%attr(755,root,root) %{_bindir}/unibdf2hex
228%attr(755,root,root) %{_bindir}/unibmp2hex
c9c3ffc2 229%attr(755,root,root) %{_bindir}/unibmpbump
5b094f21
JB
230%attr(755,root,root) %{_bindir}/unicoverage
231%attr(755,root,root) %{_bindir}/unidup
cee5abe1 232%attr(755,root,root) %{_bindir}/unifont1per
5b094f21
JB
233%attr(755,root,root) %{_bindir}/unifontchojung
234%attr(755,root,root) %{_bindir}/unifontksx
235%attr(755,root,root) %{_bindir}/unifontpic
236%attr(755,root,root) %{_bindir}/unigencircles
237%attr(755,root,root) %{_bindir}/unigenwidth
238%attr(755,root,root) %{_bindir}/unihex2bmp
cbda1465 239%attr(755,root,root) %{_bindir}/unihex2png
78a735fd 240%attr(755,root,root) %{_bindir}/unihexfill
5b094f21 241%attr(755,root,root) %{_bindir}/unihexgen
c9c3ffc2 242%attr(755,root,root) %{_bindir}/unihexrotate
5b094f21 243%attr(755,root,root) %{_bindir}/unipagecount
cbda1465 244%attr(755,root,root) %{_bindir}/unipng2hex
5b094f21
JB
245%{_mandir}/man1/bdfimplode.1*
246%{_mandir}/man1/hex2bdf.1*
247%{_mandir}/man1/hex2sfd.1*
248%{_mandir}/man1/hexbraille.1*
249%{_mandir}/man1/hexdraw.1*
e17ae58b 250%{_mandir}/man1/hexkinya.1*
5b094f21
JB
251%{_mandir}/man1/hexmerge.1*
252%{_mandir}/man1/johab2ucs2.1*
253%{_mandir}/man1/unibdf2hex.1*
254%{_mandir}/man1/unibmp2hex.1*
c9c3ffc2 255%{_mandir}/man1/unibmpbump.1*
5b094f21
JB
256%{_mandir}/man1/unicoverage.1*
257%{_mandir}/man1/unidup.1*
cee5abe1 258%{_mandir}/man1/unifont1per.1*
5b094f21
JB
259%{_mandir}/man1/unifontchojung.1*
260%{_mandir}/man1/unifontksx.1*
261%{_mandir}/man1/unifontpic.1*
262%{_mandir}/man1/unigencircles.1*
263%{_mandir}/man1/unigenwidth.1*
264%{_mandir}/man1/unihex2bmp.1*
cbda1465 265%{_mandir}/man1/unihex2png.1*
e538609f 266%{_mandir}/man1/unihexfill.1*
5b094f21 267%{_mandir}/man1/unihexgen.1*
c9c3ffc2 268%{_mandir}/man1/unihexrotate.1*
5b094f21 269%{_mandir}/man1/unipagecount.1*
cbda1465 270%{_mandir}/man1/unipng2hex.1*
78a735fd 271
23464367 272%if %{with viewer}
78a735fd
JB
273%files viewer
274%defattr(644,root,root,755)
275%attr(755,root,root) %{_bindir}/unifont-viewer
50c43191 276%{_mandir}/man1/unifont-viewer.1*
23464367 277%endif
This page took 0.102319 seconds and 4 git commands to generate.