source: projects/specs/trunk/T/TrueType-sil-charis/TrueType-sil-charis.spec @ 10218

Revision 10218, 2.5 KB checked in by kudoh, 8 years ago (diff)

new upstream release

RevLine 
[1088]1%define fontname sil-charis
2%define archivename %{name}-%{version}
3%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
4
5Name:  TrueType-%{fontname}
6Summary:  smart Unicode font family for Roman or Cyrillic-based writing systems
7Summary(ja):  ラテン語或いはキリル文字ベースの表記のためのスマートな Unicode フォントファミリ
[10218]8Version:  5.000
[1088]9Release:  1%{?_dist_release}
10License:  OFL
11Group:  User Interface/X
[10218]12URL: http://software.sil.org/charis/
[4866]13Source:  CharisSIL-%{version}.zip
[1088]14
15BuildRequires: unzip
16BuildArch: noarch
17
18Requires: TrueType-%{fontname}-doc >= %{version}
[4866]19
20Obsoletes: TrueType-%{fontname}-regular
21Obsoletes: TrueType-%{fontname}-italic
22Obsoletes: TrueType-%{fontname}-bold
23
[1088]24BuildRoot:  %{_tmppath}/%{name}-%{version}-root
25
26
27%description
28Charis SIL is serif fonts what provides glyphs for a wide range
29of Latin and Cyrillic characters.
30
[4866]31This package install regular, bold, and italic families.
[1088]32
33%description -l ja
34Charis SIL はラテン文字とキリル文字の広範なグリフを提供する
35セリフ体のフォントです。
36regular・bold・italic の3書体をインストールします。
37
38%package doc
39Summary: Charis SIL Font Documents
40Summary(ja): Charis SIL フォントドキュメント
41Group: User Interface/X
42
43%description doc
44This package includes important documents for Charis SIL fonts includes enduser
45license.
46
47%description -l ja doc
48このパッケージには Charis SIL フォントのライセンスを含むドキュメント類が含まれています。
49
50
51%prep
[4866]52%setup -q -n CharisSIL-%{version}
[1088]53
54%clean
55if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
56    rm -rf ${RPM_BUILD_ROOT}
57fi
58
59%build
60
61%install
62rm -rf %{buildroot}
63
64mkdir -p $RPM_BUILD_ROOT%{_fontdir}
65cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
66
[4866]67%post
[1088]68%__font_install_post %{_fontdir}
69
[4866]70%postun
[1088]71%__font_install_postun %{_fontdir}
72
73%files
[4866]74%{_fontdir}/CharisSIL-R.ttf
75%{_fontdir}/CharisSIL-B.ttf
76%{_fontdir}/CharisSIL-I.ttf
77%{_fontdir}/CharisSIL-BI.ttf
[1088]78
79%files doc
80%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
81
82%changelog
[10218]83* Mon May 02 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.000-1
84- new upstream release
85- changed URL
86
[8148]87* Sat Jan 11 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.114-1
88- new upstream release
89
[4866]90* Wed Oct 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.110-1
91- new upstream release
92- obsoleted -regular, -bold, -italic sub packages
93
[1088]94* Sat May 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.106-1
95- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.