]>
Commit | Line | Data |
---|---|---|
6f26dbf8 AM |
1 | Summary: Mac OS X fonts |
2 | Name: fonts-TTF-macfonts | |
3 | Version: 0.1 | |
4 | Release: 1 | |
5 | License: distributable | |
6 | Group: Fonts | |
7 | Source0: Fonts.zip | |
8 | # Source0-md5: 9ec9adb4403b2f99cc0b0d1c70b0c178 | |
9 | URL: http://www.osx-e.com/downloads/misc/macfonts.html | |
266bbf0c | 10 | BuildRequires: unzip |
6f26dbf8 AM |
11 | Requires(post,postun): fontpostinst |
12 | Requires: %{_fontsdir}/TTF | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _ttffontsdir %{_fontsdir}/TTF | |
17 | ||
18 | %description | |
19 | Mac OS X fonts. | |
20 | ||
21 | %prep | |
22 | %setup -q -n Fonts | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | install -d $RPM_BUILD_ROOT%{_ttffontsdir} | |
27 | ||
28 | install *.ttf *.TTF $RPM_BUILD_ROOT%{_ttffontsdir} | |
29 | ||
30 | %clean | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %post | |
34 | fontpostinst TTF | |
35 | ||
36 | %postun | |
37 | fontpostinst TTF | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc *.txt | |
42 | %{_ttffontsdir}/* |