TrueType-mplus-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. %define fontname mplus
  2. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  3. %define mplusver 049
  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. Distribution: Vine Linux
  16. Vendor: Project Vine
  17. Packager: daisuke
  18. %description
  19. The M+ OUTLINE FONTS are a font family under the Free license. You can
  20. use, copy, and distribute it, with or without modification, either
  21. commercially and noncommercially.
  22. %description -l ja
  23. M+ OUTLINE FONTS はコンピュータなどでの個人利用をはじめ、商業目的での
  24. 利用、フォント内容の改変、改変後の再配布にも制限の無い、自由なライセン
  25. スで公開しているアウトラインフォントです。
  26. %prep
  27. %setup -q -n mplus-TESTFLIGHT-%{mplusver}
  28. %clean
  29. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  30. %build
  31. %install
  32. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  33. chmod a-x m++ipa.pe
  34. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  35. install -m644 *.ttf $RPM_BUILD_ROOT%{_fontdir}
  36. %post
  37. %__font_install_post %{_fontdir}
  38. %postun
  39. %__font_install_postun %{_fontdir}
  40. %files
  41. %doc README_E README_J LICENSE_E LICENSE_J m++ipa.pe
  42. %{_fontdir}/*.ttf
  43. %changelog
  44. * Thu May 31 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.049-1
  45. - update to TESTFLIGHT 049
  46. * Sun Jan 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.046-1
  47. - update to TESTFLIGHT 046
  48. * Sun Dec 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.044-1
  49. - initial build for Vine Linux