TrueType-sil-charis.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define fontname sil-charis
  2. %define archivename %{name}-%{version}
  3. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  4. Name: TrueType-%{fontname}
  5. Summary: smart Unicode font family for Roman or Cyrillic-based writing systems
  6. Summary(ja): ラテン語或いはキリル文字ベースの表記のためのスマートな Unicode フォントファミリ
  7. Version: 5.000
  8. Release: 1%{?_dist_release}
  9. License: OFL
  10. Group: User Interface/X
  11. URL: http://software.sil.org/charis/
  12. Source: CharisSIL-%{version}.zip
  13. BuildRequires: unzip
  14. BuildArch: noarch
  15. Requires: TrueType-%{fontname}-doc >= %{version}
  16. Obsoletes: TrueType-%{fontname}-regular
  17. Obsoletes: TrueType-%{fontname}-italic
  18. Obsoletes: TrueType-%{fontname}-bold
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. %description
  21. Charis SIL is serif fonts what provides glyphs for a wide range
  22. of Latin and Cyrillic characters.
  23. This package install regular, bold, and italic families.
  24. %description -l ja
  25. Charis SIL はラテン文字とキリル文字の広範なグリフを提供する
  26. セリフ体のフォントです。
  27. regular・bold・italic の3書体をインストールします。
  28. %package doc
  29. Summary: Charis SIL Font Documents
  30. Summary(ja): Charis SIL フォントドキュメント
  31. Group: User Interface/X
  32. %description doc
  33. This package includes important documents for Charis SIL fonts includes enduser
  34. license.
  35. %description -l ja doc
  36. このパッケージには Charis SIL フォントのライセンスを含むドキュメント類が含まれています。
  37. %prep
  38. %setup -q -n CharisSIL-%{version}
  39. %clean
  40. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  41. rm -rf ${RPM_BUILD_ROOT}
  42. fi
  43. %build
  44. %install
  45. rm -rf %{buildroot}
  46. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  47. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  48. %post
  49. %__font_install_post %{_fontdir}
  50. %postun
  51. %__font_install_postun %{_fontdir}
  52. %files
  53. %{_fontdir}/CharisSIL-R.ttf
  54. %{_fontdir}/CharisSIL-B.ttf
  55. %{_fontdir}/CharisSIL-I.ttf
  56. %{_fontdir}/CharisSIL-BI.ttf
  57. %files doc
  58. %doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
  59. %changelog
  60. * Mon May 02 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.000-1
  61. - new upstream release
  62. - changed URL
  63. * Sat Jan 11 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.114-1
  64. - new upstream release
  65. * Wed Oct 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.110-1
  66. - new upstream release
  67. - obsoleted -regular, -bold, -italic sub packages
  68. * Sat May 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.106-1
  69. - initial build for VineSeed