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