]>
Commit | Line | Data |
---|---|---|
548c62b8 ER |
1 | # TODO: |
2 | # - type1 fonts also available in zip archive | |
3 | # - create -installer if wanted to include in distro | |
4 | Summary: Mathematica fonts from Wolfram Research, Inc | |
5 | Name: fonts-TTF-MathFonts | |
6 | Version: 5.2 | |
7 | Release: 1 | |
8 | License: restricted, see URL | |
9 | Group: Fonts | |
10 | Source0: http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_%{version}.zip | |
11 | # NoSource0-md5: 2f6898c0b0848b3faad21873d8fd1f9f | |
12 | NoSource: 0 | |
13 | Source1: license.txt | |
196823c7 | 14 | # Source1-md5: fcbe9b5cdb3acd1ac88134262f67e177 |
548c62b8 | 15 | URL: http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html |
88402fbf | 16 | Requires(post,postun): fontpostinst |
548c62b8 ER |
17 | BuildArch: noarch |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %define ttffontsdir %{_fontsdir}/TTF | |
21 | ||
22 | %description | |
23 | The TrueType font packs are provided by Wolfram Research, Inc. | |
24 | ||
25 | %prep | |
26 | %setup -qc | |
27 | cp %{SOURCE1} . | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -d $RPM_BUILD_ROOT%{ttffontsdir} | |
32 | cp -a Fonts/TrueType/*.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 license.txt | |
46 | %{ttffontsdir}/*.ttf |