TrueType-migmix-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. %define fontname migmix
  2. %define _fontname MigMix
  3. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  4. Name: TrueType-%{fontname}
  5. Summary: MigMix fonts are combined fonts that use IPA and M+ fonts
  6. Summary(ja): M+とIPAの合成フォント MigMix フォント
  7. Version: 20111002
  8. Release: 1%{?_dist_release}
  9. License: IPA Font License, M plus Font License
  10. Group: User Interface/X
  11. URL: http://mix-mplus-ipa.sourceforge.jp/migmix/
  12. Source0: %{_fontname}-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. Requires: TrueType-%{fontname}-doc
  16. BuildRequires: xz
  17. %description
  18. MigMix font are combined fonts that use IPA Gothic and M+ fonts.
  19. See below in package contens.
  20. - MigMix-1M-bold.ttf
  21. - MigMix-1P-bold.ttf
  22. - MigMix-1M-regular.ttf
  23. - MigMix-1P-regular.ttf
  24. - MigMix-2M-bold.ttf
  25. - MigMix-2P-bold.ttf
  26. - MigMix-2M-regular.ttf
  27. - MigMix-2P-regular.ttf
  28. %description -l ja
  29. MigMix(ミグミックス)フォントは、IPA ゴシックと
  30. M+ フォントの合成フォントです。
  31. パッケージの内容は、以下を参照してください。
  32. - MigMix-1M-bold.ttf
  33. - MigMix-1P-bold.ttf
  34. - MigMix-1M-regular.ttf
  35. - MigMix-1P-regular.ttf
  36. - MigMix-2M-bold.ttf
  37. - MigMix-2P-bold.ttf
  38. - MigMix-2M-regular.ttf
  39. - MigMix-2P-regular.ttf
  40. %package doc
  41. Summary: MigMix font documents
  42. Summary(ja): MigMix フォントドキュメント
  43. Group: User Interface/X
  44. %description doc
  45. This package includes important documents for MigMix fonts
  46. includes enduser license.
  47. %description -l ja doc
  48. このパッケージには MigMix フォントのライセンスを含む
  49. ドキュメント類が含まれています。
  50. %prep
  51. %setup -q -n %{_fontname}-%{version}
  52. %clean
  53. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  54. rm -rf ${RPM_BUILD_ROOT}
  55. fi
  56. %build
  57. %install
  58. rm -rf %{buildroot}
  59. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  60. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  61. %post
  62. %__font_install_post %{_fontdir}
  63. %postun
  64. %__font_install_postun %{_fontdir}
  65. %files
  66. %{_fontdir}/*.ttf
  67. %files doc
  68. %doc ipag0030*/*.txt mplus-TESTFLIGHT-04*/* migmix-README.txt
  69. %changelog
  70. * Wed Oct 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111002-1
  71. - new upstream release
  72. * Sat Aug 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110825-1
  73. - new upstream release
  74. - changed source archive type
  75. - bzip2 to xz
  76. - added BuildRequires: xz
  77. * Tue Jun 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110514-1
  78. - new upstream release
  79. * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110418-1
  80. - new upstream release
  81. * Sat Feb 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110207-1
  82. - initial build for VineSeed