TrueType-migu-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. %define _fontdir %{_datadir}/fonts/%{name}
  2. %define mplus_version 039
  3. %define ipag_version 00303
  4. Summary: mixed font with M-plus and IPA
  5. Summary(ja): IPA と M+ フォントの合成フォント
  6. Name: TrueType-migu
  7. Version: 20110514
  8. Release: 1%{?_dist_release}
  9. License: M+ FONT LICENSE, IPA Font License v1.0
  10. Group: User Interface/X
  11. URL: http://mix-mplus-ipa.sourceforge.jp/
  12. Source0: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/51978/Migu-1C-%{version}.zip
  13. Source1: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/51978/Migu-1M-%{version}.zip
  14. Source2: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/51978/Migu-1P-%{version}.zip
  15. BuildRequires: unzip
  16. BuildArch: noarch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  18. %description
  19. Migu is a mixed font with M-plus and IPA.
  20. It is based on MigMix.
  21. %description -l ja
  22. Migu は M+ と IPA の合成フォントです。
  23. MigMix フォントを元にいくつかの改変がされています。
  24. %prep
  25. %setup -q -c -n %{name}-%{version} -a 1 -a 2
  26. %build
  27. %install
  28. %__rm -rf $RPM_BUILD_ROOT
  29. %__mkdir_p $RPM_BUILD_ROOT%{_fontdir}
  30. %__cp -a Migu-1{C,M,P}-%{version}/Migu-*.ttf $RPM_BUILD_ROOT%{_fontdir}/
  31. %clean
  32. %__rm -rf $RPM_BUILD_ROOT
  33. %post
  34. %__font_install_post %{_fontdir}
  35. %postun
  36. %__font_install_postun %{_fontdir}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Migu-1C-20110514/Migu-README.txt
  40. %doc Migu-1C-20110514/mplus-TESTFLIGHT-%{mplus_version}
  41. %doc Migu-1C-20110514/ipag%{ipag_version}
  42. %{_fontdir}/Migu-1C-bold.ttf
  43. %{_fontdir}/Migu-1C-regular.ttf
  44. %{_fontdir}/Migu-1M-bold.ttf
  45. %{_fontdir}/Migu-1M-regular.ttf
  46. %{_fontdir}/Migu-1P-bold.ttf
  47. %{_fontdir}/Migu-1P-regular.ttf
  48. %changelog
  49. * Sun Jun 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 20110514-1
  50. - Initial build.