]> git.pld-linux.org Git - packages/fonts-OTF-Symbola.git/blob - fonts-OTF-Symbola.spec
- initial
[packages/fonts-OTF-Symbola.git] / fonts-OTF-Symbola.spec
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/
14 BuildRequires:  unzip
15 Requires(post,postun):  fontpostinst
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         otffontsdir     %{_fontsdir}/OTF
20
21 %description
22 Symbola covers the following scripts and symbols supported by The
23 Unicode Standard 5.2:
24
25 Basic Latin, Latin-1 Supplement, Latin Extended-A, IPA Extensions,
26 Spacing Modifier Letters, Greek and Coptic, Cyrillic, Cyrillic
27 Supplementary, General Punctuation, Superscripts and Subscripts,
28 Combining Diacritical Marks for Symbols, Letterlike Symbols, Number
29 Forms, Arrows, Mathematical Operators, Miscellaneous Technical,
30 Control Pictures, Optical Character Recognition, Box Drawing, Block
31 Elements, Geometric Shapes, Miscellaneous Symbols, Dingbats,
32 Miscellaneous Mathematical Symbols-A, Supplemental Arrows-A,
33 Supplemental Arrows-B, Miscellaneous Mathematical Symbols-B,
34 Supplemental Mathematical Operators, Miscellaneous Symbols and Arrows,
35 Supplemental Punctuation, CJK Symbols and Punctuation, Yijing Hexagram
36 Symbols, Vertical Forms, Combining Half Marks, CJK Compatibility
37 Forms, Specials, Tai Xuan Jing Symbols, Counting Rod Numerals,
38 Mathematical Alphanumeric Symbols, Mahjong Tile Symbols, Domino Tile
39 Symbols.
40
41 %prep
42 %setup -qc
43
44 %build
45 for i in *.txt; do
46         iconv -f utf16 -t utf8 < $i > $i.
47         mv -f $i. $i
48 done
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{otffontsdir}
53
54 install *.otf $RPM_BUILD_ROOT%{otffontsdir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 fontpostinst OTF
61
62 %postun
63 fontpostinst OTF
64
65 %files
66 %defattr(644,root,root,755)
67 %doc *.txt
68 %{otffontsdir}/Symbola.otf
This page took 0.06978 seconds and 3 git commands to generate.