TrueType-junicode-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. %define fontname junicode
  2. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  3. Name: TrueType-%{fontname}
  4. Summary: Junicode is a Unicode font for medievalists
  5. Summary(ja): 中世研究家のためのフォント Junicode
  6. Version: 0.7.8
  7. Release: 2%{?_dist_release}
  8. License: OFL
  9. Group: User Interface/X
  10. URL: http://junicode.sourceforge.net/
  11. Source0: %{fontname}-0-7-8.zip
  12. BuildRequires: unzip
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. Obsoletes: TrueType-%{fontname}-regular
  16. Obsoletes: TrueType-%{fontname}-italic
  17. Obsoletes: TrueType-%{fontname}-bold
  18. Requires: TrueType-%{fontname}-doc
  19. %description
  20. A font family especially for medieval scholars,
  21. but containing an extensive enough selection of
  22. Unicode characters to be widely useful.
  23. %description -l ja
  24. 特に中世研究者のためのフォントファミリですが、
  25. すこぶる有用たりうるに十分なユニコードキャラクタの品揃えを含んでいます。
  26. このパッケージは Bold・Regular・Italic の3書体をインストールします。
  27. %package doc
  28. Summary: Junicode font Document
  29. Summary(ja): Junicode フォントドキュメント
  30. Group: User Interface/X
  31. %description doc
  32. This package includes important documents for Junicode font
  33. includes enduser license.
  34. %description -l ja doc
  35. このパッケージには Junicode フォントのライセンスを含む
  36. ドキュメント類が含まれています。
  37. %prep
  38. %setup -q -n %{fontname}
  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 fonts/*.ttf $RPM_BUILD_ROOT%{_fontdir}
  48. %post
  49. %__font_install_post %{_fontdir}
  50. %postun
  51. %__font_install_postun %{_fontdir}
  52. %files
  53. %{_fontdir}/Junicode.ttf
  54. %{_fontdir}/*-Bold.ttf
  55. %{_fontdir}/*-BoldItalic.ttf
  56. %{_fontdir}/*-Italic.ttf
  57. %files doc
  58. %doc doc/* util/*
  59. %changelog
  60. * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 0.7.8-2
  61. - built with gcc-4.8
  62. * Fri Jan 11 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.8-1
  63. - new upstream release
  64. * Sat Dec 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.7-1
  65. - new upstream release
  66. * Wed Apr 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.6-1
  67. - new upstream release
  68. * Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1
  69. - new upstream release
  70. * Fri Jan 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.1-1
  71. - new upstream release
  72. - changed License: GPL to OFL
  73. * Sun Oct 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.17-2
  74. - obsoleted -regular, -bold, -italic sub packages
  75. * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.17-1
  76. - initial build for VineSeed (again)