source: projects/specs/trunk/O/OpenType-texgyre-math/OpenType-texgyre-math-vl.spec @ 11200

Revision 11200, 2.1 KB checked in by ara_t, 6 years ago (diff)

new package: OpenType?-texgyre-math-20160519

Line 
1%define ver 20160519
2%define rel 1
3
4%define bonumver   1005
5%define pagellaver 1632
6%define scholaver  1533
7%define termesver  1543
8
9%define fontname texgyre-math
10%define _fontdir %{_datadir}/fonts/OpenType-%{fontname}
11
12Summary:     Maths fonts to match tex-gyre text fonts
13Summary(ja): TeX Gyre数式フォント
14Name:      OpenType-%{fontname}
15Version:   %{ver}
16Release:   %{rel}%{?_dist_release}
17Source0:   http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyrebonum-math-%{bonumver}.zip
18Source1:   http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyrepagella-math-%{pagellaver}.zip
19Source2:   http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyreschola-math-%{scholaver}.zip
20Source3:   http://www.gust.org.pl/projects/e-foundry/tg-math/download/texgyretermes-math-%{termesver}.zip
21Source4:   GUST-FONT-LICENSE.txt
22License:   GUST Font Licens
23Group:     User Interface/X
24URL:       http://www.gust.org.pl/projects/e-foundry/tg-math
25BuildArch: noarch
26BuildRoot: %{_tmppath}/%{name}-%{version}-root
27
28Vendor:       Project Vine
29Distribution: Vine Linux
30Packager:     ara_t
31
32
33%description
34TeXGyre-Math is a collection of maths fonts to match the text fonts of
35the TeXGyre collection.
36
37TeXGyre-Math-Bonum (to match TeXGyre-Bonum),
38TeXGyre-Math-Pagella (to match TeXGyre-Pagella),
39TeXGyre-Math-Schola (to match TeXGyre-Schola) and
40TeXGyre-Math-Termes (to match TeXGyre-Termes) fonts are provided.
41
42%prep
43%setup -q -T -a 0 -a 1 -a 2 -a 3 -c
44
45%build
46
47%install
48%{__rm} -rf ${RPM_BUILD_ROOT}
49%{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir}
50%{__mkdir_p} ${RPM_BUILD_ROOT}%{_docdir}/%{name}
51%{__install} -m0644 */opentype/*.otf ${RPM_BUILD_ROOT}%{_fontdir}
52%{__install} -m0644 */doc/test-word-texgyre_*_math.{docx,pdf} \
53  ${RPM_BUILD_ROOT}%{_docdir}/%{name}
54%{__install} -m0644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_docdir}/%{name}
55
56%clean
57%{__rm} -rf ${RPM_BUILD_ROOT}
58
59%post
60%__font_install_post %{_fontdir}
61
62%postun
63%__font_install_postun %{_fontdir}
64
65%files
66%defattr(-,root,root)
67%{_fontdir}
68%{_docdir}
69
70%changelog
71* Sun Oct 08 2017 Toshiaki Ara <ara_t@384.jp> 2.005-1
72- initial build for Vine Linux
73
Note: See TracBrowser for help on using the repository browser.