1 | %define fontname motoya-l |
---|
2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
3 | |
---|
4 | Name: TrueType-%{fontname} |
---|
5 | Summary: Motoya L font |
---|
6 | Summary(ja): モトヤ L フォント |
---|
7 | Version: 1.01 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: apache License |
---|
10 | Group: User Interface/X |
---|
11 | URL: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts |
---|
12 | Source0: motoya-l-font-%{version}.tar.bz2 |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildArch: noarch |
---|
16 | Requires: %{name}-cedar %{name}-maruberi %{name}-doc |
---|
17 | |
---|
18 | %description |
---|
19 | Motoya L font is lightweight and specialisation font |
---|
20 | for mobile device. |
---|
21 | |
---|
22 | This package is Meta-package to install Motoya L Cedar |
---|
23 | and Motoya L Maruberi. |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | モトヤ L フォントは、携帯機器に特化した軽量フォントです。 |
---|
27 | |
---|
28 | このパッケージはモトヤLシーダ・モトヤLマルベリを |
---|
29 | インストールするためのメタパッケージです。 |
---|
30 | |
---|
31 | %package cedar |
---|
32 | Summary: Motoya L Cedar font |
---|
33 | Summary(ja): モトヤ L シーダフォント |
---|
34 | Group: User Interface/X |
---|
35 | Requires: %{name}-doc |
---|
36 | |
---|
37 | %description cedar |
---|
38 | This package include Motoya L Cedar font. |
---|
39 | |
---|
40 | %description -l ja cedar |
---|
41 | このパッケージにはモトヤ L シーダフォントが含まれています。 |
---|
42 | |
---|
43 | %package maruberi |
---|
44 | Summary: Motoya L maruberi font |
---|
45 | Summary(ja): モトヤ L マルベリフォント |
---|
46 | Group: User Interface/X |
---|
47 | Requires: %{name}-doc |
---|
48 | |
---|
49 | %description maruberi |
---|
50 | This package include Motoya L Maruberi font. |
---|
51 | |
---|
52 | %description -l ja maruberi |
---|
53 | このパッケージにはモトヤ L マルベリフォントが含まれています。 |
---|
54 | |
---|
55 | %package doc |
---|
56 | Summary: Motoya L font Documents |
---|
57 | Summary(ja): モトヤ L フォントドキュメント |
---|
58 | Group: User Interface/X |
---|
59 | |
---|
60 | %description doc |
---|
61 | This package includes important documents for Motoya L font |
---|
62 | includes enduser license. |
---|
63 | |
---|
64 | %description -l ja doc |
---|
65 | このパッケージにはモトヤ L フォントのライセンスを含む |
---|
66 | ドキュメント類が含まれています。 |
---|
67 | |
---|
68 | |
---|
69 | %prep |
---|
70 | %setup -qn motoya-l-font-%{version} |
---|
71 | |
---|
72 | %clean |
---|
73 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
74 | rm -rf ${RPM_BUILD_ROOT} |
---|
75 | fi |
---|
76 | |
---|
77 | %build |
---|
78 | |
---|
79 | %install |
---|
80 | rm -rf %{buildroot} |
---|
81 | |
---|
82 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
83 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
84 | |
---|
85 | %post cedar |
---|
86 | %__font_install_post %{_fontdir} |
---|
87 | |
---|
88 | %post maruberi |
---|
89 | %__font_install_post %{_fontdir} |
---|
90 | |
---|
91 | %postun cedar |
---|
92 | %__font_install_postun %{_fontdir} |
---|
93 | |
---|
94 | %postun maruberi |
---|
95 | %__font_install_postun %{_fontdir} |
---|
96 | |
---|
97 | %files |
---|
98 | |
---|
99 | %files cedar |
---|
100 | %{_fontdir}/MTLc3m.ttf |
---|
101 | |
---|
102 | %files maruberi |
---|
103 | %{_fontdir}/MTLmr3m.ttf |
---|
104 | |
---|
105 | %files doc |
---|
106 | %doc MODULE_LICENSE_APACHE2 NOTICE README.txt |
---|
107 | |
---|
108 | %changelog |
---|
109 | * Sat May 28 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.01-1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.00-1 |
---|
113 | - initial build for VineSeed |
---|