TrueType-umefont-vl.spec 6.7 KB

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