source: projects/specs/branches/6/T/TrueType-ubuntufont/TrueType-ubuntufont-vl.spec @ 2383

Revision 2383, 3.1 KB checked in by kudoh, 13 years ago (diff)
Line 
1%define fontname ubuntufont
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Ubuntu font family
6Summary(ja): Ubuntu フォントファミリ
7Version: 0.70.1
8Release: 1%{?_dist_release}
9License: Ubuntu Font License
10Group: User Interface/X
11URL: http://font.ubuntu.com/
12
13Source0: ubuntu-font-family-%{version}.zip
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildArch: noarch
16
17BuildRequires: unzip
18Requires: TrueType-%{fontname}-regular
19Requires: TrueType-%{fontname}-bold
20Requires: TrueType-%{fontname}-italic
21Requires: TrueType-%{fontname}-doc
22
23%description
24The Ubuntu Font Family are a set of matching new libre/open fonts in
25development during 2010--2011.
26
27%description -l ja
28Ubuntu フォントファミリは2010年から2011年の間に開発された
29自由でオープンな新しいフォントのセットです。
30
31%package regular
32Summary: Ubuntu font family regular
33Summary(ja): Ubuntu フォントファミリ レギュラー
34Group: User Interface/X
35
36%description regular
37This package includes Ubuntu font family regular font.
38
39%description -l ja regular
40このパッケージには Ubuntu フォントファミリ レギュラーフォントが含まれています。
41
42%package bold
43Summary: Ubuntu font family bold
44Summary(ja): Ubuntu フォントファミリ ボールド
45Group: User Interface/X
46
47%description bold
48This package includes Ubuntu font family bold fonts.
49
50%description -l ja bold
51このパッケージには Ubuntu フォントファミリ ボールドフォントが含まれています。
52
53%package italic
54Summary: Ubuntu font family italic
55Summary(ja): Ubuntu フォントファミリ イタリック
56Group: User Interface/X
57
58%description italic
59This package includes Ubuntu font family italic font.
60
61%description -l ja italic
62このパッケージには Ubuntu フォントファミリ イタリックフォントが含まれています。
63
64%package doc
65Summary: Ubuntu font family documents
66Summary(ja): Ubuntu フォントファミリドキュメント
67Group: User Interface/X
68
69%description doc
70This package includes important documents for Ubuntu font family
71includes enduser license.
72
73%description -l ja doc
74このパッケージには Ubuntu フォントファミリのライセンスを含む
75ドキュメント類が含まれています。
76
77
78%prep
79%setup -q -c -T
80%{_bindir}/unzip -ojq %{SOURCE0}
81
82%clean
83if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
84    rm -rf ${RPM_BUILD_ROOT}
85fi
86
87%build
88
89%install
90rm -rf %{buildroot}
91
92mkdir -p $RPM_BUILD_ROOT%{_fontdir}
93cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
94
95%post regular
96%__font_install_post %{_fontdir}
97
98%post bold
99%__font_install_post %{_fontdir}
100
101%post italic
102%__font_install_post %{_fontdir}
103
104%postun regular
105%__font_install_postun %{_fontdir}
106
107%postun bold
108%__font_install_postun %{_fontdir}
109
110%postun italic
111%__font_install_postun %{_fontdir}
112
113%files
114
115%files regular
116%{_fontdir}/Ubuntu-R.ttf
117
118%files bold
119%{_fontdir}/Ubuntu-B*.ttf
120
121%files italic
122%{_fontdir}/Ubuntu-I.ttf
123
124%files doc
125%doc *.txt
126
127%changelog
128* Sat Dec 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.70.1-1
129- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.