OpenType-stix-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %define fontname stix
  2. %define fontname_cap STIX
  3. %define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
  4. Name: OpenType-%{fontname}
  5. Summary: the Scientific and Technical Information eXchange fonts
  6. Summary(ja): 数式用のフリーなフォント STIX フォント
  7. Version: 1.1.0
  8. Release: 1%{?_dist_release}
  9. License: OFL
  10. Group: User Interface/X
  11. URL: http://www.stixfonts.org/
  12. Source0: %{fontname_cap}v%{version}.zip
  13. BuildRequires: unzip
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildArch: noarch
  16. Requires: OpenType-%{fontname}-doc
  17. %description
  18. The mission of the Scientific and Technical Information Exchange (STIX) font
  19. creation project is the preparation of a comprehensive set of fonts that
  20. serve the scientific and engineering community in the process from manuscript
  21. creation through final publication, both in electronic and print formats.
  22. %package doc
  23. Summary: STIX font Document
  24. Summary(ja): STIX フォントドキュメント
  25. Group: User Interface/X
  26. %description doc
  27. This package includes important documents for STIX font
  28. includes enduser license.
  29. %description -l ja doc
  30. このパッケージには STIX フォントのライセンスを含む
  31. ドキュメント類が含まれています。
  32. %prep
  33. %setup -q -c -n %{fontname_cap}v%{version}
  34. %clean
  35. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  36. rm -rf ${RPM_BUILD_ROOT}
  37. fi
  38. %build
  39. %install
  40. rm -rf %{buildroot}
  41. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  42. cp -a Fonts/STIX-General/*.otf $RPM_BUILD_ROOT%{_fontdir}
  43. cp -a Fonts/STIX-Word/*.otf $RPM_BUILD_ROOT%{_fontdir}
  44. %post
  45. %__font_install_post %{_fontdir}
  46. %postun
  47. %__font_install_postun %{_fontdir}
  48. %files
  49. %{_fontdir}/*.otf
  50. %files doc
  51. %doc License/STIX\ Font\ License\ 2010.pdf
  52. %doc STIX\ Font\ 1.1.0\ Release\ Documentation.doc
  53. %changelog
  54. * Wed Apr 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.0-1
  55. - new upstream release
  56. * Tue Aug 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-1
  57. - initial build for VineSeed