TrueType-mplus-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. %define fontname mplus
  2. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  3. %define mplusver 057
  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+ FONTS LICENSE
  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. * Tue Nov 26 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFILGHT.057-1
  45. - update to TESTFILGHT 057
  46. * Mon Apr 22 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFILGHT.055-1
  47. - update to TESTFLIGHT 055
  48. * Fri Dec 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.053-1
  49. - update to TESTFLIGHT 053
  50. * Thu May 31 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.049-1
  51. - update to TESTFLIGHT 049
  52. * Sun Jan 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.046-1
  53. - update to TESTFLIGHT 046
  54. * Sun Dec 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.044-1
  55. - initial build for Vine Linux