]>
Commit | Line | Data |
---|---|---|
c33d8ff0 | 1 | %define _font_name Nafees_Tahreer_Naskh |
2 | Summary: Free font from Center for Research in Urdu Language Processing | |
3 | Summary(pl.UTF-8): Wolnodostępna czcionka z Centrum Badań nad Przetwarzaniem Języka Urdu | |
4 | Name: fonts-TTF-CRULP-Nafees_Tahreer_Naskh | |
5 | Version: 1.0 | |
6 | Release: 0.1 | |
7 | License: MPL-like | |
8 | Group: Fonts | |
9 | Source0: http://www.crulp.org/Downloads/localization/fonts/NafeesTahreerNaskh/%{_font_name}_v%{version}.zip | |
10 | # Source0-md5: dfc4a1112cf1463cd90e525175146ccc | |
11 | URL: http://www.crulp.org/software/localization/Fonts/nafeesTahreerNaskh.html | |
391d4a14 | 12 | BuildRequires: unzip |
c33d8ff0 | 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 | Nafees Tahreer Naskh font for writing Urdu in Naskh script based on Unicode | |
21 | standard. Guidance and calligraphy of basic glyphs for the font has been | |
22 | provided by Syed Jameel-ur-Rehman. He is pupil of Syed Nafees Shah and Hafiz | |
23 | Syed Anees-ul-Hassan. This font is a text font and specially designed for | |
24 | better on-screen readability at small point sizes. | |
25 | ||
26 | %prep | |
27 | %setup -q -c %{name}-%{version} | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -d $RPM_BUILD_ROOT%{ttffontsdir} | |
32 | ||
33 | install Nafees\ Tahreer\ Naskh\ v1.01.ttf $RPM_BUILD_ROOT%{ttffontsdir}/%{_font_name}.ttf | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %post | |
39 | fontpostinst TTF | |
40 | ||
41 | %postun | |
42 | fontpostinst TTF | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc Nafees_Tahree_Naskh_v%{version}.pdf | |
47 | %{ttffontsdir}/*.ttf |