[521] | 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 |
---|
[2039] | 8 | Release: 2%{?_dist_release} |
---|
[521] | 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 | |
---|
[2039] | 20 | Obsoletes: TrueType-konatu-fixed, TrueType-konatu-proportional |
---|
| 21 | |
---|
[521] | 22 | %description |
---|
[2039] | 23 | Konatu is Gothic type font set for Japanese. |
---|
[521] | 24 | This font was created as BeOS(ZETA) bitmap font at first, |
---|
[2039] | 25 | and also made as TrueType font. |
---|
[521] | 26 | |
---|
| 27 | This font is contained two type fonts. |
---|
| 28 | |
---|
| 29 | - Konatsu.ttf(proportional) |
---|
[2039] | 30 | - KonatuTohaba.ttf (monospace) |
---|
[521] | 31 | |
---|
| 32 | %description -l ja |
---|
[2039] | 33 | 小夏フォントはゴシック系の日本語フォントセットです。 |
---|
[521] | 34 | 当初は BeOS(ZETA) のビットマップフォントとして |
---|
| 35 | 作られ、その後 TrueType フォントとしても作成されました。 |
---|
| 36 | |
---|
[2039] | 37 | このフォントは2つのタイプのフォントを含んでいます。 |
---|
[521] | 38 | |
---|
| 39 | - Konatsu.ttf(プロポーショナル) |
---|
| 40 | - KonatuTohaba.ttf (等幅) |
---|
| 41 | |
---|
| 42 | %package doc |
---|
| 43 | Summary: Konatu font Documents |
---|
| 44 | Summary(ja): 小夏フォントドキュメント |
---|
| 45 | Group: User Interface/X |
---|
| 46 | |
---|
| 47 | %description doc |
---|
| 48 | This package includes important documents for Konatu font |
---|
| 49 | includes enduser license. |
---|
| 50 | |
---|
| 51 | %description -l ja doc |
---|
| 52 | このパッケージには小夏フォントのライセンスを含む |
---|
| 53 | ドキュメント類が含まれています。 |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q -n Konatu_ver_%{version} |
---|
| 58 | |
---|
| 59 | %clean |
---|
| 60 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 61 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 62 | fi |
---|
| 63 | |
---|
| 64 | %build |
---|
| 65 | |
---|
| 66 | %install |
---|
| 67 | rm -rf %{buildroot} |
---|
| 68 | |
---|
| 69 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
| 70 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
| 71 | |
---|
[2039] | 72 | %post |
---|
[521] | 73 | %__font_install_post %{_fontdir} |
---|
| 74 | |
---|
[2039] | 75 | %postun |
---|
[521] | 76 | %__font_install_postun %{_fontdir} |
---|
| 77 | |
---|
| 78 | %files |
---|
[2039] | 79 | %{_fontdir}/*.ttf |
---|
[521] | 80 | |
---|
| 81 | %files doc |
---|
| 82 | %doc *.txt |
---|
| 83 | |
---|
| 84 | %changelog |
---|
[2039] | 85 | * Mon Oct 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 26-2 |
---|
| 86 | - unified fixed and proportional font again |
---|
| 87 | - fixed description a little |
---|
| 88 | |
---|
[521] | 89 | * Wed Jan 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 26-1 |
---|
| 90 | - new upstream release |
---|
[2039] | 91 | - splitted two packages - mono and proportional |
---|
[521] | 92 | |
---|
| 93 | * Fri Oct 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 25-1 |
---|
| 94 | - initial build for Vine Linux |
---|