]> git.pld-linux.org Git - packages/unifont.git/blame - unifont.spec
- disabled viewer package (no perl-Wx in Th)
[packages/unifont.git] / unifont.spec
CommitLineData
23464367
JR
1%bcond_with viewer # build unifont-viewer package, requires perl-Wx
2
78a735fd 3%include /usr/lib/rpm/macros.perl
5b094f21
JB
4Summary: GNU Unifont - Unicode bitmap font
5Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode
8fe1eecf 6Name: unifont
e538609f 7Version: 7.0.03
23464367 8Release: 2
5b094f21 9License: GPL v2+ with GNU font embedding exception
0ec7b099 10Group: Fonts
5b094f21 11Source0: http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
e538609f 12# Source0-md5: 17f4b4de9cf0a58049da251611c19415
5b094f21 13URL: http://czyborra.com/unifont/
539001df 14BuildRequires: fontforge
78a735fd 15BuildRequires: rpm-perlprov
f41faa7e 16BuildRequires: xorg-app-bdftopcf
1cb0199c 17Requires(post,postun): fontpostinst
09c282e8 18Requires: %{_fontsdir}/misc
8fe1eecf 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
5b094f21
JB
22GNU Unifont is an official GNU package. It is a dual-width
23(8x16/16x16) bitmap font, designed to provide coverage for all of
24Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 25a glyph for each visible code point in the Unicode 7.0 Basic
5b094f21 26Multilingual Plane (Plane 0).
8fe1eecf 27
45624604 28%description -l pl.UTF-8
5b094f21
JB
29GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
30szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
31warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 32zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
5b094f21
JB
33Multilingual Plane (Plane 0).
34
539001df 35%package -n fonts-misc-unifont
5b094f21
JB
36Summary: GNU Unifont - Unicode font in PCF format
37Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF
38Group: Fonts
39Requires(post,postun): fontpostinst
40Requires: %{_fontsdir}/misc
41Obsoletes: unifont
f41faa7e
ER
42%if "%{_rpmversion}" >= "5"
43BuildArch: noarch
44%endif
5b094f21 45
539001df 46%description -n fonts-misc-unifont
5b094f21
JB
47GNU Unifont is an official GNU package. It is a dual-width
48(8x16/16x16) bitmap font, designed to provide coverage for all of
49Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 50a glyph for each visible code point in the Unicode 7.0 Basic
5b094f21
JB
51Multilingual Plane (Plane 0).
52
53This package contains the font in PCF format.
54
539001df 55%description -n fonts-misc-unifont -l pl.UTF-8
5b094f21
JB
56GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
57szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
58warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 59zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
5b094f21
JB
60Multilingual Plane (Plane 0).
61
62Ten pakiet zawiera font w formacie PCF.
63
539001df 64%package -n fonts-TTF-unifont
5b094f21
JB
65Summary: GNU Unifont - Unicode font in PCF format
66Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF
67Group: Fonts
68Requires(post,postun): fontpostinst
69Requires: %{_fontsdir}/TTF
f41faa7e
ER
70%if "%{_rpmversion}" >= "5"
71BuildArch: noarch
72%endif
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
95Group: Fonts
96Requires: kbd
97
98%description console
99GNU Unifont is an official GNU package. It is a dual-width
100(8x16/16x16) bitmap font, designed to provide coverage for all of
101Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
e538609f 102a glyph for each visible code point in the Unicode 7.0 Basic
e17ae58b
JB
103Multilingual Plane (Plane 0).
104
105This package contains 512 glyph subset in PSF format for use with
106Linux console.
107
108%description console -l pl.UTF-8
109GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
110szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
111warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
e538609f 112zawiera glify dla wszystkich widocznych znaków Unicode 7.0 Basic
e17ae58b
JB
113Multilingual Plane (Plane 0).
114
115Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
116do używania na linuksowej konsoli.
117
5b094f21
JB
118%package tools
119Summary: GNU Unifont utility programs
120Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont
121Group: Development/Tools
122
123%description tools
124GNU Unifont utility programs.
125
126%description tools -l pl.UTF-8
127Programy narzędziowe dołączone do pakietu GNU Unifont.
8fe1eecf 128
78a735fd
JB
129%package viewer
130Summary: GNU Unifont viewer
131Summary(pl.UTF-8): Przeglądarka GNU Unifont
132Group: X11/Applications
133
134%description viewer
135GNU Unifont viewer based on wxWidgets Perl interface.
136
137%description viewer -l pl.UTF-8
138Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
139
4be14da3 140%prep
5b094f21 141%setup -q
4be14da3 142
8fe1eecf 143%build
539001df 144%{__make} -j1 \
5b094f21
JB
145 CC="%{__cc}" \
146 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
147 LDFLAGS="%{rpmldflags}"
8fe1eecf 148
149%install
150rm -rf $RPM_BUILD_ROOT
4be14da3 151
5b094f21
JB
152%{__make} install \
153 DESTDIR=$RPM_BUILD_ROOT \
154 USRDIR=usr \
e17ae58b 155 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
5b094f21
JB
156 PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
157 TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
158
159# source data not needed, docs packaged as %doc
160%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/unifont
cbda1465
JB
161# sample covering plane 0
162%{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
8fe1eecf 163
164%clean
165rm -rf $RPM_BUILD_ROOT
166
5b094f21 167%post -n fonts-misc-unifont
1cb0199c 168fontpostinst misc
8fe1eecf 169
5b094f21 170%postun -n fonts-misc-unifont
1cb0199c 171fontpostinst misc
8fe1eecf 172
5b094f21
JB
173%post -n fonts-TTF-unifont
174fontpostinst TTF
175
176%postun -n fonts-TTF-unifont
177fontpostinst TTF
178
179%files -n fonts-misc-unifont
180%defattr(644,root,root,755)
cbda1465 181%doc README
5b094f21 182%{_fontsdir}/misc/unifont.pcf.gz
e17ae58b 183%{_fontsdir}/misc/unifont_csur.pcf.gz
5b094f21
JB
184%{_mandir}/man5/unifont.5*
185
186%files -n fonts-TTF-unifont
187%defattr(644,root,root,755)
188%{_fontsdir}/TTF/unifont.ttf
e17ae58b
JB
189%{_fontsdir}/TTF/unifont_csur.ttf
190%{_fontsdir}/TTF/unifont_upper.ttf
191%{_fontsdir}/TTF/unifont_upper_csur.ttf
192
193%files console
194%defattr(644,root,root,755)
195/lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
5b094f21
JB
196
197%files tools
8fe1eecf 198%defattr(644,root,root,755)
5b094f21
JB
199%attr(755,root,root) %{_bindir}/bdfimplode
200%attr(755,root,root) %{_bindir}/hex2bdf
201%attr(755,root,root) %{_bindir}/hex2sfd
202%attr(755,root,root) %{_bindir}/hexbraille
203%attr(755,root,root) %{_bindir}/hexdraw
e17ae58b 204%attr(755,root,root) %{_bindir}/hexkinya
5b094f21
JB
205%attr(755,root,root) %{_bindir}/hexmerge
206%attr(755,root,root) %{_bindir}/johab2ucs2
207%attr(755,root,root) %{_bindir}/unibdf2hex
208%attr(755,root,root) %{_bindir}/unibmp2hex
209%attr(755,root,root) %{_bindir}/unicoverage
210%attr(755,root,root) %{_bindir}/unidup
211%attr(755,root,root) %{_bindir}/unifontchojung
212%attr(755,root,root) %{_bindir}/unifontksx
213%attr(755,root,root) %{_bindir}/unifontpic
214%attr(755,root,root) %{_bindir}/unigencircles
215%attr(755,root,root) %{_bindir}/unigenwidth
216%attr(755,root,root) %{_bindir}/unihex2bmp
cbda1465 217%attr(755,root,root) %{_bindir}/unihex2png
78a735fd 218%attr(755,root,root) %{_bindir}/unihexfill
5b094f21
JB
219%attr(755,root,root) %{_bindir}/unihexgen
220%attr(755,root,root) %{_bindir}/unipagecount
cbda1465 221%attr(755,root,root) %{_bindir}/unipng2hex
5b094f21
JB
222%{_mandir}/man1/bdfimplode.1*
223%{_mandir}/man1/hex2bdf.1*
224%{_mandir}/man1/hex2sfd.1*
225%{_mandir}/man1/hexbraille.1*
226%{_mandir}/man1/hexdraw.1*
e17ae58b 227%{_mandir}/man1/hexkinya.1*
5b094f21
JB
228%{_mandir}/man1/hexmerge.1*
229%{_mandir}/man1/johab2ucs2.1*
230%{_mandir}/man1/unibdf2hex.1*
231%{_mandir}/man1/unibmp2hex.1*
232%{_mandir}/man1/unicoverage.1*
233%{_mandir}/man1/unidup.1*
234%{_mandir}/man1/unifontchojung.1*
235%{_mandir}/man1/unifontksx.1*
236%{_mandir}/man1/unifontpic.1*
237%{_mandir}/man1/unigencircles.1*
238%{_mandir}/man1/unigenwidth.1*
239%{_mandir}/man1/unihex2bmp.1*
cbda1465 240%{_mandir}/man1/unihex2png.1*
e538609f 241%{_mandir}/man1/unihexfill.1*
5b094f21
JB
242%{_mandir}/man1/unihexgen.1*
243%{_mandir}/man1/unipagecount.1*
cbda1465 244%{_mandir}/man1/unipng2hex.1*
78a735fd 245
23464367 246%if %{with viewer}
78a735fd
JB
247%files viewer
248%defattr(644,root,root,755)
249%attr(755,root,root) %{_bindir}/unifont-viewer
23464367 250%endif
This page took 0.121264 seconds and 4 git commands to generate.