1 | %define ver 2.005 |
---|
2 | %define rel 1 |
---|
3 | |
---|
4 | %define fontname texgyre |
---|
5 | %define _fontdir %{_datadir}/fonts/OpenType-%{fontname} |
---|
6 | |
---|
7 | Summary: The TeX Gyre (TG) Collection of Fonts |
---|
8 | Summary(ja): TeX Gyreフォントコレクション |
---|
9 | Name: OpenType-%{fontname} |
---|
10 | Version: %{ver} |
---|
11 | Release: %{rel}%{?_dist_release} |
---|
12 | Source0: http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-%{version}otf.zip |
---|
13 | Source1: GUST-FONT-LICENSE.txt |
---|
14 | License: GUST Font Licens |
---|
15 | Group: User Interface/X |
---|
16 | URL: http://www.gust.org.pl/projects/e-foundry/tex-gyre |
---|
17 | BuildArch: noarch |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: ara_t |
---|
23 | |
---|
24 | |
---|
25 | %description |
---|
26 | tex-gyre -- TeX Fonts extending freely available URW fonts |
---|
27 | The TeX-Gyre bundle consists of six font families: |
---|
28 | |
---|
29 | TeX Gyre Adventor is based on the URW Gothic L family of fonts |
---|
30 | (which is derived from ITC Avant Garde Gothic, |
---|
31 | designed by Herb Lubalin and Tom Carnase). |
---|
32 | |
---|
33 | TeX Gyre Bonum is based on the URW Bookman L family |
---|
34 | (from Bookman Old Style, designed by Alexander Phemister). |
---|
35 | |
---|
36 | TeX Gyre Chorus is based on URW Chancery L Medium Italic |
---|
37 | (from ITC Zapf Chancery, designed by Hermann Zapf in 1979). |
---|
38 | |
---|
39 | TeX-Gyre Cursor is based on URW Nimbus Mono L |
---|
40 | (based on Courier, designed by Howard G. Kettler in 1955, for IBM). |
---|
41 | |
---|
42 | TeX Gyre Heros is based on URW Nimbus Sans L |
---|
43 | (from Helvetica, prepared by Max Miedinger, with Eduard Hoffmann in 1957). |
---|
44 | |
---|
45 | TeX Gyre Pagella is based on URW Palladio L |
---|
46 | (from Palatino, designed by Hermann Zapf in the 1940s). |
---|
47 | |
---|
48 | TeX Gyre Schola is based on the URW Century Schoolbook L family |
---|
49 | (which was designed by Morris Fuller Benton for the American Type Founders). |
---|
50 | |
---|
51 | TeX Gyre Termes is based on the URW Nimbus Roman No9 L family of fonts |
---|
52 | (whose original, Times, was designed by Stanley Morison together |
---|
53 | with Starling Burgess and Victor Lardent and first offered by Monotype). |
---|
54 | |
---|
55 | %prep |
---|
56 | %setup -q -T -a 0 -c |
---|
57 | |
---|
58 | %build |
---|
59 | |
---|
60 | %install |
---|
61 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
62 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{_fontdir} |
---|
63 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{_docdir}/%{name} |
---|
64 | %{__install} -m0644 *.otf ${RPM_BUILD_ROOT}%{_fontdir} |
---|
65 | %{__install} -m0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_docdir}/%{name} |
---|
66 | |
---|
67 | %clean |
---|
68 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
69 | |
---|
70 | %post |
---|
71 | %__font_install_post %{_fontdir} |
---|
72 | |
---|
73 | %postun |
---|
74 | %__font_install_postun %{_fontdir} |
---|
75 | |
---|
76 | %files |
---|
77 | %defattr(-,root,root) |
---|
78 | %{_fontdir} |
---|
79 | %{_docdir} |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Sun Oct 08 2017 Toshiaki Ara <ara_t@384.jp> 2.005-1 |
---|
83 | - initial build for Vine Linux |
---|
84 | |
---|