1 | %define _fontdir %{_datadir}/fonts/%{name} |
---|
2 | %define mplus_version 039 |
---|
3 | %define ipag_version 00303 |
---|
4 | |
---|
5 | Summary: mixed font with M-plus and IPA |
---|
6 | Summary(ja): IPA と M+ フォントの合成フォント |
---|
7 | Name: TrueType-migu |
---|
8 | Version: 20110514 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | License: M+ FONT LICENSE, IPA Font License v1.0 |
---|
11 | Group: User Interface/X |
---|
12 | URL: http://mix-mplus-ipa.sourceforge.jp/ |
---|
13 | Source0: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/51978/Migu-1C-%{version}.zip |
---|
14 | Source1: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/51978/Migu-1M-%{version}.zip |
---|
15 | Source2: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/51978/Migu-1P-%{version}.zip |
---|
16 | |
---|
17 | BuildRequires: unzip |
---|
18 | |
---|
19 | BuildArch: noarch |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
21 | |
---|
22 | %description |
---|
23 | Migu is a mixed font with M-plus and IPA. |
---|
24 | It is based on MigMix. |
---|
25 | |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | Migu は M+ と IPA の合成フォントです。 |
---|
29 | MigMix フォントを元にいくつかの改変がされています。 |
---|
30 | |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q -c -n %{name}-%{version} -a 1 -a 2 |
---|
34 | |
---|
35 | %build |
---|
36 | |
---|
37 | %install |
---|
38 | %__rm -rf $RPM_BUILD_ROOT |
---|
39 | |
---|
40 | %__mkdir_p $RPM_BUILD_ROOT%{_fontdir} |
---|
41 | %__cp -a Migu-1{C,M,P}-%{version}/Migu-*.ttf $RPM_BUILD_ROOT%{_fontdir}/ |
---|
42 | |
---|
43 | %clean |
---|
44 | %__rm -rf $RPM_BUILD_ROOT |
---|
45 | |
---|
46 | %post |
---|
47 | %__font_install_post %{_fontdir} |
---|
48 | |
---|
49 | %postun |
---|
50 | %__font_install_postun %{_fontdir} |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc Migu-1C-20110514/Migu-README.txt |
---|
55 | %doc Migu-1C-20110514/mplus-TESTFLIGHT-%{mplus_version} |
---|
56 | %doc Migu-1C-20110514/ipag%{ipag_version} |
---|
57 | %{_fontdir}/Migu-1C-bold.ttf |
---|
58 | %{_fontdir}/Migu-1C-regular.ttf |
---|
59 | %{_fontdir}/Migu-1M-bold.ttf |
---|
60 | %{_fontdir}/Migu-1M-regular.ttf |
---|
61 | %{_fontdir}/Migu-1P-bold.ttf |
---|
62 | %{_fontdir}/Migu-1P-regular.ttf |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Sun Jun 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 20110514-1 |
---|
66 | - Initial build. |
---|