]>
Commit | Line | Data |
---|---|---|
1 | %define ver %(echo %{version} | tr . _) | |
2 | Summary: Free TrueType font for Tai Viet script | |
3 | Summary(pl.UTF-8): Wolnodostępny font TrueType dla pisma taj viet | |
4 | Name: fonts-TTF-Sil-TaiHeritagePro | |
5 | Version: 2.0 | |
6 | Release: 1 | |
7 | License: SIL OFL, distributable | |
8 | Group: Fonts | |
9 | # Source0Download: http://scripts.sil.org/cms/SCRIPTs/render_download.php?site_id=nrsi&format=file&media_id=TaiHeritagePro2_0.zip&filename=TaiHeritagePro2_0.zip | |
10 | Source0: TaiHeritagePro%{ver}.zip | |
11 | # Source0-md5: c8bdd7f921cdca75fff89e8ea1a078fa | |
12 | URL: http://scripts.sil.org/cms/SCRIPTs/page.php?site_id=nrsi&item_id=TaiHeritage | |
13 | BuildRequires: unzip | |
14 | Requires(post,postun): fontpostinst | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define ttffontsdir %{_fontsdir}/TTF | |
19 | ||
20 | %description | |
21 | Padauk is a fully capable Unicode 5.1 font supporting all the Myanmar | |
22 | characters in the standard. Thus it provides support for minority | |
23 | languages as well, in both local and Burmese rendering style. | |
24 | ||
25 | %prep | |
26 | %setup -q -c | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | install -d $RPM_BUILD_ROOT%{ttffontsdir} | |
31 | cp -a *.ttf $RPM_BUILD_ROOT%{ttffontsdir} | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %post | |
37 | fontpostinst TTF | |
38 | ||
39 | %postun | |
40 | fontpostinst TTF | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc doc/* | |
45 | %{ttffontsdir}/TaiHeritagePro.ttf |