TrueType-migu-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. %define _fontdir %{_datadir}/fonts/%{name}
  2. #%define mplus_version 056
  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: 20130617
  8. Release: 2%{?_dist_release}
  9. 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/53034/migu-1c-%{version}.zip
  13. Source1: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/53034/migu-1m-%{version}.zip
  14. Source2: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/53034/migu-1p-%{version}.zip
  15. BuildRequires: unzip
  16. BuildArch: noarch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: munepi, kudoh
  21. %description
  22. Migu is a mixed font with M-plus and IPA.
  23. It is based on MigMix.
  24. %description -l ja
  25. Migu は M+ と IPA の合成フォントです。
  26. MigMix フォントを元にいくつかの改変がされています。
  27. %package doc
  28. Summary: Migu font documents
  29. Summary(ja): Migu フォントドキュメント
  30. Group: User Interface/X
  31. %description doc
  32. This package includes important documents for Migu fonts
  33. includes enduser license.
  34. %description -l ja doc
  35. このパッケージには Migu フォントのライセンスを含む
  36. ドキュメント類が含まれています。
  37. %prep
  38. %setup -q -c -n %{name}-%{version} -a 1 -a 2
  39. %build
  40. %install
  41. %__rm -rf $RPM_BUILD_ROOT
  42. %__mkdir_p $RPM_BUILD_ROOT%{_fontdir}
  43. %__cp -a migu-1{c,m,p}-%{version}/migu-*.ttf $RPM_BUILD_ROOT%{_fontdir}/
  44. %clean
  45. %__rm -rf $RPM_BUILD_ROOT
  46. %post
  47. %__font_install_post %{_fontdir}
  48. %postun
  49. %__font_install_postun %{_fontdir}
  50. %files
  51. %defattr(-,root,root,-)
  52. %{_fontdir}/migu-1c-bold.ttf
  53. %{_fontdir}/migu-1c-regular.ttf
  54. %{_fontdir}/migu-1m-bold.ttf
  55. %{_fontdir}/migu-1m-regular.ttf
  56. %{_fontdir}/migu-1p-bold.ttf
  57. %{_fontdir}/migu-1p-regular.ttf
  58. %files doc
  59. %defattr(-,root,root,-)
  60. %doc migu-1c-%{version}/migu-README.txt
  61. #%doc migu-1c-%{version}/mplus-TESTFLIGHT-%{mplus_version}
  62. %doc migu-1c-%{version}/ipag%{ipag_version}
  63. %changelog
  64. * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 20130617-2
  65. - built with gcc-4.8
  66. * Sat Jun 29 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 20130617-1
  67. - new upstream release
  68. * Wed May 01 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 20130430-1
  69. - new upstream release
  70. * Fri Nov 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 20121030-1
  71. - new upstream release
  72. * Tue Jul 31 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 20120411-2
  73. - removed M plus Font License
  74. - because IPA font Lisence do not coexist other lisence
  75. (http://d.hatena.ne.jp/itouhiro/20120607)
  76. * Wed Apr 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 20120411-1
  77. - new upstream release
  78. * Sun Aug 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 20110825-1
  79. - new upstream release
  80. - addes doc subpackage
  81. * Sun Jun 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 20110514-1
  82. - Initial build.