OpenType-texgyre-math-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. %define ver 20160519
  2. %define rel 1
  3. %define bonumver 1005
  4. %define pagellaver 1632
  5. %define scholaver 1533
  6. %define termesver 1543
  7. %define fontname texgyre-math
  8. %define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
  9. Summary: Maths fonts to match tex-gyre text fonts
  10. Summary(ja): TeX Gyre数式フォント
  11. Name: OpenType-%{fontname}
  12. Version: %{ver}
  13. Release: %{rel}%{?_dist_release}
  14. Source0: http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyrebonum-math-%{bonumver}.zip
  15. Source1: http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyrepagella-math-%{pagellaver}.zip
  16. Source2: http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyreschola-math-%{scholaver}.zip
  17. Source3: http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyretermes-math-%{termesver}.zip
  18. Source4: GUST-FONT-LICENSE.txt
  19. License: GUST Font Licens
  20. Group: User Interface/X
  21. URL: http://www.gust.org.pl/projects/e-foundry/tg-math
  22. BuildArch: noarch
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: ara_t
  27. %description
  28. TeXGyre-Math is a collection of maths fonts to match the text fonts of
  29. the TeXGyre collection.
  30. TeXGyre-Math-Bonum (to match TeXGyre-Bonum),
  31. TeXGyre-Math-Pagella (to match TeXGyre-Pagella),
  32. TeXGyre-Math-Schola (to match TeXGyre-Schola) and
  33. TeXGyre-Math-Termes (to match TeXGyre-Termes) fonts are provided.
  34. %prep
  35. %setup -q -T -a 0 -a 1 -a 2 -a 3 -c
  36. %build
  37. %install
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir}
  40. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_docdir}/%{name}
  41. %{__install} -m0644 */opentype/*.otf ${RPM_BUILD_ROOT}%{_fontdir}
  42. %{__install} -m0644 */doc/test-word-texgyre_*_math.{docx,pdf} \
  43. ${RPM_BUILD_ROOT}%{_docdir}/%{name}
  44. %{__install} -m0644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_docdir}/%{name}
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %post
  48. %__font_install_post %{_fontdir}
  49. %postun
  50. %__font_install_postun %{_fontdir}
  51. %files
  52. %defattr(-,root,root)
  53. %{_fontdir}
  54. %{_docdir}
  55. %changelog
  56. * Sun Oct 08 2017 Toshiaki Ara <ara_t@384.jp> 2.005-1
  57. - initial build for Vine Linux