[6371] | 1 | %define fontname misaki |
---|
| 2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
| 3 | |
---|
| 4 | Name: TrueType-%{fontname} |
---|
| 5 | Summary: Misaki font |
---|
| 6 | Summary(ja): 美咲フォント |
---|
| 7 | Version: 20120603 |
---|
[8178] | 8 | Release: 2%{?_dist_release} |
---|
[6371] | 9 | License: m plus font license |
---|
| 10 | Group: User Interface/X |
---|
| 11 | URL: http://www.geocities.jp/littlimi/misaki.htm |
---|
| 12 | |
---|
| 13 | Source0: %{fontname}_ttf_2012-06-03.zip |
---|
| 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | BuildArch: noarch |
---|
| 17 | Buildrequires: unzip |
---|
| 18 | |
---|
| 19 | Requires: TrueType-%{fontname}-gothic = %{version} |
---|
| 20 | Requires: TrueType-%{fontname}-mincho = %{version} |
---|
| 21 | Requires: TrueType-%{fontname}-doc = %{version} |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: kudoh |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | Misaki font was originally made for PCE-500 SCRNJP 8×8 bitmap font. |
---|
| 29 | Now, this font is provided as TrueType font. |
---|
| 30 | |
---|
| 31 | %description -l ja |
---|
| 32 | 美咲フォントは元々 PC-E500 SCRNJP 用に作られた |
---|
| 33 | 8×8 ビットマップフォントです。 |
---|
| 34 | 現在は TrueType フォントとして提供されています。 |
---|
| 35 | |
---|
| 36 | #-- ゴシック |
---|
| 37 | %package gothic |
---|
| 38 | Summary: Misaki gothic Font |
---|
| 39 | Summary(ja): 美咲フォント(ゴシック体) |
---|
| 40 | Group: User Interface/X |
---|
| 41 | Requires: TrueType-misaki-doc |
---|
| 42 | |
---|
| 43 | %description gothic |
---|
| 44 | This package include Misaki gothic TrueType font. |
---|
| 45 | |
---|
| 46 | %description -l ja gothic |
---|
| 47 | このパッケージには美咲フォントゴシック体が含まれています。 |
---|
| 48 | |
---|
| 49 | #-- 明朝 |
---|
| 50 | %package mincho |
---|
| 51 | Summary: Misaki mincho Font |
---|
| 52 | Summary(ja): 美咲フォント(明朝体) |
---|
| 53 | Group: User Interface/X |
---|
| 54 | Requires: TrueType-misaki-doc |
---|
| 55 | |
---|
| 56 | %description mincho |
---|
| 57 | This package include Misaki mincho TrueType font. |
---|
| 58 | |
---|
| 59 | %description -l ja mincho |
---|
| 60 | このパッケージには美咲フォント明朝体が含まれています。 |
---|
| 61 | |
---|
| 62 | %package doc |
---|
| 63 | Summary: Misaki font documents |
---|
| 64 | Summary(ja): 美咲フォントドキュメント |
---|
| 65 | Group: User Interface/X |
---|
| 66 | |
---|
| 67 | %description doc |
---|
| 68 | This package includes important documents for Misaki font |
---|
| 69 | includes enduser license. |
---|
| 70 | |
---|
| 71 | %description -l ja doc |
---|
| 72 | このパッケージには美咲フォントのライセンスを含む |
---|
| 73 | ドキュメント類が含まれています。 |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %prep |
---|
| 77 | %setup -qcT |
---|
| 78 | %{_bindir}/unzip -oq %{SOURCE0} |
---|
| 79 | # permission fixed |
---|
| 80 | chmod -x *.txt |
---|
| 81 | chmod 644 *.ttf |
---|
| 82 | |
---|
| 83 | %clean |
---|
| 84 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 85 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 86 | fi |
---|
| 87 | |
---|
| 88 | %build |
---|
| 89 | |
---|
| 90 | %install |
---|
| 91 | rm -rf %{buildroot} |
---|
| 92 | |
---|
| 93 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
| 94 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %post gothic |
---|
| 98 | %__font_install_post %{_fontdir} |
---|
| 99 | |
---|
| 100 | %post mincho |
---|
| 101 | %__font_install_post %{_fontdir} |
---|
| 102 | |
---|
| 103 | %postun gothic |
---|
| 104 | %__font_install_postun %{_fontdir} |
---|
| 105 | |
---|
| 106 | %postun mincho |
---|
| 107 | %__font_install_postun %{_fontdir} |
---|
| 108 | |
---|
| 109 | %files |
---|
| 110 | |
---|
| 111 | %files gothic |
---|
| 112 | %{_fontdir}/misaki_gothic.ttf |
---|
| 113 | |
---|
| 114 | %files mincho |
---|
| 115 | %{_fontdir}/misaki_mincho.ttf |
---|
| 116 | |
---|
| 117 | %files doc |
---|
| 118 | %doc *.txt |
---|
| 119 | |
---|
| 120 | %changelog |
---|
[8178] | 121 | * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 20120603-2 |
---|
| 122 | - built with gcc-4.8 |
---|
| 123 | |
---|
[6371] | 124 | * Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120603-1 |
---|
| 125 | - initial build for VineSeed |
---|