X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=fonts-TTF-MathFonts.spec;fp=fonts-TTF-MathFonts.spec;h=3079e3a5072f4df7273bff141f0a89911d69c114;hb=548c62b8fd5be7389a4bfefe6e1dda4b39831833;hp=0000000000000000000000000000000000000000;hpb=5c2d3469d20c98809174740488da422a14ba0406;p=packages%2Ffonts-TTF-MathFonts.git diff --git a/fonts-TTF-MathFonts.spec b/fonts-TTF-MathFonts.spec new file mode 100644 index 0000000..3079e3a --- /dev/null +++ b/fonts-TTF-MathFonts.spec @@ -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