]>
Commit | Line | Data |
---|---|---|
a1895512 | 1 | %define _font_name Nafees_Nastaleeq |
01b4b0e5 | 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 | |
a1895512 | 4 | Name: fonts-TTF-CRULP-Nafees_Nastaleeq |
5 | Version: 1.02 | |
01b4b0e5 | 6 | Release: 0.2 |
a1895512 | 7 | License: MPL-like |
8 | Group: Fonts | |
9 | Source0: http://www.crulp.org/Downloads/localization/fonts/NafeesNastaleeq/%{_font_name}_v%{version}.zip | |
10 | # Source0-md5: 34ca164ce011b682522431fc332c0cb6 | |
11 | URL: http://www.crulp.org/software/localization/Fonts/nafeesNastaleeq.html | |
28227100 | 12 | BuildRequires: unzip |
a1895512 | 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 Nastaleeq is developed according to calligraphic rules, following the style | |
21 | of Syed Nafees Al-Hussaini (Nafees Raqam), one of the finest calligraphers of | |
22 | Pakistan. Guidance and calligraphy of basic glyphs for the font has been provided | |
23 | by Syed Jameel-ur-Rehman. He is pupil of Syed Nafees Shah and Hafiz | |
24 | Syed Anees-ul-Hassan. | |
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 | ||
01b4b0e5 | 33 | install Nafees\ Nastaleeq\ v1.02.ttf $RPM_BUILD_ROOT%{ttffontsdir}/%{_font_name}.ttf |
a1895512 | 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 %{_font_name}_v%{version}.pdf | |
47 | %{ttffontsdir}/*.ttf |