1 | %define _fontdir %{_datadir}/fonts/TrueType-croscore |
---|
2 | |
---|
3 | Name: TrueType-croscore |
---|
4 | Summary: The width-compatible fonts for improved on-screen readability |
---|
5 | Summary(ja): オンスクリーンでの可読性改善のための width-compatible フォント |
---|
6 | Version: 1.31.0 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: OFL |
---|
9 | Group: User Interface/X |
---|
10 | #URL: http://gsdview.appspot.com/chromeos-localmirror/distfiles/ |
---|
11 | Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/croscorefonts-%{version}.tar.bz2 |
---|
12 | Source1: LICENSE |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildArch: noarch |
---|
16 | Requires: TrueType-croscore-doc = %{version} |
---|
17 | Requires: TrueType-croscore-sans = %{version} |
---|
18 | Requires: TrueType-croscore-mono = %{version} |
---|
19 | Requires: TrueType-croscore-serif = %{version} |
---|
20 | |
---|
21 | |
---|
22 | %description |
---|
23 | This package contains a collections of fonts that offers improved on-screen \ |
---|
24 | readability characteristics and the pan-European WGL character set and solves \ |
---|
25 | the needs of developers looking for width-compatible fonts to address document \ |
---|
26 | portability across platforms. |
---|
27 | |
---|
28 | |
---|
29 | %package sans |
---|
30 | Summary: croscore sans (Arimo) fonts |
---|
31 | Summary(ja): croscore sans (Arimo) フォント |
---|
32 | Group: User Interface/X |
---|
33 | Requires: %{name}-doc |
---|
34 | |
---|
35 | %description sans |
---|
36 | This package includes croscore sans (Arimo) fonts. |
---|
37 | |
---|
38 | %description -l ja sans |
---|
39 | このパッケージには croscore sans (Arimo) フォントが |
---|
40 | 含まれています。 |
---|
41 | |
---|
42 | |
---|
43 | %package mono |
---|
44 | Summary: croscore mono (Cousine) fonts |
---|
45 | Summary(ja): croscore mono (Cousine) フォント |
---|
46 | Group: User Interface/X |
---|
47 | Requires: %{name}-doc |
---|
48 | |
---|
49 | %description mono |
---|
50 | This package includes croscore mono (Cousine) fonts. |
---|
51 | |
---|
52 | %description -l ja mono |
---|
53 | このパッケージには croscore mono (Cousine) フォントが |
---|
54 | 含まれています。 |
---|
55 | |
---|
56 | |
---|
57 | %package serif |
---|
58 | Summary: croscore serif (Tinos, SymbolNeu) fonts |
---|
59 | Summary(ja): croscore serif (Tinos, SymbolNeu) フォント |
---|
60 | Group: User Interface/X |
---|
61 | Requires: %{name}-doc |
---|
62 | |
---|
63 | %description serif |
---|
64 | This package includes croscore serif (Tinos, SymbolNeu) fonts. |
---|
65 | |
---|
66 | %description -l ja serif |
---|
67 | このパッケージには croscore serif (Tinos, SymbolNeu) フォントが |
---|
68 | 含まれています。 |
---|
69 | |
---|
70 | |
---|
71 | %package doc |
---|
72 | Summary: croscore font Documents |
---|
73 | Summary(ja): croscore フォントドキュメント |
---|
74 | Group: User Interface/X |
---|
75 | |
---|
76 | %description doc |
---|
77 | This package includes important documents for croscore fonts |
---|
78 | includes enduser license. |
---|
79 | |
---|
80 | %description -l ja doc |
---|
81 | このパッケージには croscore フォントのライセンスを含む |
---|
82 | ドキュメント類が含まれています。 |
---|
83 | |
---|
84 | |
---|
85 | %prep |
---|
86 | %setup -q -n croscorefonts-%{version} |
---|
87 | cp -p %{SOURCE1} . |
---|
88 | |
---|
89 | %build |
---|
90 | |
---|
91 | %install |
---|
92 | rm -rf $RPM_BUILD_ROOT |
---|
93 | |
---|
94 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
95 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
96 | |
---|
97 | %clean |
---|
98 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
99 | rm -rf ${RPM_BUILD_ROOT} |
---|
100 | fi |
---|
101 | |
---|
102 | %post sans |
---|
103 | %__font_install_post %{_fontdir} |
---|
104 | |
---|
105 | %post mono |
---|
106 | %__font_install_post %{_fontdir} |
---|
107 | |
---|
108 | %post serif |
---|
109 | %__font_install_post %{_fontdir} |
---|
110 | |
---|
111 | %postun sans |
---|
112 | %__font_install_postun %{_fontdir} |
---|
113 | |
---|
114 | %postun mono |
---|
115 | %__font_install_postun %{_fontdir} |
---|
116 | |
---|
117 | %postun serif |
---|
118 | %__font_install_postun %{_fontdir} |
---|
119 | |
---|
120 | %files |
---|
121 | |
---|
122 | %files doc |
---|
123 | %doc LICENSE |
---|
124 | |
---|
125 | %files sans |
---|
126 | %{_fontdir}/Arimo*.ttf |
---|
127 | |
---|
128 | %files mono |
---|
129 | %{_fontdir}/Cousine*.ttf |
---|
130 | |
---|
131 | %files serif |
---|
132 | %{_fontdir}/Tinos*.ttf |
---|
133 | |
---|
134 | |
---|
135 | %changelog |
---|
136 | * Mon Apr 25 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.31.0-1 |
---|
137 | - new upstream release |
---|
138 | - changed archive type to bz2 |
---|
139 | - fixed %%files serif |
---|
140 | |
---|
141 | * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.23.0-2 |
---|
142 | - built with gcc-4.8 |
---|
143 | |
---|
144 | * Fri Nov 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.23.0-1 |
---|
145 | - new upstream release |
---|
146 | - added Source1 |
---|
147 | |
---|
148 | * Fri Jul 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.21.0-1 |
---|
149 | - initial build for VineSeed |
---|