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

Revision 8178, 2.7 KB checked in by tanakanata, 10 years ago (diff)

only rebuild

Line 
1%define fontname kiloji
2%define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
3
4Name:             TrueType-%{fontname}
5Summary:          kiloji font - Handwriting-like general styles
6Summary(ja):      手書き風総合書体 きろ字フォント
7Version:          2.1.0
8Release:          3%{?_dist_release}
9License:          New BSD
10Group:            User Interface/X
11URL:              http://www.ez0.net/distribution/font/%{fontname}/
12
13Source0:          %{fontname}_%{version}.zip
14Source1:          %{fontname}_b%{version}.zip
15Source2:          %{fontname}_d%{version}.zip
16Source3:          %{fontname}_p%{version}.zip
17
18Requires:         %{name}-doc >= %{version}
19
20BuildRequires:    unzip
21BuildRoot:        %{_tmppath}/%{name}-%{version}-root
22BuildArch:        noarch
23
24Obsoletes: %{name}-bold, %{name}-fixed, %{name}-proportional, %{name}-thin
25
26%description
27kilo-ji, "kilo" is the author name of these fonts
28and "ji" means "characters" in Japanese.
29This 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
47Summary: kiloji fonts Documents
48Summary(ja): きろ字フォントドキュメント
49Group: User Interface/X
50
51%description doc
52This package includes important documents for kiloji fonts includes enduser
53license.
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
68if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
69    rm -rf ${RPM_BUILD_ROOT}
70fi
71
72%build
73
74%install
75rm -rf %{buildroot}
76
77mkdir -p $RPM_BUILD_ROOT%{_fontdir}
78cp -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
Note: See TracBrowser for help on using the repository browser.