]> git.pld-linux.org Git - packages/unifont.git/blame - unifont.spec
- updated to 7.0.06
[packages/unifont.git] / unifont.spec
CommitLineData
d7ad3529
ER
1#
2# Conditional build:
23464367
JR
3%bcond_with viewer # build unifont-viewer package, requires perl-Wx
4
78a735fd 5%include /usr/lib/rpm/macros.perl
5b094f21
JB
6Summary: GNU Unifont - Unicode bitmap font
7Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode
8fe1eecf 8Name: unifont
50c43191
JB
9Version: 7.0.06
10Release: 1
5b094f21 11License: GPL v2+ with GNU font embedding exception
0ec7b099 12Group: Fonts
5b094f21 13Source0: http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
50c43191 14# Source0-md5: e2f1afb52cbe659384c0764aede3cdbe
5b094f21 15URL: http://czyborra.com/unifont/
539001df 16BuildRequires: fontforge
78a735fd 17BuildRequires: rpm-perlprov
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
5b094f21
JB
120%package tools
121Summary: GNU Unifont utility programs
122Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont
123Group: Development/Tools
124
125%description tools
126GNU Unifont utility programs.
127
128%description tools -l pl.UTF-8
129Programy narzędziowe dołączone do pakietu GNU Unifont.
8fe1eecf 130
78a735fd
JB
131%package viewer
132Summary: GNU Unifont viewer
133Summary(pl.UTF-8): Przeglądarka GNU Unifont
134Group: X11/Applications
135
136%description viewer
137GNU Unifont viewer based on wxWidgets Perl interface.
138
139%description viewer -l pl.UTF-8
140Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
141
4be14da3 142%prep
5b094f21 143%setup -q
4be14da3 144
8fe1eecf 145%build
539001df 146%{__make} -j1 \
5b094f21
JB
147 CC="%{__cc}" \
148 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
149 LDFLAGS="%{rpmldflags}"
8fe1eecf 150
151%install
152rm -rf $RPM_BUILD_ROOT
4be14da3 153
5b094f21
JB
154%{__make} install \
155 DESTDIR=$RPM_BUILD_ROOT \
156 USRDIR=usr \
e17ae58b 157 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
5b094f21
JB
158 PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
159 TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
160
161# source data not needed, docs packaged as %doc
162%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/unifont
cbda1465
JB
163# sample covering plane 0
164%{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
8fe1eecf 165
166%clean
167rm -rf $RPM_BUILD_ROOT
168
5b094f21 169%post -n fonts-misc-unifont
1cb0199c 170fontpostinst misc
8fe1eecf 171
5b094f21 172%postun -n fonts-misc-unifont
1cb0199c 173fontpostinst misc
8fe1eecf 174
5b094f21
JB
175%post -n fonts-TTF-unifont
176fontpostinst TTF
177
178%postun -n fonts-TTF-unifont
179fontpostinst TTF
180
181%files -n fonts-misc-unifont
182%defattr(644,root,root,755)
cbda1465 183%doc README
5b094f21 184%{_fontsdir}/misc/unifont.pcf.gz
e17ae58b 185%{_fontsdir}/misc/unifont_csur.pcf.gz
5b094f21
JB
186%{_mandir}/man5/unifont.5*
187
188%files -n fonts-TTF-unifont
189%defattr(644,root,root,755)
190%{_fontsdir}/TTF/unifont.ttf
e17ae58b
JB
191%{_fontsdir}/TTF/unifont_csur.ttf
192%{_fontsdir}/TTF/unifont_upper.ttf
193%{_fontsdir}/TTF/unifont_upper_csur.ttf
194
195%files console
196%defattr(644,root,root,755)
197/lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
5b094f21
JB
198
199%files tools
8fe1eecf 200%defattr(644,root,root,755)
5b094f21
JB
201%attr(755,root,root) %{_bindir}/bdfimplode
202%attr(755,root,root) %{_bindir}/hex2bdf
203%attr(755,root,root) %{_bindir}/hex2sfd
204%attr(755,root,root) %{_bindir}/hexbraille
205%attr(755,root,root) %{_bindir}/hexdraw
e17ae58b 206%attr(755,root,root) %{_bindir}/hexkinya
5b094f21
JB
207%attr(755,root,root) %{_bindir}/hexmerge
208%attr(755,root,root) %{_bindir}/johab2ucs2
209%attr(755,root,root) %{_bindir}/unibdf2hex
210%attr(755,root,root) %{_bindir}/unibmp2hex
211%attr(755,root,root) %{_bindir}/unicoverage
212%attr(755,root,root) %{_bindir}/unidup
213%attr(755,root,root) %{_bindir}/unifontchojung
214%attr(755,root,root) %{_bindir}/unifontksx
215%attr(755,root,root) %{_bindir}/unifontpic
216%attr(755,root,root) %{_bindir}/unigencircles
217%attr(755,root,root) %{_bindir}/unigenwidth
218%attr(755,root,root) %{_bindir}/unihex2bmp
cbda1465 219%attr(755,root,root) %{_bindir}/unihex2png
78a735fd 220%attr(755,root,root) %{_bindir}/unihexfill
5b094f21
JB
221%attr(755,root,root) %{_bindir}/unihexgen
222%attr(755,root,root) %{_bindir}/unipagecount
cbda1465 223%attr(755,root,root) %{_bindir}/unipng2hex
5b094f21
JB
224%{_mandir}/man1/bdfimplode.1*
225%{_mandir}/man1/hex2bdf.1*
226%{_mandir}/man1/hex2sfd.1*
227%{_mandir}/man1/hexbraille.1*
228%{_mandir}/man1/hexdraw.1*
e17ae58b 229%{_mandir}/man1/hexkinya.1*
5b094f21
JB
230%{_mandir}/man1/hexmerge.1*
231%{_mandir}/man1/johab2ucs2.1*
232%{_mandir}/man1/unibdf2hex.1*
233%{_mandir}/man1/unibmp2hex.1*
234%{_mandir}/man1/unicoverage.1*
235%{_mandir}/man1/unidup.1*
236%{_mandir}/man1/unifontchojung.1*
237%{_mandir}/man1/unifontksx.1*
238%{_mandir}/man1/unifontpic.1*
239%{_mandir}/man1/unigencircles.1*
240%{_mandir}/man1/unigenwidth.1*
241%{_mandir}/man1/unihex2bmp.1*
cbda1465 242%{_mandir}/man1/unihex2png.1*
e538609f 243%{_mandir}/man1/unihexfill.1*
5b094f21
JB
244%{_mandir}/man1/unihexgen.1*
245%{_mandir}/man1/unipagecount.1*
cbda1465 246%{_mandir}/man1/unipng2hex.1*
78a735fd 247
23464367 248%if %{with viewer}
78a735fd
JB
249%files viewer
250%defattr(644,root,root,755)
251%attr(755,root,root) %{_bindir}/unifont-viewer
50c43191 252%{_mandir}/man1/unifont-viewer.1*
23464367 253%endif
This page took 0.078318 seconds and 4 git commands to generate.