source: projects/specs/trunk/T/TrueType-ubuntufont/TrueType-ubuntufont-vl.spec @ 10187

Revision 10187, 3.0 KB checked in by kudoh, 8 years ago (diff)

new upstream release

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.83
8Release: 1%{?_dist_release}
9License: Ubuntu Font License 1.0
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}-mono
19Requires: TrueType-%{fontname}-sans
20Requires: TrueType-%{fontname}-doc
21
22Obsoletes: TrueType-%{fontname}-bold
23Obsoletes: TrueType-%{fontname}-italic
24Obsoletes: TrueType-%{fontname}-regular
25
26%description
27The Ubuntu Font Family are a set of matching new libre/open fonts in
28development during 2010--2011.
29
30%description -l ja
31Ubuntu フォントファミリは2010年から2011年の間に開発された
32自由でオープンな新しいフォントのセットです。
33
34%package mono
35Summary: Ubuntu font family monospace
36Summary(ja): Ubuntu フォントファミリ 等幅
37Group: User Interface/X
38
39%description mono
40This package includes Ubuntu font family monospace font.
41
42%description -l ja mono
43このパッケージには Ubuntu フォントファミリ 等幅フォントが含まれています。
44
45%package sans
46Summary: Ubuntu font family sanserif
47Summary(ja): Ubuntu フォントファミリ サンセリフ
48Group: User Interface/X
49
50%description sans
51This package includes Ubuntu font family sanserif fonts.
52
53%description -l ja sans
54このパッケージには Ubuntu フォントファミリ サンセリフフォントが含まれています。
55
56%package doc
57Summary: Ubuntu font family documents
58Summary(ja): Ubuntu フォントファミリドキュメント
59Group: User Interface/X
60
61%description doc
62This package includes important documents for Ubuntu font family
63includes enduser license.
64
65%description -l ja doc
66このパッケージには Ubuntu フォントファミリのライセンスを含む
67ドキュメント類が含まれています。
68
69
70%prep
71%setup -q -c -T
72%{_bindir}/unzip -ojq %{SOURCE0}
73
74%clean
75if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
76    rm -rf ${RPM_BUILD_ROOT}
77fi
78
79%build
80
81%install
82rm -rf %{buildroot}
83
84mkdir -p $RPM_BUILD_ROOT%{_fontdir}
85cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
86
87%post mono
88%__font_install_post %{_fontdir}
89
90%post sans
91%__font_install_post %{_fontdir}
92
93%postun mono
94%__font_install_postun %{_fontdir}
95
96%postun sans
97%__font_install_postun %{_fontdir}
98
99%files
100
101%files mono
102%{_fontdir}/UbuntuMono*.ttf
103
104%files sans
105%{_fontdir}/Ubuntu-*.ttf
106
107%files doc
108%doc *.txt
109
110%changelog
111* Tue Apr 19 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.83-1
112- new upstream release
113
114* Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 0.80-2
115- built with gcc-4.8
116
117* Sat Oct 01 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.80-1
118- new upstream release
119  - obsoleted bold, italic, regular packages
120  - reorganized two packages, -mono and -sans
121
122* Sat Dec 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.70.1-1
123- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.