1 | %define fontname junicode |
---|
2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
3 | |
---|
4 | Name: TrueType-%{fontname} |
---|
5 | Summary: Junicode is a Unicode font for medievalists |
---|
6 | Summary(ja): 中世研究家のためのフォント Junicode |
---|
7 | Version: 0.6.17 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: GPL |
---|
10 | Group: User Interface/X |
---|
11 | URL: http://junicode.sourceforge.net/ |
---|
12 | |
---|
13 | Source0: %{fontname}-0-6-17.zip |
---|
14 | |
---|
15 | BuildRequires: unzip |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | Requires: TrueType-%{fontname}-doc |
---|
19 | |
---|
20 | %description |
---|
21 | A font family especially for medieval scholars, |
---|
22 | but containing an extensive enough selection of |
---|
23 | Unicode characters to be widely useful. |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | 特に中世を学ぶ者のためのフォントファミリですが、 |
---|
27 | すこぶる有用たりうるに十分なユニコードキャラクタの品揃えを含んでいます。 |
---|
28 | |
---|
29 | このパッケージは Junicode フォントのメタパッケージです。 |
---|
30 | Bold・Regular・Italic の3書体をインストールします。 |
---|
31 | |
---|
32 | %package bold |
---|
33 | Summary: Junicode bold font |
---|
34 | Summary(ja): Junicode bold フォント |
---|
35 | Group: User Interface/X |
---|
36 | Requires: TrueType-%{fontname}-doc |
---|
37 | |
---|
38 | %description bold |
---|
39 | This package includes Junicode bold fonts. |
---|
40 | |
---|
41 | %description -l ja bold |
---|
42 | このパッケージには Junicode bold フォントが含まれています。 |
---|
43 | |
---|
44 | - Junicode-Bold |
---|
45 | |
---|
46 | |
---|
47 | %package regular |
---|
48 | Summary: Junicode regular font |
---|
49 | Summary(ja): junicode regular フォント |
---|
50 | Group: User Interface/X |
---|
51 | Requires: TrueType-%{fontname}-doc |
---|
52 | |
---|
53 | %description regular |
---|
54 | This package Junicode regular fonts. |
---|
55 | |
---|
56 | %description -l ja regular |
---|
57 | このパッケージには Junicode regular フォントが含まれています。 |
---|
58 | |
---|
59 | - Junicode-Regular |
---|
60 | |
---|
61 | |
---|
62 | %package italic |
---|
63 | Summary: Junicode Italic font |
---|
64 | Summary(ja): Junicode Italic フォント |
---|
65 | Group: User Interface/X |
---|
66 | Requires: TrueType-%{fontname}-doc |
---|
67 | |
---|
68 | %description italic |
---|
69 | This package includes Junicode Italic fonts. |
---|
70 | |
---|
71 | %description -l ja italic |
---|
72 | このパッケージには Junicode Italic フォントが含まれています。 |
---|
73 | |
---|
74 | - Junicode-BoldItalic |
---|
75 | - Junicode-Italic |
---|
76 | |
---|
77 | %package doc |
---|
78 | Summary: Junicode font Document |
---|
79 | Summary(ja): Junicode フォントドキュメント |
---|
80 | Group: User Interface/X |
---|
81 | |
---|
82 | %description doc |
---|
83 | This package includes important documents for Junicode font |
---|
84 | includes enduser license. |
---|
85 | |
---|
86 | %description -l ja doc |
---|
87 | このパッケージには Junicode フォントのライセンスを含む |
---|
88 | ドキュメント類が含まれています。 |
---|
89 | |
---|
90 | %prep |
---|
91 | %setup -q -n %{fontname} |
---|
92 | mv doc/*.* . |
---|
93 | mv fonts/*.ttf . |
---|
94 | |
---|
95 | %clean |
---|
96 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
97 | rm -rf ${RPM_BUILD_ROOT} |
---|
98 | fi |
---|
99 | |
---|
100 | %build |
---|
101 | |
---|
102 | %install |
---|
103 | rm -rf %{buildroot} |
---|
104 | |
---|
105 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
106 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
107 | |
---|
108 | %post bold |
---|
109 | %__font_install_post %{_fontdir} |
---|
110 | |
---|
111 | %post regular |
---|
112 | %__font_install_post %{_fontdir} |
---|
113 | |
---|
114 | %post italic |
---|
115 | %__font_install_post %{_fontdir} |
---|
116 | |
---|
117 | |
---|
118 | %postun bold |
---|
119 | %__font_install_postun %{_fontdir} |
---|
120 | |
---|
121 | %postun regular |
---|
122 | %__font_install_postun %{_fontdir} |
---|
123 | |
---|
124 | %postun italic |
---|
125 | %__font_install_postun %{_fontdir} |
---|
126 | |
---|
127 | %files |
---|
128 | |
---|
129 | %files bold |
---|
130 | %{_fontdir}/*-Bold.ttf |
---|
131 | |
---|
132 | %files regular |
---|
133 | %{_fontdir}/*-Regular.ttf |
---|
134 | |
---|
135 | %files italic |
---|
136 | %{_fontdir}/*-BoldItalic.ttf |
---|
137 | %{_fontdir}/*-Italic.ttf |
---|
138 | |
---|
139 | %files doc |
---|
140 | %doc *.pdf *.tex |
---|
141 | %{_fontdir}/*.ttf |
---|
142 | |
---|
143 | %changelog |
---|
144 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.17-1 |
---|
145 | - initial build for VineSeed (again) |
---|