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

Revision 7888, 2.0 KB checked in by kudoh, 7 years ago (diff)

--force-log

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