source: projects/specs/trunk/T/TrueType-hanazono-mincho/TrueType-hanazono-mincho-vl.spec @ 10190

Revision 10190, 2.4 KB checked in by kudoh, 8 years ago (diff)

new upstream release

Line 
1%define fontname hanazono-mincho
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Hanazono mincho font
6Summary(ja): 花園明朝フォント
7Version: 20160201
8Release: 1%{?_dist_release}
9License: Hanazono Font License, OFL
10Group: User Interface/X
11URL: http://fonts.jp/hanazono/
12
13Source0: hanazono-%{version}.zip
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildArch: noarch
17
18BuildRequires: unzip
19Requires: TrueType-%{fontname}-doc
20
21%description
22Hanazono mincho font is Japanese TrueType mincho font
23that made by KAGE system and FontForge.
24This font contains about 80,214 characters (and 2 SPACEs)
25defined in ISO/IEC 10646 standard / the Unicode standard.
26
27%description -l ja
28花園明朝フォントは KAGE システムと FontForge により作成された
29日本語 TrueType 明朝フォントです。
30このフォントに含まれている文字種は ISO/IEC 10646および
31Unicode 標準に収録されている80,214文字(と2つのスペース)となります。
32
33%package doc
34Summary: Hanazono font documents
35Summary(ja): 花園明朝フォントドキュメント
36Group: User Interface/X
37
38%description doc
39This package includes important documents
40for Hanazono mincho font includes enduser license.
41
42%description -l ja doc
43このパッケージには花園明朝フォントのライセンスを含む
44ドキュメント類が含まれています。
45
46
47%prep
48%setup -q -c -T
49%{_bindir}/unzip -jq %{SOURCE0}
50
51%clean
52if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
53    rm -rf ${RPM_BUILD_ROOT}
54fi
55
56%build
57
58%install
59rm -rf %{buildroot}
60
61mkdir -p $RPM_BUILD_ROOT%{_fontdir}
62cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
63
64%post
65%__font_install_post %{_fontdir}
66
67%postun
68%__font_install_postun %{_fontdir}
69
70%files
71%{_fontdir}/*.ttf
72
73%files doc
74%doc LICENSE.txt README.txt THANKS.txt
75
76%changelog
77* Sat Apr 23 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20160201-1
78- new upstream release
79
80* Sat Oct 25 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20141012-1
81- new upstream release
82
83* Sun Jan 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20131208-1
84- new upstream release
85
86* Wed Feb 27 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20130222-1
87- new upstream release
88
89* Thu Apr 26 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120421-1
90- new upstream release
91
92* Fri Feb 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120202-1
93- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.