source: projects/specs/trunk/T/TrueType-motoya-l/TrueType-motoya-l.spec @ 3984

Revision 3984, 2.7 KB checked in by kudoh, 13 years ago (diff)
Line 
1%define fontname motoya-l
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Motoya L font
6Summary(ja): モトヤ L フォント
7Version: 1.01
8Release: 1%{?_dist_release}
9License: apache License
10Group: User Interface/X
11URL: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts
12Source0: motoya-l-font-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildArch: noarch
16Requires: %{name}-cedar %{name}-maruberi %{name}-doc
17
18%description
19Motoya L font is lightweight and specialisation font
20for mobile device.
21
22This package is Meta-package to install Motoya L Cedar
23and Motoya L Maruberi.
24
25%description -l ja
26モトヤ L フォントは、携帯機器に特化した軽量フォントです。
27
28このパッケージはモトヤLシーダ・モトヤLマルベリを
29インストールするためのメタパッケージです。
30
31%package cedar
32Summary: Motoya L Cedar font
33Summary(ja): モトヤ L シーダフォント
34Group: User Interface/X
35Requires: %{name}-doc
36
37%description cedar
38This package include Motoya L Cedar font.
39
40%description -l ja cedar
41このパッケージにはモトヤ L シーダフォントが含まれています。
42
43%package maruberi
44Summary: Motoya L maruberi font
45Summary(ja): モトヤ L マルベリフォント
46Group: User Interface/X
47Requires: %{name}-doc
48
49%description maruberi
50This package include Motoya L Maruberi font.
51
52%description -l ja maruberi
53このパッケージにはモトヤ L マルベリフォントが含まれています。
54
55%package doc
56Summary: Motoya L font Documents
57Summary(ja): モトヤ L フォントドキュメント
58Group: User Interface/X
59
60%description doc
61This package includes important documents for Motoya L font
62includes 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
73if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
74    rm -rf ${RPM_BUILD_ROOT}
75fi
76
77%build
78
79%install
80rm -rf %{buildroot}
81
82mkdir -p $RPM_BUILD_ROOT%{_fontdir}
83cp -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
Note: See TracBrowser for help on using the repository browser.