1 | %define fontname kiloji |
---|
2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
3 | |
---|
4 | Name: TrueType-%{fontname} |
---|
5 | Summary: kiloji font - Handwriting-like general styles |
---|
6 | Summary(ja): 手書き風総合書体 きろ字フォント |
---|
7 | Version: 2.1.0 |
---|
8 | Release: 3%{?_dist_release} |
---|
9 | License: New BSD |
---|
10 | Group: User Interface/X |
---|
11 | URL: http://www.ez0.net/distribution/font/%{fontname}/ |
---|
12 | |
---|
13 | Source0: %{fontname}_%{version}.zip |
---|
14 | Source1: %{fontname}_b%{version}.zip |
---|
15 | Source2: %{fontname}_d%{version}.zip |
---|
16 | Source3: %{fontname}_p%{version}.zip |
---|
17 | |
---|
18 | Requires: %{name}-doc >= %{version} |
---|
19 | |
---|
20 | BuildRequires: unzip |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | BuildArch: noarch |
---|
23 | |
---|
24 | Obsoletes: %{name}-bold, %{name}-fixed, %{name}-proportional, %{name}-thin |
---|
25 | |
---|
26 | %description |
---|
27 | kilo-ji, "kilo" is the author name of these fonts |
---|
28 | and "ji" means "characters" in Japanese. |
---|
29 | This fonts consists of four styles. |
---|
30 | |
---|
31 | - kiloji.ttf (kiloji Monospace) |
---|
32 | - kiloji_p.ttf (kiloji Proportional) |
---|
33 | - kiloji_b.ttf (kiloji Bold) |
---|
34 | - kiloji_d.ttf (kiloji Thin) |
---|
35 | |
---|
36 | %description -l ja |
---|
37 | きろ字の "kilo" とはこれらのフォントの作者の名前であり、 |
---|
38 | "ji" は 日本語で "文字" を意味します。 |
---|
39 | このフォントは4種の書体から成っています。 |
---|
40 | |
---|
41 | - kiloji.ttf(等幅) |
---|
42 | - kiloji_p.ttf (プロポーショナル) |
---|
43 | - kiloji_b.ttf (太字) |
---|
44 | - kiloji_d.ttf (細字) |
---|
45 | |
---|
46 | %package doc |
---|
47 | Summary: kiloji fonts Documents |
---|
48 | Summary(ja): きろ字フォントドキュメント |
---|
49 | Group: User Interface/X |
---|
50 | |
---|
51 | %description doc |
---|
52 | This package includes important documents for kiloji fonts includes enduser |
---|
53 | license. |
---|
54 | |
---|
55 | %description -l ja doc |
---|
56 | このパッケージにはきろ字フォントのライセンスを含むドキュメント類が含まれています。 |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %setup -q -c -T |
---|
61 | |
---|
62 | %{_bindir}/unzip -oq %{SOURCE0} |
---|
63 | %{_bindir}/unzip -oq %{SOURCE1} |
---|
64 | %{_bindir}/unzip -oq %{SOURCE2} |
---|
65 | %{_bindir}/unzip -oq %{SOURCE3} |
---|
66 | |
---|
67 | %clean |
---|
68 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
69 | rm -rf ${RPM_BUILD_ROOT} |
---|
70 | fi |
---|
71 | |
---|
72 | %build |
---|
73 | |
---|
74 | %install |
---|
75 | rm -rf %{buildroot} |
---|
76 | |
---|
77 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
78 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
79 | |
---|
80 | %post |
---|
81 | %__font_install_post %{_fontdir} |
---|
82 | |
---|
83 | %postun |
---|
84 | %__font_install_postun %{_fontdir} |
---|
85 | |
---|
86 | %files |
---|
87 | %{_fontdir}/%{fontname}*.ttf |
---|
88 | |
---|
89 | %files doc |
---|
90 | %doc Collecting.txt License.txt |
---|
91 | |
---|
92 | %changelog |
---|
93 | * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.1.0-3 |
---|
94 | - built with gcc-4.8 |
---|
95 | |
---|
96 | * Sun Oct 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1.0-2 |
---|
97 | - unified bold/fixed/proportional/thin pacakage |
---|
98 | - fixed %%description a little |
---|
99 | |
---|
100 | * Wed Sep 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1.0-1 |
---|
101 | - initial build for VineSeed |
---|