source: projects/specs/trunk/T/TrueType-roboto/TrueType-roboto-vl.spec @ 5517

Revision 5517, 1.6 KB checked in by kudoh, 12 years ago (diff)

TrueType?-roboto-vl.spec

Line 
1%define fontname roboto
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Roboto font
6Summary(ja): Roboto フォント
7Version: 1.0
8Release: 1%{?_dist_release}
9License: apache License 2.0
10Group: User Interface/X
11URL: https://github.com/android/platform_frameworks_base/tree/master/data/fonts
12#URL: http://developer.android.com/design/style/typography.html
13Source0: roboto-font-%{version}.tar.xz
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildArch: noarch
17Requires: %{name}-doc
18
19%description
20Roboto is new font that introduced with Android OS 4.0
21"Ice Cream Sandwich".
22
23%description -l ja
24Roboto は Android OS 4.0 "Ice Cream Sandwich" と
25一緒に紹介された新しいフォントです。
26
27%package doc
28Summary: Robot font Documents
29Summary(ja): Roboto フォントドキュメント
30Group: User Interface/X
31
32%description doc
33This package includes important documents for Roboto font
34includes enduser license.
35
36%description -l ja doc
37このパッケージには Roboto フォントのライセンスを含む
38ドキュメント類が含まれています。
39
40
41%prep
42%setup -qn roboto-font
43
44%clean
45if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
46    rm -rf ${RPM_BUILD_ROOT}
47fi
48
49%build
50
51%install
52rm -rf %{buildroot}
53
54mkdir -p $RPM_BUILD_ROOT%{_fontdir}
55cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
56
57%post
58%__font_install_post %{_fontdir}
59
60%postun
61%__font_install_postun %{_fontdir}
62
63%files
64%{_fontdir}/Roboto-*.ttf
65
66%files doc
67%doc MODULE_LICENSE_APACHE2 NOTICE README.txt
68
69%changelog
70* Sat Jan 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-1
71- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.