OpenType-ipamj-mincho-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. %define fontname ipamj-mincho
  2. %define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
  3. Name: OpenType-%{fontname}
  4. Summary: IPAmj mincho Font - ISO/IEC10646 OpenType font
  5. Summary(ja): IPAmj 明朝フォント - ISO/IEC10646に準拠した OpenType フォント
  6. Version: 6.01
  7. Release: 1%{?_dist_release}
  8. Group: User Interface/X
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. License: IPA Font License v1.0
  12. URL: http://mojikiban.ipa.go.jp/1300.html
  13. Source0: https://mojikiban.ipa.go.jp/OSCDL/IPAmjMincho/ipamjm00601.zip
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildArch: noarch
  16. BuildRequires: unzip
  17. Requires: OpenType-%{fontname}-doc
  18. %description
  19. IPAmj mincho Font is ISO/IEC10646 compliant OpenType font
  20. based on TrueType outlines.
  21. %description -l ja
  22. IPAmj 明朝フォントは、ISO/IEC10646に準拠した
  23. TrueType アウトラインベースの OpenType フォントです。
  24. %package doc
  25. Summary: %{name} Fonts Documents
  26. Summary(ja): IPAmj 明朝フォント ドキュメント
  27. Group: User Interface/X
  28. %description doc
  29. This package includes important documents for IPAmj mincho Font
  30. includes enduser license.
  31. %description -l ja doc
  32. このパッケージには IPAmj 明朝フォントのライセンスを含む
  33. ドキュメント類が含まれています。
  34. %prep
  35. %setup -qcT
  36. %{_bindir}/unzip -jq %{SOURCE0}
  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. %license IPA_Font_License_Agreement_v1.0.txt
  52. %{_fontdir}/ipamjm.ttf
  53. %files doc
  54. %doc IPA_Font_License_Agreement_v1.0.txt Readme.txt
  55. %changelog
  56. * Mon May 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 6.01-1
  57. - new upstream release.
  58. * Sat Oct 25 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.01-1
  59. - new upstream release
  60. * Sat Jan 11 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.02-1
  61. - new upstream release
  62. - changed URL
  63. * Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.01-1
  64. - new upstream release
  65. * Sun Nov 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.01-1
  66. - initial build for VineSeed