source: projects/specs/trunk/T/TrueType-migmix/TrueType-migmix-vl.spec @ 4668

Revision 4668, 2.5 KB checked in by kudoh, 13 years ago (diff)

%define fontname migmix
%define _fontname MigMix?
%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}

Name: TrueType?-%{fontname}
Summary: MigMix? fonts are combined fonts that use IPA and M+ fonts
Summary(ja): M+とIPAの合成フォント MigMix? フォント
Version: 20110825
Release: 1%{?_dist_release}
License: IPA Font License, M plus Font License
Group: User Interface/X
URL:  http://mix-mplus-ipa.sourceforge.jp/migmix/

Source0: %{_fontname}-%{version}.tar.xz

BuildRoot?: %{_tmppath}/%{name}-%{version}-root
BuildArch?: noarch
Requires: TrueType?-%{fontname}-doc

BuildRequires?: xz

%description
MigMix? font are combined fonts that use IPA Gothic and M+ fonts.
See below in package contens.

%description -l ja
MigMix?(ミグミックス)フォントは、IPA ゴシックと
M+ フォントの合成フォントです。
パッケージの内容は、以下を参照してください。

%package doc
Summary: MigMix? font documents
Summary(ja): MigMix? フォントドキュメント
Group: User Interface/X

%description doc
This package includes important documents for MigMix? fonts
includes enduser license.

%description -l ja doc
このパッケージには MigMix? フォントのライセンスを含む
ドキュメント類が含まれています。

%prep
%setup -q -n %{_fontname}-%{version}

%clean
if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then

rm -rf ${RPM_BUILD_ROOT}

fi

%build

%install
rm -rf %{buildroot}

mkdir -p $RPM_BUILD_ROOT%{_fontdir}
cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}

%post
%font_install_post %{_fontdir}

%postun
%font_install_postun %{_fontdir}

%files
%{_fontdir}/*.ttf

%files doc
%doc ipag0030*/*.txt mplus-TESTFLIGHT-04*/* MigMix?-README.txt

%changelog

  • Sat Aug 27 2011 Toshiharu Kudoh <toshi.kd2@…> - 20110825-1
  • new upstream release
  • changed source archive type
  • Tue Jun 07 2011 Toshiharu Kudoh <toshi.kd2@…> - 20110514-1
  • new upstream release
  • Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@…> - 20110418-1
  • new upstream release
  • Sat Feb 26 2011 Toshiharu Kudoh <toshi.kd2@…> - 20110207-1
  • initial build for VineSeed
Line 
1%define fontname migmix
2%define _fontname MigMix
3%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
4
5Name: TrueType-%{fontname}
6Summary: MigMix fonts are combined fonts that use IPA and M+ fonts
7Summary(ja): M+とIPAの合成フォント MigMix フォント
8Version: 20110825
9Release: 1%{?_dist_release}
10License: IPA Font License, M plus Font License
11Group: User Interface/X
12URL: http://mix-mplus-ipa.sourceforge.jp/migmix/
13
14Source0: %{_fontname}-%{version}.tar.xz
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildArch: noarch
18Requires: TrueType-%{fontname}-doc
19
20BuildRequires: xz
21
22%description
23MigMix font are combined fonts that use IPA Gothic and M+ fonts.
24See 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
37MigMix(ミグミックス)フォントは、IPA ゴシックと
38M+ フォントの合成フォントです。
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
52Summary: MigMix font documents
53Summary(ja): MigMix フォントドキュメント
54Group: User Interface/X
55
56%description doc
57This package includes important documents for MigMix fonts
58includes enduser license.
59
60%description -l ja doc
61このパッケージには MigMix フォントのライセンスを含む
62ドキュメント類が含まれています。
63
64
65%prep
66%setup -q -n %{_fontname}-%{version}
67
68%clean
69if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
70    rm -rf ${RPM_BUILD_ROOT}
71fi
72
73%build
74
75%install
76rm -rf %{buildroot}
77
78mkdir -p $RPM_BUILD_ROOT%{_fontdir}
79cp -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 mplus-TESTFLIGHT-04*/* MigMix-README.txt
92
93%changelog
94* Sat Aug 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110825-1
95- new upstream release
96- changed source archive type
97  - bzip2 to xz
98  - added BuildRequires: xz
99
100* Tue Jun 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110514-1
101- new upstream release
102
103* Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110418-1
104- new upstream release
105
106* Sat Feb 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110207-1
107- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.