]> git.pld-linux.org Git - packages/fonts-TTF-MathFonts.git/blobdiff - fonts-TTF-MathFonts.spec
- new, fonts for mathml in firefox
[packages/fonts-TTF-MathFonts.git] / fonts-TTF-MathFonts.spec
diff --git a/fonts-TTF-MathFonts.spec b/fonts-TTF-MathFonts.spec
new file mode 100644 (file)
index 0000000..3079e3a
--- /dev/null
@@ -0,0 +1,45 @@
+# TODO:
+# - type1 fonts also available in zip archive
+# - create -installer if wanted to include in distro
+Summary:       Mathematica fonts from Wolfram Research, Inc
+Name:          fonts-TTF-MathFonts
+Version:       5.2
+Release:       1
+License:       restricted, see URL
+Group:         Fonts
+Source0:       http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_%{version}.zip
+# NoSource0-md5:       2f6898c0b0848b3faad21873d8fd1f9f
+NoSource:      0
+Source1:       license.txt
+# Source1-md5: d1f99ea50406e911cae1a52bdf8a8437
+URL:           http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define         ttffontsdir     %{_fontsdir}/TTF
+
+%description
+The TrueType font packs are provided by Wolfram Research, Inc.
+
+%prep
+%setup -qc
+cp %{SOURCE1} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ttffontsdir}
+cp -a Fonts/TrueType/*.ttf $RPM_BUILD_ROOT%{ttffontsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst TTF
+
+%postun
+fontpostinst TTF
+
+%files
+%defattr(644,root,root,755)
+%doc license.txt
+%{ttffontsdir}/*.ttf
This page took 0.091633 seconds and 4 git commands to generate.