[2449] | 1 | %define fontname textar |
---|
| 2 | %define _fontdir %{_datadir}/fonts/OpenType-%{fontname} |
---|
| 3 | |
---|
| 4 | Name: OpenType-%{fontname} |
---|
| 5 | Summary: A Japanese proportional font for Shift_JIS art |
---|
| 6 | Summary(ja): Shift_JIS アートのための日本語プロポーショナルフォント |
---|
[3884] | 7 | Epoch: 1 |
---|
| 8 | Version: 0.2 |
---|
[8160] | 9 | Release: 2%{?_dist_release} |
---|
[2449] | 10 | License: IPA font license |
---|
| 11 | Group: User Interface/X |
---|
| 12 | URL: http://code.google.com/p/textar-font/ |
---|
| 13 | |
---|
| 14 | Source0: %{fontname}-font-%{version}.tar.gz |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | BuildArch: noarch |
---|
| 17 | |
---|
| 18 | Requires: OpenType-%{fontname}-doc |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Textar Font is a japanese propotional font, derived from |
---|
| 22 | the IPA PGothic font ver.3.02. |
---|
| 23 | It aims to represent Shift_JIS art graphics properly, |
---|
| 24 | almost all of which require the MS PGothic font. |
---|
| 25 | |
---|
| 26 | - textar.otf |
---|
| 27 | - textar-min.ttf (covered only level1/2 kanji character) |
---|
| 28 | |
---|
| 29 | %description -l ja |
---|
| 30 | Textarフォントは、IPA Pゴシックフォント ver.3.02に由来する |
---|
| 31 | 日本語プロポーショナルフォントです。 |
---|
| 32 | これは、MS Pゴシックフォントを必要とするほとんどすべての |
---|
| 33 | Shift_JIS アートグラフィックを適切に表示することを目的としています。 |
---|
| 34 | |
---|
| 35 | - textar.otf |
---|
| 36 | - textar-min.ttf (第一/第二水準の漢字のみカバー) |
---|
| 37 | |
---|
| 38 | %package doc |
---|
| 39 | Summary: textar font documents |
---|
| 40 | Summary(ja): textar フォントドキュメント |
---|
| 41 | Group: User Interface/X |
---|
| 42 | |
---|
| 43 | %description doc |
---|
| 44 | This package includes important documents for textar font |
---|
| 45 | includes enduser license. |
---|
| 46 | |
---|
| 47 | %description -l ja doc |
---|
| 48 | このパッケージには textar フォントのライセンスを含む |
---|
| 49 | ドキュメント類が含まれています。 |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %prep |
---|
| 53 | %setup -qn %{fontname}-font-%{version} |
---|
| 54 | rm -rf src/ipagp.ttf |
---|
| 55 | rm -rf files/%{fontname}.ttf |
---|
| 56 | %__tar cjf src-%{fontname}.tar.bz2 src/ |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 60 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 61 | fi |
---|
| 62 | |
---|
| 63 | %build |
---|
| 64 | |
---|
| 65 | %install |
---|
| 66 | rm -rf %{buildroot} |
---|
| 67 | |
---|
| 68 | mkdir -p %{buildroot}%{_fontdir} |
---|
| 69 | cp -a files/*.[ot]tf %{buildroot}%{_fontdir} |
---|
| 70 | |
---|
| 71 | %post |
---|
| 72 | %__font_install_post %{_fontdir} |
---|
| 73 | |
---|
| 74 | %postun |
---|
| 75 | %__font_install_postun %{_fontdir} |
---|
| 76 | |
---|
| 77 | %files |
---|
| 78 | %{_fontdir}/%{fontname}.otf |
---|
| 79 | %{_fontdir}/%{fontname}-min.ttf |
---|
| 80 | |
---|
| 81 | %files doc |
---|
| 82 | %doc IPA_Font_License_Agreement_v1.0.txt README README_JA |
---|
| 83 | %doc src-*.bz2 |
---|
| 84 | |
---|
| 85 | %changelog |
---|
[8160] | 86 | * Sun Jan 12 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 0.2-2 |
---|
| 87 | - rebuilt with gcc-4.8 |
---|
| 88 | |
---|
[3884] | 89 | * Sat May 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2-1 |
---|
| 90 | - new upstream release |
---|
| 91 | - added Epoch:1 |
---|
| 92 | - fixed typo in %%changelog |
---|
| 93 | |
---|
| 94 | * Thu Jan 6 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11-1 |
---|
[2449] | 95 | - initial build for VineSeed |
---|