Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2772 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 13 years ago
parent
commit
71f490ef24
1 changed files with 93 additions and 0 deletions
  1. 93 0
      T/TrueType-migmix/TrueType-migmix-vl.spec

+ 93 - 0
T/TrueType-migmix/TrueType-migmix-vl.spec

@@ -0,0 +1,93 @@
+%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: 20110207
+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.bz2
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildArch: noarch
+Requires: TrueType-%{fontname}-doc
+
+%description
+MigMix font are combined fonts that use IPA Gothic and M+ fonts.
+See below in package contens.
+
+- MigMix-1M-bold.ttf
+- MigMix-1P-bold.ttf
+- MigMix-1M-regular.ttf
+- MigMix-1P-regular.ttf
+
+- MigMix-2M-bold.ttf
+- MigMix-2P-bold.ttf
+- MigMix-2M-regular.ttf
+- MigMix-2P-regular.ttf
+
+%description -l ja
+MigMix(ミグミックス)フォントは、IPA ゴシックと
+M+ フォントの合成フォントです。
+パッケージの内容は、以下を参照してください。
+
+- MigMix-1M-bold.ttf
+- MigMix-1P-bold.ttf
+- MigMix-1M-regular.ttf
+- MigMix-1P-regular.ttf
+
+- MigMix-2M-bold.ttf
+- MigMix-2P-bold.ttf
+- MigMix-2M-regular.ttf
+- MigMix-2P-regular.ttf
+
+%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 ipag00302/*.txt mplus-TESTFLIGHT-036/* MigMix-README.txt
+
+%changelog
+* Sat Feb 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110207-1
+- initial build for VineSeed