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