]>
Commit | Line | Data |
---|---|---|
bcae40e2 | 1 | Summary: Free TrueType font for the Yi script |
2 | Summary(pl.UTF-8): Wolnodostępny font TrueType dla pisma yi | |
3 | Name: fonts-TTF-Sil-Nuosu | |
4 | Version: 2.1.1 | |
5 | Release: 1 | |
6 | License: SIL OFL, distributable | |
7 | Group: Fonts | |
8 | # Source0Download: http://scripts.sil.org/cms/SCRIPTs/render_download.php?site_id=nrsi&format=file&media_id=NuosuSIL2.1.1.zip&filename=NuosuSIL2.1.1.zip | |
9 | Source0: NuosuSIL%{version}.zip | |
10 | # Source0-md5: 50570ee6e8d5a8f338ab7d95f3c9eee5 | |
11 | URL: http://scripts.sil.org/cms/SCRIPTs/page.php?site_id=nrsi&item_id=SILYI_home | |
12 | BuildRequires: unzip | |
13 | Requires(post,postun): fontpostinst | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define ttffontsdir %{_fontsdir}/TTF | |
18 | ||
19 | %description | |
20 | The Nuosu SIL Font is a single Unicode font for the standardized Yi | |
21 | script used by a large ethnic group in southwestern China. | |
22 | ||
23 | %prep | |
24 | %setup -q -n NuosuSIL | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT%{ttffontsdir} | |
29 | ||
30 | install *.ttf $RPM_BUILD_ROOT%{ttffontsdir} | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %post | |
36 | fontpostinst TTF | |
37 | ||
38 | %postun | |
39 | fontpostinst TTF | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc *.txt | |
44 | %{ttffontsdir}/NuosuSIL.ttf |