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