1 | %define fontname cjkunifonts-ukai |
---|
2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
3 | |
---|
4 | Name: TrueType-%{fontname} |
---|
5 | Summary: CJKUnifonts ukai |
---|
6 | Summary(ja): CJKUnifonts 楷體(楷書体) |
---|
7 | Version: 0.2.20080216.1 |
---|
8 | Release: 2%{?_dist_release} |
---|
9 | License: Arphic Public License |
---|
10 | Group: User Interface/X |
---|
11 | URL: http://freedesktop.org/wiki/Software/CJKUnifonts |
---|
12 | |
---|
13 | Source0: ttf-arphic-ukai_%{version}.orig.tar.gz |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | Requires: TrueType-%{fontname}-doc |
---|
18 | |
---|
19 | %description |
---|
20 | This Chinese Unicode TrueType fonts derived from the original fonts |
---|
21 | generously made available by Arphic Technology under the |
---|
22 | "Arphic Public License" and extended by the CJK Unifonts project. |
---|
23 | |
---|
24 | %description -l ja |
---|
25 | この中国語ユニコード TrueType フォントは |
---|
26 | "Arphic Public License" で Arphic Technology により |
---|
27 | 寛大にも使用可能となったオリジナルのフォントに由来し、 |
---|
28 | CJK Unifonts project により拡張されています。 |
---|
29 | |
---|
30 | %package doc |
---|
31 | Summary: CJKUnifonts ukai documents |
---|
32 | Summary(ja): CJKUnifonts ukai ドキュメント |
---|
33 | Group: User Interface/X |
---|
34 | |
---|
35 | %description doc |
---|
36 | This package includes important documents for CJKUnifonts ukai |
---|
37 | includes enduser license. |
---|
38 | |
---|
39 | %description -l ja doc |
---|
40 | このパッケージには CJKUnifonts ukai のライセンスを含む |
---|
41 | ドキュメント類が含まれています。 |
---|
42 | |
---|
43 | |
---|
44 | %prep |
---|
45 | %setup -q -c -n %{name}-%{version} |
---|
46 | |
---|
47 | %clean |
---|
48 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
49 | rm -rf ${RPM_BUILD_ROOT} |
---|
50 | fi |
---|
51 | |
---|
52 | %build |
---|
53 | |
---|
54 | %install |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
58 | cp -a *.ttc $RPM_BUILD_ROOT%{_fontdir} |
---|
59 | |
---|
60 | %post |
---|
61 | %__font_install_post %{_fontdir} |
---|
62 | |
---|
63 | %postun |
---|
64 | %__font_install_postun %{_fontdir} |
---|
65 | |
---|
66 | %files |
---|
67 | %{_fontdir}/ukai.ttc |
---|
68 | |
---|
69 | %files doc |
---|
70 | %doc license/* Font_Comparison_ZenKai_UKai.* |
---|
71 | %doc CONTRIBUTERS FONTLOG INSTALL KNOWN_ISSUES NEWS README TODO |
---|
72 | |
---|
73 | %changelog |
---|
74 | * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 0.2.20080216.1-2 |
---|
75 | - built with gcc-4.8 |
---|
76 | |
---|
77 | * Sun Sep 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.20080216.1-1 |
---|
78 | - initial build for VineSeed |
---|