source: projects/specs/trunk/O/OpenType-stix/OpenType-stix-vl.spec @ 8160

Revision 8160, 2.0 KB checked in by tanakanata, 10 years ago (diff)

only rebuild

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.1.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 -c -n %{fontname_cap}v%{version}
42
43%clean
44if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
45    rm -rf ${RPM_BUILD_ROOT}
46fi
47
48%build
49
50%install
51rm -rf %{buildroot}
52
53mkdir -p $RPM_BUILD_ROOT%{_fontdir}
54cp -a Fonts/STIX-General/*.otf $RPM_BUILD_ROOT%{_fontdir}
55cp -a Fonts/STIX-Word/*.otf $RPM_BUILD_ROOT%{_fontdir}
56
57%post
58%__font_install_post %{_fontdir}
59
60%postun
61%__font_install_postun %{_fontdir}
62
63%files
64%{_fontdir}/*.otf
65
66%files doc
67%doc License/STIX\ Font\ License\ 2010.pdf
68%doc STIX\ Font\ 1.1.0\ Release\ Documentation.doc
69
70%changelog
71* Sun Jan 12 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.1.0-2
72- rebuilt with gcc-4.8
73
74* Wed Apr 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.0-1
75- new upstream release
76
77* Tue Aug 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-1
78- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.