TrueType-umefont-vl.spec 5.1 KB

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