source: projects/specs/trunk/T/TrueType-mplus/TrueType-mplus-vl.spec @ 5265

Revision 5265, 1.5 KB checked in by daisuke, 13 years ago (diff)

TrueType?-mplus: new package, 0.TESTFLIGHT.044-1

Line 
1%define fontname mplus
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3%define mplusver 044
4
5Name: TrueType-%{fontname}
6Summary: M+ OUTLINE FONTS
7Summary(ja): M+ OUTLINE FONTS
8Version: 0.TESTFLIGHT.%{mplusver}
9Release: 1%{?_dist_release}
10License: M+
11Group: User Interface/X
12URL: http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index.html
13Source0: mplus-TESTFLIGHT-%{mplusver}.tar.xz
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildArch: noarch
17
18%description
19The M+ OUTLINE FONTS are a font family under the Free license. You can
20use, copy, and distribute it, with or without modification, either
21commercially and noncommercially.
22
23%description -l ja
24M+ OUTLINE FONTS はコンピュータなどでの個人利用をはじめ、商業目的での
25利用、フォント内容の改変、改変後の再配布にも制限の無い、自由なライセン
26スで公開しているアウトラインフォントです。
27
28%prep
29%setup -q -n mplus-TESTFLIGHT-%{mplusver}
30
31%clean
32[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
33
34%build
35
36%install
37[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
38
39chmod a-x m++ipa.pe
40mkdir -p $RPM_BUILD_ROOT%{_fontdir}
41install -m644 *.ttf $RPM_BUILD_ROOT%{_fontdir}
42
43%post
44%__font_install_post %{_fontdir}
45
46%postun
47%__font_install_postun %{_fontdir}
48
49%files
50%doc README_E README_J LICENSE_E LICENSE_J m++ipa.pe
51%{_fontdir}/*.ttf
52
53
54%changelog
55* Sun Dec 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.TESTFLIGHT.044-1
56- initial build for Vine Linux
57
Note: See TracBrowser for help on using the repository browser.