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