TrueType-migmix-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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: 20110418
  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.bz2
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. Requires: TrueType-%{fontname}-doc
  16. %description
  17. MigMix font are combined fonts that use IPA Gothic and M+ fonts.
  18. See below in package contens.
  19. - MigMix-1M-bold.ttf
  20. - MigMix-1P-bold.ttf
  21. - MigMix-1M-regular.ttf
  22. - MigMix-1P-regular.ttf
  23. - MigMix-2M-bold.ttf
  24. - MigMix-2P-bold.ttf
  25. - MigMix-2M-regular.ttf
  26. - MigMix-2P-regular.ttf
  27. %description -l ja
  28. MigMix(ミグミックス)フォントは、IPA ゴシックと
  29. M+ フォントの合成フォントです。
  30. パッケージの内容は、以下を参照してください。
  31. - MigMix-1M-bold.ttf
  32. - MigMix-1P-bold.ttf
  33. - MigMix-1M-regular.ttf
  34. - MigMix-1P-regular.ttf
  35. - MigMix-2M-bold.ttf
  36. - MigMix-2P-bold.ttf
  37. - MigMix-2M-regular.ttf
  38. - MigMix-2P-regular.ttf
  39. %package doc
  40. Summary: MigMix font documents
  41. Summary(ja): MigMix フォントドキュメント
  42. Group: User Interface/X
  43. %description doc
  44. This package includes important documents for MigMix fonts
  45. includes enduser license.
  46. %description -l ja doc
  47. このパッケージには MigMix フォントのライセンスを含む
  48. ドキュメント類が含まれています。
  49. %prep
  50. %setup -q -n %{_fontname}-%{version}
  51. %clean
  52. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  53. rm -rf ${RPM_BUILD_ROOT}
  54. fi
  55. %build
  56. %install
  57. rm -rf %{buildroot}
  58. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  59. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  60. %post
  61. %__font_install_post %{_fontdir}
  62. %postun
  63. %__font_install_postun %{_fontdir}
  64. %files
  65. %{_fontdir}/*.ttf
  66. %files doc
  67. %doc ipag00302/*.txt mplus-TESTFLIGHT-03*/* MigMix-README.txt
  68. %changelog
  69. * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110418-1
  70. - new upstream release
  71. * Sat Feb 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110207-1
  72. - initial build for VineSeed