]> git.pld-linux.org Git - packages/unifont.git/blame_incremental - unifont.spec
- updated to 7.0.02
[packages/unifont.git] / unifont.spec
... / ...
CommitLineData
1%include /usr/lib/rpm/macros.perl
2Summary: GNU Unifont - Unicode bitmap font
3Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode
4Name: unifont
5Version: 7.0.02
6Release: 1
7License: GPL v2+ with GNU font embedding exception
8Group: Fonts
9Source0: http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: 1090eec043ebba4235d4f72fa97843a0
11URL: http://czyborra.com/unifont/
12BuildRequires: fontforge
13BuildRequires: rpm-perlprov
14BuildRequires: xorg-app-bdftopcf
15Requires(post,postun): fontpostinst
16Requires: %{_fontsdir}/misc
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
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).
25
26%description -l pl.UTF-8
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
33%package -n fonts-misc-unifont
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
40%if "%{_rpmversion}" >= "5"
41BuildArch: noarch
42%endif
43
44%description -n fonts-misc-unifont
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
53%description -n fonts-misc-unifont -l pl.UTF-8
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
62%package -n fonts-TTF-unifont
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
68%if "%{_rpmversion}" >= "5"
69BuildArch: noarch
70%endif
71
72%description -n fonts-TTF-unifont
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
81%description -n fonts-TTF-unifont -l pl.UTF-8
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
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
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.
126
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
138%prep
139%setup -q
140
141%build
142%{__make} -j1 \
143 CC="%{__cc}" \
144 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \
145 LDFLAGS="%{rpmldflags}"
146
147%install
148rm -rf $RPM_BUILD_ROOT
149
150%{__make} install \
151 DESTDIR=$RPM_BUILD_ROOT \
152 USRDIR=usr \
153 CONSOLEDEST=$RPM_BUILD_ROOT/lib/kbd/consolefonts \
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
159# sample covering plane 0
160%{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
161
162%clean
163rm -rf $RPM_BUILD_ROOT
164
165%post -n fonts-misc-unifont
166fontpostinst misc
167
168%postun -n fonts-misc-unifont
169fontpostinst misc
170
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)
179%doc README
180%{_fontsdir}/misc/unifont.pcf.gz
181%{_fontsdir}/misc/unifont_csur.pcf.gz
182%{_mandir}/man5/unifont.5*
183
184%files -n fonts-TTF-unifont
185%defattr(644,root,root,755)
186%{_fontsdir}/TTF/unifont.ttf
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
194
195%files tools
196%defattr(644,root,root,755)
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
202%attr(755,root,root) %{_bindir}/hexkinya
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
215%attr(755,root,root) %{_bindir}/unihex2png
216%attr(755,root,root) %{_bindir}/unihexfill
217%attr(755,root,root) %{_bindir}/unihexgen
218%attr(755,root,root) %{_bindir}/unipagecount
219%attr(755,root,root) %{_bindir}/unipng2hex
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*
225%{_mandir}/man1/hexkinya.1*
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*
238%{_mandir}/man1/unihex2png.1*
239%{_mandir}/man1/unihexgen.1*
240%{_mandir}/man1/unipagecount.1*
241%{_mandir}/man1/unipng2hex.1*
242
243%files viewer
244%defattr(644,root,root,755)
245%attr(755,root,root) %{_bindir}/unifont-viewer
This page took 0.026185 seconds and 4 git commands to generate.