1 | %define _fontdir %{_datadir}/fonts/%{name} |
---|
2 | %define mplus_version 042 |
---|
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: 20110825 |
---|
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/53034/Migu-1C-%{version}.zip |
---|
14 | Source1: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/53034/Migu-1M-%{version}.zip |
---|
15 | Source2: http://sourceforge.jp/projects/mix-mplus-ipa/downloads/53034/Migu-1P-%{version}.zip |
---|
16 | |
---|
17 | BuildRequires: unzip |
---|
18 | |
---|
19 | BuildArch: noarch |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: munepi, kudoh |
---|
25 | |
---|
26 | %description |
---|
27 | Migu is a mixed font with M-plus and IPA. |
---|
28 | It is based on MigMix. |
---|
29 | |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | Migu は M+ と IPA の合成フォントです。 |
---|
33 | MigMix フォントを元にいくつかの改変がされています。 |
---|
34 | |
---|
35 | %package doc |
---|
36 | Summary: Migu font documents |
---|
37 | Summary(ja): Migu フォントドキュメント |
---|
38 | Group: User Interface/X |
---|
39 | |
---|
40 | %description doc |
---|
41 | This package includes important documents for Migu fonts |
---|
42 | includes enduser license. |
---|
43 | |
---|
44 | %description -l ja doc |
---|
45 | このパッケージには Migu フォントのライセンスを含む |
---|
46 | ドキュメント類が含まれています。 |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q -c -n %{name}-%{version} -a 1 -a 2 |
---|
50 | |
---|
51 | %build |
---|
52 | |
---|
53 | %install |
---|
54 | %__rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | %__mkdir_p $RPM_BUILD_ROOT%{_fontdir} |
---|
57 | %__cp -a Migu-1{C,M,P}-%{version}/Migu-*.ttf $RPM_BUILD_ROOT%{_fontdir}/ |
---|
58 | |
---|
59 | %clean |
---|
60 | %__rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %post |
---|
63 | %__font_install_post %{_fontdir} |
---|
64 | |
---|
65 | %postun |
---|
66 | %__font_install_postun %{_fontdir} |
---|
67 | |
---|
68 | %files |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %{_fontdir}/Migu-1C-bold.ttf |
---|
71 | %{_fontdir}/Migu-1C-regular.ttf |
---|
72 | %{_fontdir}/Migu-1M-bold.ttf |
---|
73 | %{_fontdir}/Migu-1M-regular.ttf |
---|
74 | %{_fontdir}/Migu-1P-bold.ttf |
---|
75 | %{_fontdir}/Migu-1P-regular.ttf |
---|
76 | |
---|
77 | %files doc |
---|
78 | %defattr(-,root,root,-) |
---|
79 | %doc Migu-1C-%{version}/Migu-README.txt |
---|
80 | %doc Migu-1C-%{version}/mplus-TESTFLIGHT-%{mplus_version} |
---|
81 | %doc Migu-1C-%{version}/ipag%{ipag_version} |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Sun Aug 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 20110825-1 |
---|
85 | - new upstream release |
---|
86 | - addes doc subpackage |
---|
87 | |
---|
88 | * Sun Jun 5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 20110514-1 |
---|
89 | - Initial build. |
---|