1 | %define fontname konatu |
---|
2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
3 | |
---|
4 | Name: TrueType-%{fontname} |
---|
5 | Summary: Konatu font - Gothic type font set for Japanese |
---|
6 | Summary(ja): ゴシック系日本語フォントセット 小夏フォント |
---|
7 | Version: 26 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: Creative Commons (CC-BY-SA) |
---|
10 | Group: User Interface/X |
---|
11 | URL: http://www.masuseki.com/index.php?u=be/konatu.htm |
---|
12 | |
---|
13 | Source0: Konatu_ver_%{version}.zip |
---|
14 | |
---|
15 | BuildRequires: unzip |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | Requires: %{name}-doc |
---|
19 | |
---|
20 | %description |
---|
21 | Konatu is Gothic type font set for Japanese. |
---|
22 | This font was created as BeOS(ZETA) bitmap font at first, |
---|
23 | and also made as TrueType font. |
---|
24 | |
---|
25 | This font is contained two type fonts. |
---|
26 | |
---|
27 | - Konatsu.ttf(proportional) |
---|
28 | - KonatuTohaba.ttf (fixed) |
---|
29 | |
---|
30 | %description -l ja |
---|
31 | 小夏フォントはゴシック形の日本語フォントセットです。 |
---|
32 | 当初は BeOS(ZETA) のビットマップフォントとして |
---|
33 | 作られ、その後 TrueType フォントとしても作成されました。 |
---|
34 | |
---|
35 | このフォントは2つのタイプのフォントを含んでいます。 |
---|
36 | |
---|
37 | - Konatsu.ttf(プロポーショナル) |
---|
38 | - KonatuTohaba.ttf (等幅) |
---|
39 | |
---|
40 | このパッケージは上記2つのフォントをインストールするメタパッケージです。 |
---|
41 | |
---|
42 | %package fixed |
---|
43 | Summary: Konatu fonts (fixed) |
---|
44 | Summary(ja): 小夏フォント(等幅) |
---|
45 | Group: User Interface/X |
---|
46 | Requires: %{name}-doc |
---|
47 | |
---|
48 | %description fixed |
---|
49 | This package includes Konatu TrueType fonts (fixed). |
---|
50 | |
---|
51 | %description -l ja fixed |
---|
52 | このパッケージには小夏フォント(等幅)が含まれています。 |
---|
53 | |
---|
54 | |
---|
55 | %package proportional |
---|
56 | Summary(ja): 小夏フォント(プロポーショナル) |
---|
57 | Group: User Interface/X |
---|
58 | Requires: %{name}-doc |
---|
59 | |
---|
60 | %description proportional |
---|
61 | This package includes Konatu TrueType fonts (proportional). |
---|
62 | |
---|
63 | %description -l ja proportional |
---|
64 | このパッケージには小夏フォント(プロポーショナル)が含まれています。 |
---|
65 | |
---|
66 | |
---|
67 | %package doc |
---|
68 | Summary: Konatu font Documents |
---|
69 | Summary(ja): 小夏フォントドキュメント |
---|
70 | Group: User Interface/X |
---|
71 | |
---|
72 | %description doc |
---|
73 | This package includes important documents for Konatu font |
---|
74 | includes enduser license. |
---|
75 | |
---|
76 | %description -l ja doc |
---|
77 | このパッケージには小夏フォントのライセンスを含む |
---|
78 | ドキュメント類が含まれています。 |
---|
79 | |
---|
80 | |
---|
81 | %prep |
---|
82 | %setup -q -n Konatu_ver_%{version} |
---|
83 | |
---|
84 | %clean |
---|
85 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
86 | rm -rf ${RPM_BUILD_ROOT} |
---|
87 | fi |
---|
88 | |
---|
89 | %build |
---|
90 | |
---|
91 | %install |
---|
92 | rm -rf %{buildroot} |
---|
93 | |
---|
94 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
95 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
96 | |
---|
97 | %post fixed |
---|
98 | %__font_install_post %{_fontdir} |
---|
99 | |
---|
100 | %post proportional |
---|
101 | %__font_install_post %{_fontdir} |
---|
102 | |
---|
103 | %postun fixed |
---|
104 | %__font_install_postun %{_fontdir} |
---|
105 | |
---|
106 | %postun proportional |
---|
107 | %__font_install_postun %{_fontdir} |
---|
108 | |
---|
109 | %files |
---|
110 | |
---|
111 | %files fixed |
---|
112 | %{_fontdir}/KonatuTohaba.ttf |
---|
113 | |
---|
114 | %files proportional |
---|
115 | %{_fontdir}/Konatu.ttf |
---|
116 | |
---|
117 | %files doc |
---|
118 | %doc *.txt |
---|
119 | |
---|
120 | %changelog |
---|
121 | * Wed Jan 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 26-1 |
---|
122 | - new upstream release |
---|
123 | - splitted two packages - fixed and proportional |
---|
124 | |
---|
125 | * Fri Oct 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 25-1 |
---|
126 | - initial build for Vine Linux |
---|