]> git.pld-linux.org Git - packages/fonts-OTF-Aegyptus.git/blob - fonts-OTF-Aegyptus.spec
- BR: iconv
[packages/fonts-OTF-Aegyptus.git] / fonts-OTF-Aegyptus.spec
1 Summary:        Free UCS font for Egyptian hieroglyphs
2 Summary(pl.UTF-8):      WolnodostÄ™pny font UCS dla hieroglifów egipskich
3 Name:           fonts-OTF-Aegyptus
4 Version:        3.11
5 %define _ver    %(echo %{version} | tr -d .)
6 Release:        1
7 License:        Freeware
8 Group:          Fonts
9 Source0:        http://users.teilar.gr/~g1951d/Aegyptus%{_ver}.zip
10 # Source0-md5:  de9426b4fbed2ce23d6121effce36ba9
11 URL:            http://users.teilar.gr/~g1951d/
12 BuildRequires:  iconv
13 BuildRequires:  unzip
14 Requires(post,postun):  fontpostinst
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         otffontsdir     %{_fontsdir}/OTF
19
20 %description
21 The Aegyptus font encodes some 7100 Egyptian Hieroglyphs, all with a
22 graphical representation. The main sources of glyphs are Hieroglyphica
23 <http://www.ccer.nl/product8.html> and the work of Alan Gardiner
24 <http://std.dkuug.dk/JTC1/SC2/WG2/docs/n3182.pdf>. Egyptian
25 Hieroglyphs are allocated in the Supplementary Private Use Plane 15,
26 for the lack of a standard. The font also covers Basic Latin, Egyptian
27 Transliteration characters, Meroitic, some Punctuation and other
28 Symbols and the Gardiner set of Egyptian Hieroglyphs supported by The
29 Unicode Standard 5.2
30
31 %%description -l pl.UTF-8
32 #TODO
33
34 %prep
35 %setup -q -c
36
37 %build
38 for i in *.txt; do
39         iconv -f utf16 -t utf8 < $i > $i.
40         mv -f $i. $i
41 done
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{otffontsdir}
46
47 install *.otf $RPM_BUILD_ROOT%{otffontsdir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post
53 fontpostinst OTF
54
55 %postun
56 fontpostinst OTF
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.txt
61 %{otffontsdir}/Aegyptus.otf
This page took 0.100401 seconds and 3 git commands to generate.