]> git.pld-linux.org Git - packages/fonts-TTF-MathFonts.git/blob - fonts-TTF-MathFonts.spec
- copied from df
[packages/fonts-TTF-MathFonts.git] / fonts-TTF-MathFonts.spec
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
14 # Source1-md5:  fcbe9b5cdb3acd1ac88134262f67e177
15 URL:            http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html
16 Requires(post,postun):  fontpostinst
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
This page took 0.038092 seconds and 3 git commands to generate.