source: projects/specs/branches/6/O/OpenType-stix/OpenType-stix-vl.spec @ 5456

Revision 5456, 2.0 KB checked in by kudoh, 12 years ago (diff)
Line 
1%define fontname stix
2%define fontname_cap STIX
3%define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
4
5Name: OpenType-%{fontname}
6Summary: the Scientific and Technical Information eXchange fonts
7Summary(ja): 数式用のフリーなフォント STIX フォント
8Version: 1.0.0
9Release: 2%{?_dist_release}
10License: OFL
11Group: User Interface/X
12URL: http://www.stixfonts.org/
13
14Source0: %{fontname_cap}v%{version}.zip
15
16BuildRequires: unzip
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildArch: noarch
19Requires: OpenType-%{fontname}-doc
20
21%description
22The mission of the Scientific and Technical Information Exchange (STIX) font
23creation project is the preparation of a comprehensive set of fonts that
24serve the scientific and engineering community in the process from manuscript
25creation through final publication, both in electronic and print formats.
26
27%package doc
28Summary: STIX font Document
29Summary(ja): STIX フォントドキュメント
30Group: User Interface/X
31
32%description doc
33This package includes important documents for STIX font
34includes enduser license.
35
36%description -l ja doc
37このパッケージには STIX フォントのライセンスを含む
38ドキュメント類が含まれています。
39
40%prep
41%setup -q -n %{fontname_cap}v%{version}
42%__tar cjf %{name}-documents.tar.bz2 Blocks/ Glyphs/ HTML/ \
43       STIX\ Font\ Release\ Documentation\ 2010.pdf
44
45%clean
46if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
47    rm -rf ${RPM_BUILD_ROOT}
48fi
49
50%build
51
52%install
53rm -rf %{buildroot}
54
55mkdir -p $RPM_BUILD_ROOT%{_fontdir}
56cp -a Fonts/*.otf $RPM_BUILD_ROOT%{_fontdir}
57
58%post
59%__font_install_post %{_fontdir}
60
61%postun
62%__font_install_postun %{_fontdir}
63
64%files
65%{_fontdir}/*.otf
66
67%files doc
68%doc License/STIX\ Font\ License\ 2010.pdf
69%doc %{name}-documents.tar.bz2
70
71%changelog
72* Sun Jan 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-2
73- rebuilt with rpm-4.8.1
74
75* Tue Aug 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-1
76- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.