]>
Commit | Line | Data |
---|---|---|
548c62b8 ER |
1 | # TODO: |
2 | # - type1 fonts also available in zip archive | |
3 | # - create -installer if wanted to include in distro | |
99ef34f2 JB |
4 | Summary: Mathematica fonts from Wolfram Research, Inc. |
5 | Summary(pl.UTF-8): Fonty dla programu Mathematica produkcji Wolfram Research, Inc. | |
548c62b8 ER |
6 | Name: fonts-TTF-MathFonts |
7 | Version: 5.2 | |
8 | Release: 1 | |
9 | License: restricted, see URL | |
10 | Group: Fonts | |
11 | Source0: http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_%{version}.zip | |
12 | # NoSource0-md5: 2f6898c0b0848b3faad21873d8fd1f9f | |
13 | NoSource: 0 | |
99ef34f2 | 14 | Source1: %{name}-license.txt |
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 | ||
99ef34f2 JB |
25 | %description -l pl.UTF-8 |
26 | Fonty dla programu Mathematica produkcji Wolfram Research, Inc. | |
27 | ||
548c62b8 ER |
28 | %prep |
29 | %setup -qc | |
99ef34f2 | 30 | cp %{SOURCE1} license.txt |
548c62b8 ER |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{ttffontsdir} | |
35 | cp -a Fonts/TrueType/*.ttf $RPM_BUILD_ROOT%{ttffontsdir} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %post | |
41 | fontpostinst TTF | |
42 | ||
43 | %postun | |
44 | fontpostinst TTF | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc license.txt | |
49 | %{ttffontsdir}/*.ttf |