source: projects/specs/trunk/T/TrueType-konatu/TrueType-konatu-vl.spec @ 521

Revision 521, 3.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define fontname konatu
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name: TrueType-%{fontname}
5Summary: Konatu font - Gothic type font set for Japanese
6Summary(ja): ゴシック系日本語フォントセット 小夏フォント
7Version: 26
8Release: 1%{?_dist_release}
9License: Creative Commons (CC-BY-SA)
10Group: User Interface/X
11URL: http://www.masuseki.com/index.php?u=be/konatu.htm
12
13Source0: Konatu_ver_%{version}.zip
14
15BuildRequires: unzip
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildArch: noarch
18Requires: %{name}-doc
19
20%description
21Konatu is Gothic type font set for Japanese.
22This font was created as BeOS(ZETA) bitmap font at first,
23and also made as TrueType font.
24
25This font is contained two type fonts.
26
27- Konatsu.ttf(proportional)
28- KonatuTohaba.ttf (fixed)
29
30%description -l ja
31小夏フォントはゴシック形の日本語フォントセットです。
32当初は BeOS(ZETA) のビットマップフォントとして
33作られ、その後 TrueType フォントとしても作成されました。
34
35このフォントは2つのタイプのフォントを含んでいます。
36
37- Konatsu.ttf(プロポーショナル)
38- KonatuTohaba.ttf (等幅)
39
40このパッケージは上記2つのフォントをインストールするメタパッケージです。
41
42%package fixed
43Summary: Konatu fonts (fixed)
44Summary(ja): 小夏フォント(等幅)
45Group: User Interface/X
46Requires: %{name}-doc
47
48%description fixed
49This package includes Konatu TrueType fonts (fixed).
50
51%description -l ja fixed
52このパッケージには小夏フォント(等幅)が含まれています。
53
54
55%package proportional
56Summary(ja): 小夏フォント(プロポーショナル)
57Group: User Interface/X
58Requires: %{name}-doc
59
60%description proportional
61This package includes Konatu TrueType fonts (proportional).
62
63%description -l ja proportional
64このパッケージには小夏フォント(プロポーショナル)が含まれています。
65
66
67%package doc
68Summary: Konatu font Documents
69Summary(ja): 小夏フォントドキュメント
70Group: User Interface/X
71
72%description doc
73This package includes important documents for Konatu font
74includes enduser license.
75
76%description -l ja doc
77このパッケージには小夏フォントのライセンスを含む
78ドキュメント類が含まれています。
79
80
81%prep
82%setup -q -n Konatu_ver_%{version}
83
84%clean
85if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
86    rm -rf ${RPM_BUILD_ROOT}
87fi
88
89%build
90
91%install
92rm -rf %{buildroot}
93
94mkdir -p $RPM_BUILD_ROOT%{_fontdir}
95cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
96
97%post fixed
98%__font_install_post %{_fontdir}
99
100%post proportional
101%__font_install_post %{_fontdir}
102
103%postun fixed
104%__font_install_postun %{_fontdir}
105
106%postun proportional
107%__font_install_postun %{_fontdir}
108
109%files
110
111%files fixed
112%{_fontdir}/KonatuTohaba.ttf
113
114%files proportional
115%{_fontdir}/Konatu.ttf
116
117%files doc
118%doc *.txt
119
120%changelog
121* Wed Jan 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 26-1
122- new upstream release
123- splitted two packages - fixed and proportional
124
125* Fri Oct 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 25-1
126- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.