TrueType-aoyagi-soseki-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define fontname aoyagi-soseki
  2. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  3. Name: TrueType-%{fontname}
  4. Summary: Aoyagi soseki font
  5. Summary(ja): 青柳疎石フォント
  6. Version: 20070207
  7. Release: 2%{?_dist_release}
  8. License: Public Domain
  9. Group: User Interface/X
  10. URL: http://musashi.or.tv/aoyagisosekifont.htm
  11. Source0: %{fontname}.zip
  12. Source1: License.txt
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. BuildRequires: unzip
  16. Requires: TrueType-%{fontname}-doc
  17. %description
  18. Aoyagi soseki font is Japanese TrueType brush-style font,
  19. made by Aoyagi Kouzan.
  20. %description -l ja
  21. 青柳疎石フォントは青柳衡山氏により作成された
  22. 日本語 TrueType 毛筆フォントです。
  23. %package doc
  24. Summary: Aoyagi soseki font documents
  25. Summary(ja): 青柳疎石フォントドキュメント
  26. Group: User Interface/X
  27. %description doc
  28. This package includes important documents for Aoyagi soseki font
  29. includes enduser license.
  30. %description -l ja doc
  31. このパッケージには青柳疎石フォントのライセンスを含む
  32. ドキュメント類が含まれています。
  33. %prep
  34. %setup -q -c -T
  35. %{_bindir}/unzip -oq %{SOURCE0}
  36. cp -pr %{SOURCE1} .
  37. %clean
  38. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  39. rm -rf ${RPM_BUILD_ROOT}
  40. fi
  41. %build
  42. %install
  43. rm -rf %{buildroot}
  44. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  45. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  46. %post
  47. %__font_install_post %{_fontdir}
  48. %postun
  49. %__font_install_postun %{_fontdir}
  50. %files
  51. %{_fontdir}/*.ttf
  52. %files doc
  53. %doc License.txt
  54. %changelog
  55. * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 20070207-2
  56. - built with gcc-4.8
  57. * Fri Feb 17 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20070207-1
  58. - initial build for VineSeed