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

RevLine 
[2383]1%define fontname ubuntufont
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Ubuntu font family
6Summary(ja): Ubuntu フォントファミリ
[10187]7Version: 0.83
8Release: 1%{?_dist_release}
[4853]9License: Ubuntu Font License 1.0
[2383]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
[4853]18Requires: TrueType-%{fontname}-mono
19Requires: TrueType-%{fontname}-sans
[2383]20Requires: TrueType-%{fontname}-doc
21
[4853]22Obsoletes: TrueType-%{fontname}-bold
23Obsoletes: TrueType-%{fontname}-italic
24Obsoletes: TrueType-%{fontname}-regular
25
[2383]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
[4853]34%package mono
35Summary: Ubuntu font family monospace
36Summary(ja): Ubuntu フォントファミリ 等幅
[2383]37Group: User Interface/X
38
[4853]39%description mono
40This package includes Ubuntu font family monospace font.
[2383]41
[4853]42%description -l ja mono
43このパッケージには Ubuntu フォントファミリ 等幅フォントが含まれています。
[2383]44
[4853]45%package sans
46Summary: Ubuntu font family sanserif
47Summary(ja): Ubuntu フォントファミリ サンセリフ
[2383]48Group: User Interface/X
49
[4853]50%description sans
51This package includes Ubuntu font family sanserif fonts.
[2383]52
[4853]53%description -l ja sans
54このパッケージには Ubuntu フォントファミリ サンセリフフォントが含まれています。
[2383]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
[4853]87%post mono
[2383]88%__font_install_post %{_fontdir}
89
[4853]90%post sans
[2383]91%__font_install_post %{_fontdir}
92
[4853]93%postun mono
[2383]94%__font_install_postun %{_fontdir}
95
[4853]96%postun sans
[2383]97%__font_install_postun %{_fontdir}
98
99%files
100
[4853]101%files mono
102%{_fontdir}/UbuntuMono*.ttf
[2383]103
[4853]104%files sans
105%{_fontdir}/Ubuntu-*.ttf
[2383]106
107%files doc
108%doc *.txt
109
110%changelog
[10187]111* Tue Apr 19 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.83-1
112- new upstream release
113
[8178]114* Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 0.80-2
115- built with gcc-4.8
116
[4853]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
[2383]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.