TrueType-umefont-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. %define archivename umefont
  2. %define _fontdir %{_datadir}/fonts/TrueType-umefont
  3. %define package_ver 419
  4. Name: TrueType-umefont
  5. Summary: Ume Fonts are Japanese fonts that the license restriction is a little
  6. Summary(ja): 梅フォント - ライセンス制約の少ない日本語フォント
  7. Version: %{package_ver}
  8. Release: 1%{?_dist_release}
  9. License: mplus Font License
  10. Group: User Interface/X
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. URL: http://sourceforge.jp/projects/%{archivename}/wiki/FrontPage
  14. %if %{?_dist_release} == "vl5"
  15. Source: %{archivename}_%{package_ver}.tar.bz2
  16. %endif
  17. %if %{?_dist_release} == "vl6"
  18. Source: %{archivename}_%{package_ver}.tar.xz
  19. %endif
  20. Requires: TrueType-%{archivename}-mincho = %{version}
  21. Requires: TrueType-%{archivename}-gothic = %{version}
  22. Requires: TrueType-%{archivename}-doc = %{version}
  23. %description
  24. Ume Fonts are Japanese fonts that to be able to be using
  25. that the license restriction is a little regularly it.
  26. %description -l ja
  27. 梅フォントはライセンス制約の少ない常用可能な日本語フォントです。
  28. このパッケージは明朝、ゴシック両書体をインストールするためのメタパッケージです。
  29. #-- 明朝
  30. %package mincho
  31. Summary: Ume Mincho TrueType Fonts
  32. Summary(ja): 梅フォント(明朝体)
  33. Group: User Interface/X
  34. Requires: TrueType-umefont-doc
  35. %description mincho
  36. This package includes Ume Mincho TrueType fonts.
  37. %description -l ja mincho
  38. このパッケージには梅フォントの明朝体フォントが含まれています。
  39. プロポーショナル:梅P明朝
  40. 等幅:梅明朝
  41. #-- ゴシック
  42. %package gothic
  43. Summary: Ume Gothic TrueType Fonts
  44. Summary(ja): 梅フォント(ゴシック体)
  45. Group: User Interface/X
  46. Requires: TrueType-umefont-doc
  47. %description gothic
  48. This package includes Ume Gothic TrueType fonts.
  49. %description -l ja gothic
  50. このパッケージには梅フォントのゴシック体フォントが含まれています。
  51. プロポーショナル:梅PゴシックC4、梅PゴシックC5、梅Pゴシック、梅PゴシックO5
  52. 等幅:梅ゴシックC4、梅ゴシックC5、梅ゴシック、梅ゴシックO5
  53. UI:梅UIゴシック、梅UIゴシックO5
  54. #-- ドキュメント
  55. %package doc
  56. Summary: ume Font Documents
  57. Summary(ja): 梅フォントドキュメント
  58. Group: User Interface/X
  59. %description doc
  60. This package includes license for ume fonts enduser.
  61. %description -l ja doc
  62. このパッケージには梅フォントのライセンスが含まれています。
  63. %prep
  64. %setup -q -n %{archivename}_%{package_ver}
  65. %build
  66. %install
  67. /bin/rm -rf $RPM_BUILD_ROOT
  68. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  69. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  70. %clean
  71. rm -rf $RPM_BUILD_ROOT
  72. %post mincho
  73. %__font_install_post %{_fontdir}
  74. %post gothic
  75. %__font_install_post %{_fontdir}
  76. %postun mincho
  77. %__font_install_postun %{_fontdir}
  78. %postun gothic
  79. %__font_install_postun %{_fontdir}
  80. %files
  81. %files mincho
  82. %{_fontdir}/ume-*m*3.ttf
  83. %files gothic
  84. %{_fontdir}/ume-pg*.ttf
  85. %{_fontdir}/ume-ugo*.ttf
  86. %{_fontdir}/ume-tg*.ttf
  87. %files doc
  88. %doc *.html
  89. %changelog
  90. * Mon Sep 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 419-1
  91. - new upstream release
  92. * Tue Aug 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 418-1
  93. - new upstream release
  94. * Mon Jul 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 417-1
  95. - new upstream release
  96. * Tue Jun 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 416-2
  97. - reverted and changed source archive type on Vine 5.x
  98. - Seed's source archive type is keeping (using tar.xz)
  99. * Mon Jun 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 416-1
  100. - new upstream release
  101. - changed source archive type
  102. * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 415-1
  103. - new upstream release
  104. * Wed Mar 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 413-1
  105. - new upstream release
  106. * Mon Feb 1 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 412-1
  107. - new upstream release
  108. * Tue Jan 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 411-1
  109. - new upstream release
  110. * Mon Dec 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 410-1
  111. - new upstream release
  112. * Tue Nov 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 409-1
  113. - new upstream release
  114. * Wed Oct 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 408-1
  115. - new upstream release
  116. * Thu Sep 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 407-1
  117. - new upstream release
  118. * Tue Aug 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 406-1vl5
  119. - new upstream release
  120. * Tue Jul 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 405-1vl5
  121. - new upstream release
  122. * Fri Jun 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 404-2vl5
  123. - fixed License (Umefont License to mplus Font License)
  124. - changed summary, summary(ja)
  125. * Mon Jun 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 404-1vl5
  126. - new upstream release
  127. * Thu May 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 403-1vl5
  128. - new upstream release
  129. - changed License, summary, description
  130. - spec in UTF-8
  131. * Sat Apr 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 402-1vl5
  132. - initial build for VineSeed