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: 20130617 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | License: IPA Font License |
---|
11 | Group: User Interface/X |
---|
12 | URL: http://mix-mplus-ipa.sourceforge.jp/migmix/ |
---|
13 | |
---|
14 | Source0: %{_fontname}-%{version}.tar.xz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | Requires: TrueType-%{fontname}-doc |
---|
19 | |
---|
20 | BuildRequires: xz |
---|
21 | |
---|
22 | %description |
---|
23 | MigMix font are combined fonts that use IPA Gothic and M+ fonts. |
---|
24 | See below in package contens. |
---|
25 | |
---|
26 | - MigMix-1M-bold.ttf |
---|
27 | - MigMix-1P-bold.ttf |
---|
28 | - MigMix-1M-regular.ttf |
---|
29 | - MigMix-1P-regular.ttf |
---|
30 | |
---|
31 | - MigMix-2M-bold.ttf |
---|
32 | - MigMix-2P-bold.ttf |
---|
33 | - MigMix-2M-regular.ttf |
---|
34 | - MigMix-2P-regular.ttf |
---|
35 | |
---|
36 | %description -l ja |
---|
37 | MigMix(ミグミックス)フォントは、IPA ゴシックと |
---|
38 | M+ フォントの合成フォントです。 |
---|
39 | パッケージの内容は、以下を参照してください。 |
---|
40 | |
---|
41 | - MigMix-1M-bold.ttf |
---|
42 | - MigMix-1P-bold.ttf |
---|
43 | - MigMix-1M-regular.ttf |
---|
44 | - MigMix-1P-regular.ttf |
---|
45 | |
---|
46 | - MigMix-2M-bold.ttf |
---|
47 | - MigMix-2P-bold.ttf |
---|
48 | - MigMix-2M-regular.ttf |
---|
49 | - MigMix-2P-regular.ttf |
---|
50 | |
---|
51 | %package doc |
---|
52 | Summary: MigMix font documents |
---|
53 | Summary(ja): MigMix フォントドキュメント |
---|
54 | Group: User Interface/X |
---|
55 | |
---|
56 | %description doc |
---|
57 | This package includes important documents for MigMix fonts |
---|
58 | includes enduser license. |
---|
59 | |
---|
60 | %description -l ja doc |
---|
61 | このパッケージには MigMix フォントのライセンスを含む |
---|
62 | ドキュメント類が含まれています。 |
---|
63 | |
---|
64 | |
---|
65 | %prep |
---|
66 | %setup -q -n %{_fontname}-%{version} |
---|
67 | |
---|
68 | %clean |
---|
69 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
70 | rm -rf ${RPM_BUILD_ROOT} |
---|
71 | fi |
---|
72 | |
---|
73 | %build |
---|
74 | |
---|
75 | %install |
---|
76 | rm -rf %{buildroot} |
---|
77 | |
---|
78 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
79 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
80 | |
---|
81 | %post |
---|
82 | %__font_install_post %{_fontdir} |
---|
83 | |
---|
84 | %postun |
---|
85 | %__font_install_postun %{_fontdir} |
---|
86 | |
---|
87 | %files |
---|
88 | %{_fontdir}/*.ttf |
---|
89 | |
---|
90 | %files doc |
---|
91 | %doc ipag0030*/*.txt migmix-README.txt |
---|
92 | |
---|
93 | %changelog |
---|
94 | * Sat Jun 29 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20130617-1 |
---|
95 | - new upstream release |
---|
96 | |
---|
97 | * Wed May 01 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20130430-1 |
---|
98 | - new upstream release |
---|
99 | |
---|
100 | * Fri Nov 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20121030-1 |
---|
101 | - new upstream release |
---|
102 | |
---|
103 | * Sat Jul 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120411-2 |
---|
104 | - removed M plus Font License |
---|
105 | - because IPA font Lisence do not coexist other lisence |
---|
106 | (http://d.hatena.ne.jp/itouhiro/20120607) |
---|
107 | |
---|
108 | * Wed Apr 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120411-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Wed Oct 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111002-1 |
---|
112 | - new upstream release |
---|
113 | |
---|
114 | * Sat Aug 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110825-1 |
---|
115 | - new upstream release |
---|
116 | - changed source archive type |
---|
117 | - bzip2 to xz |
---|
118 | - added BuildRequires: xz |
---|
119 | |
---|
120 | * Tue Jun 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110514-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110418-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sat Feb 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110207-1 |
---|
127 | - initial build for VineSeed |
---|