1 | %define fontname migmix |
---|
2 | %define _fontname MigMix |
---|
3 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
4 | |
---|
5 | Name: TrueType-%{fontname} |
---|
6 | Summary: MigMix fonts are combined fonts that use IPA and M+ fonts |
---|
7 | Summary(ja): M+とIPAの合成フォント MigMix フォント |
---|
8 | Version: 20110418 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | License: IPA Font License, M plus Font License |
---|
11 | Group: User Interface/X |
---|
12 | URL: http://mix-mplus-ipa.sourceforge.jp/migmix/ |
---|
13 | |
---|
14 | Source0: %{_fontname}-%{version}.tar.bz2 |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | Requires: TrueType-%{fontname}-doc |
---|
19 | |
---|
20 | %description |
---|
21 | MigMix font are combined fonts that use IPA Gothic and M+ fonts. |
---|
22 | See below in package contens. |
---|
23 | |
---|
24 | - MigMix-1M-bold.ttf |
---|
25 | - MigMix-1P-bold.ttf |
---|
26 | - MigMix-1M-regular.ttf |
---|
27 | - MigMix-1P-regular.ttf |
---|
28 | |
---|
29 | - MigMix-2M-bold.ttf |
---|
30 | - MigMix-2P-bold.ttf |
---|
31 | - MigMix-2M-regular.ttf |
---|
32 | - MigMix-2P-regular.ttf |
---|
33 | |
---|
34 | %description -l ja |
---|
35 | MigMix(ミグミックス)フォントは、IPA ゴシックと |
---|
36 | M+ フォントの合成フォントです。 |
---|
37 | パッケージの内容は、以下を参照してください。 |
---|
38 | |
---|
39 | - MigMix-1M-bold.ttf |
---|
40 | - MigMix-1P-bold.ttf |
---|
41 | - MigMix-1M-regular.ttf |
---|
42 | - MigMix-1P-regular.ttf |
---|
43 | |
---|
44 | - MigMix-2M-bold.ttf |
---|
45 | - MigMix-2P-bold.ttf |
---|
46 | - MigMix-2M-regular.ttf |
---|
47 | - MigMix-2P-regular.ttf |
---|
48 | |
---|
49 | %package doc |
---|
50 | Summary: MigMix font documents |
---|
51 | Summary(ja): MigMix フォントドキュメント |
---|
52 | Group: User Interface/X |
---|
53 | |
---|
54 | %description doc |
---|
55 | This package includes important documents for MigMix fonts |
---|
56 | includes enduser license. |
---|
57 | |
---|
58 | %description -l ja doc |
---|
59 | このパッケージには MigMix フォントのライセンスを含む |
---|
60 | ドキュメント類が含まれています。 |
---|
61 | |
---|
62 | |
---|
63 | %prep |
---|
64 | %setup -q -n %{_fontname}-%{version} |
---|
65 | |
---|
66 | %clean |
---|
67 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
68 | rm -rf ${RPM_BUILD_ROOT} |
---|
69 | fi |
---|
70 | |
---|
71 | %build |
---|
72 | |
---|
73 | %install |
---|
74 | rm -rf %{buildroot} |
---|
75 | |
---|
76 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
77 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
78 | |
---|
79 | %post |
---|
80 | %__font_install_post %{_fontdir} |
---|
81 | |
---|
82 | %postun |
---|
83 | %__font_install_postun %{_fontdir} |
---|
84 | |
---|
85 | %files |
---|
86 | %{_fontdir}/*.ttf |
---|
87 | |
---|
88 | %files doc |
---|
89 | %doc ipag00302/*.txt mplus-TESTFLIGHT-03*/* MigMix-README.txt |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110418-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sat Feb 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110207-1 |
---|
96 | - initial build for VineSeed |
---|