]>
Commit | Line | Data |
---|---|---|
7fd09d29 | 1 | # TODO: |
2 | # - pl description | |
3 | Summary: Free UCS font with various Unicode symbols | |
4 | Summary(pl.UTF-8): Wolnodostępny font UCS z różnymi symbolami unikodu | |
5 | Name: fonts-OTF-Symbola | |
6 | Version: 2.53 | |
7 | %define _ver %(echo %{version} | tr -d .) | |
8 | Release: 1 | |
9 | License: Freeware | |
10 | Group: Fonts | |
11 | Source0: http://users.teilar.gr/~g1951d/Symbola%{_ver}.zip | |
12 | # Source0-md5: 06554e9d579a954221f24b1842306fc5 | |
13 | URL: http://users.teilar.gr/~g1951d/ | |
e79f213b | 14 | BuildRequires: iconv |
7fd09d29 | 15 | BuildRequires: unzip |
16 | Requires(post,postun): fontpostinst | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %define otffontsdir %{_fontsdir}/OTF | |
21 | ||
22 | %description | |
23 | Symbola covers the following scripts and symbols supported by The | |
24 | Unicode Standard 5.2: | |
25 | ||
26 | Basic Latin, Latin-1 Supplement, Latin Extended-A, IPA Extensions, | |
27 | Spacing Modifier Letters, Greek and Coptic, Cyrillic, Cyrillic | |
28 | Supplementary, General Punctuation, Superscripts and Subscripts, | |
29 | Combining Diacritical Marks for Symbols, Letterlike Symbols, Number | |
30 | Forms, Arrows, Mathematical Operators, Miscellaneous Technical, | |
31 | Control Pictures, Optical Character Recognition, Box Drawing, Block | |
32 | Elements, Geometric Shapes, Miscellaneous Symbols, Dingbats, | |
33 | Miscellaneous Mathematical Symbols-A, Supplemental Arrows-A, | |
34 | Supplemental Arrows-B, Miscellaneous Mathematical Symbols-B, | |
35 | Supplemental Mathematical Operators, Miscellaneous Symbols and Arrows, | |
36 | Supplemental Punctuation, CJK Symbols and Punctuation, Yijing Hexagram | |
37 | Symbols, Vertical Forms, Combining Half Marks, CJK Compatibility | |
38 | Forms, Specials, Tai Xuan Jing Symbols, Counting Rod Numerals, | |
39 | Mathematical Alphanumeric Symbols, Mahjong Tile Symbols, Domino Tile | |
40 | Symbols. | |
41 | ||
42 | %prep | |
43 | %setup -qc | |
44 | ||
45 | %build | |
46 | for i in *.txt; do | |
47 | iconv -f utf16 -t utf8 < $i > $i. | |
48 | mv -f $i. $i | |
49 | done | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | install -d $RPM_BUILD_ROOT%{otffontsdir} | |
54 | ||
55 | install *.otf $RPM_BUILD_ROOT%{otffontsdir} | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | fontpostinst OTF | |
62 | ||
63 | %postun | |
64 | fontpostinst OTF | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc *.txt | |
69 | %{otffontsdir}/Symbola.otf |