]> git.pld-linux.org Git - SPECS.git/blob - intlfonts.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / intlfonts.spec
1 Summary:        GNU international fonts
2 Summary(pl.UTF-8):      Międzynarodowe fonty GNU
3 Name:           intlfonts
4 Version:        1.4.2
5 Release:        1
6 License:        GPL v3+ with exception
7 Group:          Fonts
8 Source0:        https://ftp.gnu.org/gnu/intlfonts/%{name}-%{version}.tar.gz
9 # Source0-md5:  28b394febfa611a9d431ea87d37c946f
10 Patch0:         %{name}-dirs.patch
11 URL:            https://directory.fsf.org/wiki/GNU/intlfonts
12 BuildRequires:  xorg-app-bdftopcf
13 BuildRequires:  xorg-app-mkfontdir
14 BuildRequires:  t1utils
15 BuildRequires:  type1inst
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         ttffontsdir     %{_fontsdir}/TTF
20 %define         t1fontsdir      %{_fontsdir}/Type1
21 %define         t1afmdir        %{t1fontsdir}/afm
22
23 %description
24 This package contains some common used fonts.
25
26 %description -l pl.UTF-8
27 Ten pakiet zawiera trochę powszechnie używanych fontów.
28
29 %package arabic
30 Summary:        International fonts for X -- Arabic
31 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - arabskie
32 Group:          Fonts
33 Requires(post,postun):  fontpostinst
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       %{_fontsdir}/Misc
36
37 %description arabic
38 This package includes some Arabic fonts (digits and single and double
39 column).
40
41 %description arabic -l pl.UTF-8
42 Ten pakiet zawiera trochę arabskich fontów (cyfry i pojedyncze oraz
43 podwójne kolumny).
44
45 %package asian
46 Summary:        International fonts for X -- Asian
47 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - azjatyckie
48 Group:          Fonts
49 Requires(post,postun):  fontpostinst
50
51 %description asian
52 This package includes some Vietnamese, Indian, Lao, and Thai fonts.
53
54 %description asian -l pl.UTF-8
55 Ten pakiet zawiera trochę fontów wietnamskich, indyjskich, laoskich i
56 tajskich.
57
58 %package chinese
59 Summary:        International fonts for X -- Chinese
60 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - chińskie
61 Group:          Fonts
62 Requires(post,postun):  fontpostinst
63
64 %description chinese
65 This package includes some GB2312, GB8565-88, BIG5 (ETen), and SiSheng
66 Chinese fonts.
67
68 %description chinese -l pl.UTF-8
69 Ten pakiet zawiera trochę chińskich fontów GB2312, GB8565-88, BIG5
70 (ETen) oraz SiSheng.
71
72 %package ethiopic
73 Summary:        International fonts for X -- Ethiopic
74 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - etiopskie
75 Group:          Fonts
76 Requires(post,postun):  fontpostinst
77
78 %description ethiopic
79 This package includes Unicode Ethiopic fonts.
80
81 %description ethiopic -l pl.UTF-8
82 Ten pakiet zawiera unikodowe fonty etiopskie.
83
84 %package european
85 Summary:        International fonts for X -- European
86 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - europejskie
87 Group:          Fonts
88 Requires(post,postun):  fontpostinst
89
90 %description european
91 This package includes some ISO 8859-1 (Latin-1), ISO 8859-2 (Latin-2),
92 ISO 8859-3 (Latin-3), ISO 8859-4 (Latin-4), ISO 8859-5 (Cyrillic),
93 ISO 8859-7 (Greek), ISO 8859-8 (Hebrew), ISO 8859-9 (Latin-5), and KOI
94 (Cyrillic) fonts.  Also one ISO 8859-1 big font is included.
95
96 %description european -l pl.UTF-8
97 Ten pakiet zawiera trochę fontów ISO 8859-1 (Latin-1), ISO 8859-2
98 (Latin-2), ISO 8859-3 (Latin-3), ISO 8859-4 (Latin-4), ISO 8859-5
99 (cyrilica), ISO 8859-7 (greckie), ISO 8859-8 (hebrajkie), ISO 8859-9
100 (Latin-5) oraz KOI (cyrylica). Jest też dołączony jeden duży font ISO
101 8859-1.
102
103 %package hebrew
104 Summary:        International fonts for X -- Hebrew
105 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - hebrajskie
106 Group:          Fonts
107 Requires(post,postun):  fontpostinst
108 Requires:       %{name} = %{version}-%{release}
109 Requires:       %{_fontsdir}/Misc
110
111 %description hebrew
112 This package includes some Hebrew fonts.
113
114 %description hebrew -l pl.UTF-8
115 Ten pakiet zawiera trochę fontów hebrajskich.
116
117 %package japanese
118 Summary:        International fonts for X -- Japanese
119 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - japońskie
120 Group:          Fonts
121 Requires(post,postun):  fontpostinst
122
123 %description japanese
124 This package includes some JISX0208.1990, JISX0208.1978, JISX0212.1990
125 (HojoKanji), JISX0208.1983, and JISX0201 (Roman & Kana) Japanese
126 fonts.
127
128 %description japanese -l pl.UTF-8
129 Ten pakiet zawiera trochę japońskich fontów JISX0208.1990,
130 JISX0208.1978, JISX0212.1990 (HojoKanji), JISX0208.1983 oraz JISX0201
131 (Roman i Kana).
132
133 %package korean
134 Summary:        International fonts for X -- Korean
135 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - koreańskie
136 Group:          Fonts
137 Requires(post,postun):  fontpostinst
138
139 %description korean
140 This package includes some KSC5601 Korean fonts.
141
142 %description korean -l pl.UTF-8
143 Ten pakiet zawiera trochę koreańskich fontów KSC5601.
144
145 %package phonetic
146 Summary:        International fonts for X -- Phonetic Alphabet
147 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - alfabet fonetyczny
148 Group:          Fonts
149 Requires(post,postun):  fontpostinst
150 Requires:       %{name} = %{version}-%{release}
151 Requires:       %{_fontsdir}/Misc
152
153 %description phonetic
154 This package includes some fonts of International Phonetic Alphabet.
155
156 %description phonetic -l pl.UTF-8
157 Ten pakiet zawiera trochę fontów dla międzynarodowego alfabetu
158 fonetycznego.
159
160 %package TrueType
161 Summary:        International fonts for X -- TrueType
162 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - TrueType
163 Group:          Fonts
164 Requires(post,postun):  fontpostinst
165 Requires:       %{_fontsdir}/TTF
166
167 %description TrueType
168 This package includes some TrueType fonts.
169
170 %description TrueType -l pl.UTF-8
171 Ten pakiet zawiera trochę fontów TrueType.
172
173 %package Type1
174 Summary:        International fonts for X -- Type1
175 Summary(pl.UTF-8):      Międzynarodowe fonty dla X - Type1
176 Group:          Fonts
177 Requires(post,postun):  fontpostinst >= 0.1-6
178 Requires:       %{_fontsdir}/Type1
179
180 %description Type1
181 This package includes some Type1 fonts.
182
183 %description Type1 -l pl.UTF-8
184 Ten pakiet zawiera trochę fontów Type1.
185
186 %package emacs
187 Summary:        Fonts to allow multi-lingual PostScript printing from Emacs
188 Summary(pl.UTF-8):      Fonty pozwalające na drukowanie wielojęzycznego PostScriptu z Emacsa
189 Group:          Applications/Editors/Emacs
190 Requires:       emacs-common
191
192 %description emacs
193 This package includes BDF fonts to print Amharic, Arabic, Cantonese,
194 Chinese, Czech, Danish, Esperanto, Estonian, Finnish, French, German,
195 Greek, Hebrew, Hindi, Italian, Japanese, Korean, Maltese, Nederlands,
196 Norwegian, Polish, Russian, Slovak, Spanish, Swedish, Thai, Tigrigna,
197 Turkish and Vietnamese text as bit-mapped PostScript.  To see these
198 languages in X, you can use the intlfonts-* packages (among others).
199
200 %description emacs -l pl.UTF-8
201 Ten pakiet zawiera fonty BDF pozwalające na drukowanie do bitmapowego
202 PostScriptu tekstów w językach: amharskim, arabskim, kantońskim,
203 chińskim, czeskim, duńskim, esperanto, estońskim, fińskim, francuskim,
204 niemieckim, greckim, hebrajskim, hindi, włoskim, japońskim,
205 koreańskim, maltańskim, holenderskim, norweskim, polskim, rosyjskim,
206 słowackim, hiszpańskim, szwedzkim, tajskim, tigrinia, tureckim i
207 wietnamskim. Aby zobaczyć te języki pod X, można użyć pakietów
208 intlfonts-* (i innych).
209
210 %prep
211 %setup -q
212 %patch0 -p1
213
214 %{__mv} Chinese.X/README{,.X}
215 %{__mv} European.BIG/README{,.BIG}
216 %{__mv} Japanese.BIG/README{,.BIG}
217 %{__mv} Japanese.X/README{,.X}
218 %{__mv} Misc/README{,.Misc}
219
220 %build
221 %configure \
222         --enable-compress \
223         --with-fontdir=%{_fontsdir} \
224         --with-truetype \
225         --with-type1 \
226         --without-bdf
227
228 %install
229 rm -rf $RPM_BUILD_ROOT
230 install -d $RPM_BUILD_ROOT%{_datadir}/emacs/fonts/bdf
231
232 %{__make} install \
233         DESTDIR=$RPM_BUILD_ROOT
234
235 install -d $RPM_BUILD_ROOT%{t1afmdir}
236 %{__mv} $RPM_BUILD_ROOT%{t1fontsdir}/*.afm $RPM_BUILD_ROOT%{t1afmdir}
237 %{__rm} $RPM_BUILD_ROOT%{t1fontsdir}/*.pfa
238
239 %{__mv} $RPM_BUILD_ROOT%{_fontsdir}/TrueType $RPM_BUILD_ROOT%{ttffontsdir}
240
241 cd $RPM_BUILD_ROOT%{t1fontsdir}
242 /usr/bin/type1inst
243 tail -n +2 fonts.scale > fonts.scale.intl
244 %{__mv} Fontmap Fontmap.intl
245 %{__rm} fonts.dir fonts.scale type1inst.log
246 cd -
247
248 touch $RPM_BUILD_ROOT%{_fontsdir}/{Misc,Asian,Chinese,Ethiopic,European,Japanese,Korean}/fonts.dir
249
250 cp -p `find -name '*.bdf'` $RPM_BUILD_ROOT%{_datadir}/emacs/fonts/bdf
251
252 %clean
253 rm -rf $RPM_BUILD_ROOT
254
255 %post arabic
256 fontpostinst misc %{_fontsdir}/Misc
257
258 %postun arabic
259 fontpostinst misc %{_fontsdir}/Misc
260
261 %post asian
262 fontpostinst misc %{_fontsdir}/Asian
263
264 %postun asian
265 fontpostinst misc %{_fontsdir}/Asian
266
267 %post chinese
268 fontpostinst misc %{_fontsdir}/Chinese
269
270 %postun chinese
271 fontpostinst misc %{_fontsdir}/Chinese
272
273 %post ethiopic
274 fontpostinst misc %{_fontsdir}/Ethiopic
275
276 %postun ethiopic
277 fontpostinst misc %{_fontsdir}/Ethiopic
278
279 %post european
280 fontpostinst misc %{_fontsdir}/European
281
282 %postun european
283 fontpostinst misc %{_fontsdir}/European
284
285 %post hebrew
286 fontpostinst misc %{_fontsdir}/Misc
287
288 %postun hebrew
289 fontpostinst misc %{_fontsdir}/Misc
290
291 %post japanese
292 fontpostinst misc %{_fontsdir}/Japanese
293
294 %postun japanese
295 fontpostinst misc %{_fontsdir}/Japanese
296
297 %post korean
298 fontpostinst misc %{_fontsdir}/Korean
299
300 %postun korean
301 fontpostinst misc %{_fontsdir}/Korean
302
303 %post phonetic
304 fontpostinst misc %{_fontsdir}/Misc
305
306 %postun phonetic
307 fontpostinst misc %{_fontsdir}/Misc
308
309 %post TrueType
310 fontpostinst TTF
311
312 %postun TrueType
313 fontpostinst TTF
314
315 %post Type1
316 fontpostinst Type1
317
318 %postun Type1
319 fontpostinst Type1
320
321 %files
322 %defattr(644,root,root,755)
323 %doc ChangeLog NEWS README Misc/README.Misc
324 %dir %{_fontsdir}/Misc
325 %{_fontsdir}/Misc/bmp16-etl.pcf.gz
326 %ghost %{_fontsdir}/Misc/fonts.dir
327
328 %files arabic
329 %defattr(644,root,root,755)
330 %{_fontsdir}/Misc/arab*-*-etl.pcf.gz
331
332 %files asian
333 %defattr(644,root,root,755)
334 %doc Asian/README
335 %dir %{_fontsdir}/Asian
336 %{_fontsdir}/Asian/ind*-mule.pcf.gz
337 %{_fontsdir}/Asian/ind*-uni.pcf.gz
338 %{_fontsdir}/Asian/isci*-mule.pcf.gz
339 %{_fontsdir}/Asian/lao*-mule.pcf.gz
340 %{_fontsdir}/Asian/thai*.pcf.gz
341 %{_fontsdir}/Asian/tib*-mule.pcf.gz
342 %{_fontsdir}/Asian/visc*-etl.pcf.gz
343 %{_fontsdir}/Asian/xtis*.pcf.gz
344 %{_fontsdir}/Asian/fonts.alias
345 %ghost %{_fontsdir}/Asian/fonts.dir
346
347 %files chinese
348 %defattr(644,root,root,755)
349 %doc Chinese/README Chinese.X/README.X
350 %dir %{_fontsdir}/Chinese
351 %{_fontsdir}/Chinese/gb*.pcf.gz
352 %{_fontsdir}/Chinese/guob*.pcf.gz
353 %{_fontsdir}/Chinese/sish*-etl.pcf.gz
354 %{_fontsdir}/Chinese/taipei*.pcf.gz
355 %{_fontsdir}/Chinese/fonts.alias
356 %ghost %{_fontsdir}/Chinese/fonts.dir
357
358 %files ethiopic
359 %defattr(644,root,root,755)
360 %doc Ethiopic/README
361 %dir %{_fontsdir}/Ethiopic
362 %{_fontsdir}/Ethiopic/ethio*-uni.pcf.gz
363 %ghost %{_fontsdir}/Ethiopic/fonts.dir
364
365 %files european
366 %defattr(644,root,root,755)
367 %doc European/README European.BIG/README.BIG
368 %dir %{_fontsdir}/European
369 %{_fontsdir}/European/cyr*-etl.pcf.gz
370 %{_fontsdir}/European/grk*-etl.pcf.gz
371 %{_fontsdir}/European/koi*-etl.pcf.gz
372 %{_fontsdir}/European/lt1-*.pcf.gz
373 %{_fontsdir}/European/lt2-*-etl.pcf.gz
374 %{_fontsdir}/European/lt3-*-etl.pcf.gz
375 %{_fontsdir}/European/lt4-*-etl.pcf.gz
376 %{_fontsdir}/European/lt5-*-etl.pcf.gz
377 %{_fontsdir}/European/fonts.alias
378 %ghost %{_fontsdir}/European/fonts.dir
379
380 %files hebrew
381 %defattr(644,root,root,755)
382 %{_fontsdir}/Misc/heb*-etl.pcf.gz
383
384 %files japanese
385 %defattr(644,root,root,755)
386 %doc Japanese/README Japanese.BIG/README.BIG Japanese.X/README.X
387 %dir %{_fontsdir}/Japanese
388 %{_fontsdir}/Japanese/*x*rk.pcf.gz
389 %{_fontsdir}/Japanese/a18rk*.pcf.gz
390 %{_fontsdir}/Japanese/j*-*.pcf.gz
391 %{_fontsdir}/Japanese/jiskan*.pcf.gz
392 %{_fontsdir}/Japanese/jksp*.pcf.gz
393 %{_fontsdir}/Japanese/k14.pcf.gz
394 %{_fontsdir}/Japanese/fonts.alias
395 %ghost %{_fontsdir}/Japanese/fonts.dir
396
397 %files korean
398 %defattr(644,root,root,755)
399 %doc Korean.X/README
400 %dir %{_fontsdir}/Korean
401 %{_fontsdir}/Korean/hangl*.pcf.gz
402 %ghost %{_fontsdir}/Korean/fonts.dir
403
404 %files phonetic
405 %defattr(644,root,root,755)
406 %{_fontsdir}/Misc/ipa*-etl.pcf.gz
407
408 %files TrueType
409 %defattr(644,root,root,755)
410 %doc TrueType/README
411 %{_fontsdir}/TTF/lt1-*-omega-serif.ttf
412 %{_fontsdir}/TTF/lt2-*-omega-serif.ttf
413 %{_fontsdir}/TTF/lt3-*-omega-serif.ttf
414 %{_fontsdir}/TTF/lt4-*-omega-serif.ttf
415 %{_fontsdir}/TTF/lt5-*-omega-serif.ttf
416 %{_fontsdir}/TTF/viscii-omega-serif.ttf
417
418 %files Type1
419 %defattr(644,root,root,755)
420 %doc Type1/README
421 %{_fontsdir}/Type1/lt1-*-omega-serif.pfb
422 %{_fontsdir}/Type1/lt2-*-omega-serif.pfb
423 %{_fontsdir}/Type1/lt3-*-omega-serif.pfb
424 %{_fontsdir}/Type1/lt4-*-omega-serif.pfb
425 %{_fontsdir}/Type1/lt5-*-omega-serif.pfb
426 %{_fontsdir}/Type1/nf3*.pfb
427 %{_fontsdir}/Type1/tis620-*-omega-serif.pfb
428 %{_fontsdir}/Type1/viscii-*-omega-serif.pfb
429 %{_fontsdir}/Type1/Fontmap.intl
430 %{_fontsdir}/Type1/fonts.scale.intl
431 %{_fontsdir}/Type1/afm/lt1-*-omega-serif.afm
432 %{_fontsdir}/Type1/afm/lt2-*-omega-serif.afm
433 %{_fontsdir}/Type1/afm/lt3-*-omega-serif.afm
434 %{_fontsdir}/Type1/afm/lt4-*-omega-serif.afm
435 %{_fontsdir}/Type1/afm/lt5-*-omega-serif.afm
436 %{_fontsdir}/Type1/afm/nf3*.afm
437 %{_fontsdir}/Type1/afm/tis620-*-omega-serif.afm
438 %{_fontsdir}/Type1/afm/viscii-*-omega-serif.afm
439
440 %files emacs
441 %defattr(644,root,root,755)
442 %{_datadir}/emacs/fonts
This page took 0.128409 seconds and 3 git commands to generate.