source: projects/specs/trunk/T/TrueType-dejima-mincho/TrueType-dejima-mincho-vl.spec @ 8178

Revision 8178, 1.7 KB checked in by tanakanata, 7 years ago (diff)

only rebuild

Line 
1%define fontname dejima-mincho
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Dejima mincho font
6Summary(ja): 出島明朝フォント
7Version: 227
8Release: 2%{?_dist_release}
9License: MIT
10Group: User Interface/X
11URL: http://code.google.com/p/dejima-fonts/
12
13Source0: %{fontname}-%{version}.tar.bz2
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildArch: noarch
17Requires: TrueType-%{fontname}-doc
18
19%description
20Dejima mincho font is Japanese TrueType mincho type font.
21Kanji part is based on Tsukiji 3gou and Kana part is based on Tsukiji 4gou.
22
23%description -l ja
24出島明朝フォントは日本語 TrueType 明朝フォントです。
25漢字部分は築地3号に、かな部分は築地4号に基づいています。
26
27%package doc
28Summary: Dejima mincho font documents
29Summary(ja): 出島明朝フォントドキュメント
30Group: User Interface/X
31
32%description doc
33This package includes important documents for Dejima mincho font
34includes enduser license.
35
36%description -l ja doc
37このパッケージには出島明朝フォントのライセンスを含む
38ドキュメント類が含まれています。
39
40
41%prep
42%setup -q -n %{fontname}-%{version}
43
44%clean
45if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
46    rm -rf ${RPM_BUILD_ROOT}
47fi
48
49%build
50
51%install
52rm -rf %{buildroot}
53
54mkdir -p $RPM_BUILD_ROOT%{_fontdir}
55cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
56
57%post
58%__font_install_post %{_fontdir}
59
60%postun
61%__font_install_postun %{_fontdir}
62
63%files
64%{_fontdir}/*.ttf
65
66%files doc
67%doc LICENSE
68
69%changelog
70* Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 227-2
71- built with gcc-4.8
72
73* Tue Nov 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 227-1
74- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.