]> git.pld-linux.org Git - packages/unifont.git/blob - unifont.spec
- updated to 7.0.02
[packages/unifont.git] / unifont.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        GNU Unifont - Unicode bitmap font
3 Summary(pl.UTF-8):      GNU Unifont - font bitmapowy Unicode
4 Name:           unifont
5 Version:        7.0.02
6 Release:        1
7 License:        GPL v2+ with GNU font embedding exception
8 Group:          Fonts
9 Source0:        http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  1090eec043ebba4235d4f72fa97843a0
11 URL:            http://czyborra.com/unifont/
12 BuildRequires:  fontforge
13 BuildRequires:  rpm-perlprov
14 BuildRequires:  xorg-app-bdftopcf
15 Requires(post,postun):  fontpostinst
16 Requires:       %{_fontsdir}/misc
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 GNU Unifont is an official GNU package. It is a dual-width
21 (8x16/16x16) bitmap font, designed to provide coverage for all of
22 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
23 a glyph for each visible code point in the Unicode 6.3 Basic
24 Multilingual Plane (Plane 0).
25
26 %description -l pl.UTF-8
27 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
28 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
29 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
30 zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic
31 Multilingual Plane (Plane 0).
32
33 %package -n fonts-misc-unifont
34 Summary:        GNU Unifont - Unicode font in PCF format
35 Summary(pl.UTF-8):      GNU Unifont - font Unicode w formacie PCF
36 Group:          Fonts
37 Requires(post,postun):  fontpostinst
38 Requires:       %{_fontsdir}/misc
39 Obsoletes:      unifont
40 %if "%{_rpmversion}" >= "5"
41 BuildArch:      noarch
42 %endif
43
44 %description -n fonts-misc-unifont
45 GNU Unifont is an official GNU package. It is a dual-width
46 (8x16/16x16) bitmap font, designed to provide coverage for all of
47 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
48 a glyph for each visible code point in the Unicode 6.3 Basic
49 Multilingual Plane (Plane 0).
50
51 This package contains the font in PCF format.
52
53 %description -n fonts-misc-unifont -l pl.UTF-8
54 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
55 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
56 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
57 zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic
58 Multilingual Plane (Plane 0).
59
60 Ten pakiet zawiera font w formacie PCF.
61
62 %package -n fonts-TTF-unifont
63 Summary:        GNU Unifont - Unicode font in PCF format
64 Summary(pl.UTF-8):      GNU Unifont - font Unicode w formacie PCF
65 Group:          Fonts
66 Requires(post,postun):  fontpostinst
67 Requires:       %{_fontsdir}/TTF
68 %if "%{_rpmversion}" >= "5"
69 BuildArch:      noarch
70 %endif
71
72 %description -n fonts-TTF-unifont
73 GNU Unifont is an official GNU package. It is a dual-width
74 (8x16/16x16) bitmap font, designed to provide coverage for all of
75 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
76 a glyph for each visible code point in the Unicode 6.3 Basic
77 Multilingual Plane (Plane 0).
78
79 This package contains the font in TTF format.
80
81 %description -n fonts-TTF-unifont -l pl.UTF-8
82 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
83 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
84 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
85 zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic
86 Multilingual Plane (Plane 0).
87
88 Ten pakiet zawiera font w formacie TTF.
89
90 %package console
91 Summary:        GNU Unifont - Unicode font in PSF format
92 Summary(pl.UTF-8):      GNU Unifont - font Unicode w formacie PSF
93 Group:          Fonts
94 Requires:       kbd
95
96 %description console
97 GNU Unifont is an official GNU package. It is a dual-width
98 (8x16/16x16) bitmap font, designed to provide coverage for all of
99 Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has
100 a glyph for each visible code point in the Unicode 6.3 Basic
101 Multilingual Plane (Plane 0).
102
103 This package contains 512 glyph subset in PSF format for use with
104 Linux console.
105
106 %description console -l pl.UTF-8
107 GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej
108 szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości
109 warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja
110 zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic
111 Multilingual Plane (Plane 0).
112
113 Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
114 do używania na linuksowej konsoli.
115
116 %package tools
117 Summary:        GNU Unifont utility programs
118 Summary(pl.UTF-8):      Programy narzędziowe dołączone do pakietu GNU Unifont
119 Group:          Development/Tools
120
121 %description tools
122 GNU Unifont utility programs.
123
124 %description tools -l pl.UTF-8
125 Programy narzędziowe dołączone do pakietu GNU Unifont.
126
127 %package viewer
128 Summary:        GNU Unifont viewer
129 Summary(pl.UTF-8):      Przeglądarka GNU Unifont
130 Group:          X11/Applications
131
132 %description viewer
133 GNU Unifont viewer based on wxWidgets Perl interface.
134
135 %description viewer -l pl.UTF-8
136 Przeglą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
148 rm -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
163 rm -rf $RPM_BUILD_ROOT
164
165 %post   -n fonts-misc-unifont
166 fontpostinst misc
167
168 %postun -n fonts-misc-unifont
169 fontpostinst misc
170
171 %post   -n fonts-TTF-unifont
172 fontpostinst TTF
173
174 %postun -n fonts-TTF-unifont
175 fontpostinst 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.113761 seconds and 4 git commands to generate.