]>
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 |
08958165 | 16 | BuildRequires: unzip |
88402fbf | 17 | Requires(post,postun): fontpostinst |
548c62b8 ER |
18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %define ttffontsdir %{_fontsdir}/TTF | |
22 | ||
23 | %description | |
24 | The TrueType font packs are provided by Wolfram Research, Inc. | |
25 | ||
99ef34f2 JB |
26 | %description -l pl.UTF-8 |
27 | Fonty dla programu Mathematica produkcji Wolfram Research, Inc. | |
28 | ||
548c62b8 ER |
29 | %prep |
30 | %setup -qc | |
99ef34f2 | 31 | cp %{SOURCE1} license.txt |
548c62b8 ER |
32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{ttffontsdir} | |
36 | cp -a Fonts/TrueType/*.ttf $RPM_BUILD_ROOT%{ttffontsdir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %post | |
42 | fontpostinst TTF | |
43 | ||
44 | %postun | |
45 | fontpostinst TTF | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc license.txt | |
50 | %{ttffontsdir}/*.ttf |