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