TrueType-mplus-vl.spec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. %define fontname mplus
  2. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  3. %define mplusver 044
  4. Name: TrueType-%{fontname}
  5. Summary: M+ OUTLINE FONTS
  6. Summary(ja): M+ OUTLINE FONTS
  7. Version: 0.TESTFLIGHT.%{mplusver}
  8. Release: 1%{?_dist_release}
  9. License: M+
  10. Group: User Interface/X
  11. URL: http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index.html
  12. Source0: mplus-TESTFLIGHT-%{mplusver}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. %description
  16. The M+ OUTLINE FONTS are a font family under the Free license. You can
  17. use, copy, and distribute it, with or without modification, either
  18. commercially and noncommercially.
  19. %description -l ja
  20. M+ OUTLINE FONTS はコンピュータなどでの個人利用をはじめ、商業目的での
  21. 利用、フォント内容の改変、改変後の再配布にも制限の無い、自由なライセン
  22. スで公開しているアウトラインフォントです。
  23. %prep
  24. %setup -q -n mplus-TESTFLIGHT-%{mplusver}
  25. %clean
  26. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  27. %build
  28. %install
  29. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  30. chmod a-x m++ipa.pe
  31. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  32. install -m644 *.ttf $RPM_BUILD_ROOT%{_fontdir}
  33. %post
  34. %__font_install_post %{_fontdir}
  35. %postun
  36. %__font_install_postun %{_fontdir}
  37. %files
  38. %doc README_E README_J LICENSE_E LICENSE_J m++ipa.pe
  39. %{_fontdir}/*.ttf
  40. %changelog
  41. * Sun Dec 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.044-1
  42. - initial build for Vine Linux