1 | %define fontname kouzan-brush |
---|
2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
3 | |
---|
4 | Name: TrueType-%{fontname} |
---|
5 | Summary: Japanese Brush-style font, made by Kouzan Aoyagi |
---|
6 | Summary(ja): 青柳衡山氏作成の毛筆フォント |
---|
7 | Version: 20091228 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: Public Domain |
---|
10 | Group: User Interface/X |
---|
11 | URL: http://musashi.or.tv/ |
---|
12 | |
---|
13 | Source0: KouzanGyousho.zip |
---|
14 | Source1: KouzanMouhitsuFont.zip |
---|
15 | Source2: KouzanSousho.zip |
---|
16 | Source3: License.txt |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | BuildArch: noarch |
---|
20 | Requires: TrueType-%{fontname}-doc |
---|
21 | |
---|
22 | BuildRequires: unzip |
---|
23 | |
---|
24 | %description |
---|
25 | This font is Brush-style Japanese font, made by Kouzan Aoyagi. |
---|
26 | This package consists of three fonts. |
---|
27 | |
---|
28 | - Kouzan-mouhitsu.ttf |
---|
29 | - Kouzan-mouhitsu-gyosho.ttf |
---|
30 | - Kouzan-mouhitsu-sousho.ttf |
---|
31 | |
---|
32 | %description -l ja |
---|
33 | このフォントは青柳衡山氏により作成された毛筆フォントです。 |
---|
34 | このパッケージは3種のフォントから成っています。 |
---|
35 | |
---|
36 | - 衡山毛筆フォント |
---|
37 | - 衡山毛筆フォント行書 |
---|
38 | - 衡山毛筆フォント草書 |
---|
39 | |
---|
40 | %package doc |
---|
41 | Summary: Gutenberg Labo Dingbats font Documents |
---|
42 | Summary(ja): 衡山毛筆フォントドキュメント |
---|
43 | Group: User Interface/X |
---|
44 | |
---|
45 | %description doc |
---|
46 | This package includes important documents for kouzan-mouhitsu font |
---|
47 | includes enduser license. |
---|
48 | |
---|
49 | %description -l ja doc |
---|
50 | このパッケージには衡山毛筆フォントのライセンスを含む |
---|
51 | ドキュメント類が含まれています。 |
---|
52 | |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q -c -T |
---|
56 | |
---|
57 | %{_bindir}/unzip -oq %{SOURCE0} |
---|
58 | %{_bindir}/unzip -oq %{SOURCE1} |
---|
59 | %{_bindir}/unzip -oq %{SOURCE2} |
---|
60 | cp -pr %{SOURCE3} . |
---|
61 | |
---|
62 | %clean |
---|
63 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
64 | rm -rf ${RPM_BUILD_ROOT} |
---|
65 | fi |
---|
66 | |
---|
67 | %build |
---|
68 | |
---|
69 | %install |
---|
70 | rm -rf %{buildroot} |
---|
71 | |
---|
72 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
73 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
74 | |
---|
75 | %post |
---|
76 | %__font_install_post %{_fontdir} |
---|
77 | |
---|
78 | %postun |
---|
79 | %__font_install_postun %{_fontdir} |
---|
80 | |
---|
81 | %files |
---|
82 | %{_fontdir}/*.ttf |
---|
83 | |
---|
84 | %files doc |
---|
85 | %doc License.txt |
---|
86 | |
---|
87 | %changelog |
---|
88 | * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20091228-1 |
---|
89 | - initial build for VineSeed |
---|