1 | %define fontname linux-libertine |
---|
2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
3 | |
---|
4 | Name: TrueType-%{fontname} |
---|
5 | Summary: Linux libertine TrueType font |
---|
6 | Summary(ja): Linux libertine TrueType フォント |
---|
7 | Version: 5.1.3 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: GPLv2+ and OFL |
---|
10 | Group: User Interface/X |
---|
11 | URL: http://sourceforge.net/projects/linuxlibertine/ |
---|
12 | Source0: LinLibertineTTF_5.1.3_2011_06_21.tgz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildArch: noarch |
---|
16 | #Requires: TrueType-%{fontname}-bold >= %{version} |
---|
17 | #Requires: TrueType-%{fontname}-regular >= %{version} |
---|
18 | #Requires: TrueType-%{fontname}-italic >= %{version} |
---|
19 | Requires: TrueType-%{fontname}-doc |
---|
20 | |
---|
21 | Obsoletes: TrueType-%{fontname}-bold |
---|
22 | Obsoletes: TrueType-%{fontname}-regular |
---|
23 | Obsoletes: TrueType-%{fontname}-italic |
---|
24 | |
---|
25 | %description |
---|
26 | The Linux Libertine Open Fonts are TrueType font family for practical |
---|
27 | use in documents. They were created to provide a free alternative to |
---|
28 | proprietary standard fonts such as Times New Roman. |
---|
29 | |
---|
30 | %description -l ja |
---|
31 | The Linux Libertine Open Fonts は文書に使用する実用的な |
---|
32 | TrueType フォントファミリです。 |
---|
33 | これらのフォントは Times New Roman のようなプロプライエタリな |
---|
34 | スタンダードフォントの代替品を無料で提供するために作成されました。 |
---|
35 | |
---|
36 | このパッケージは Linux libertine フォントのメタパッケージです。 |
---|
37 | libertine・biolinum の両パッケージをインストールします。 |
---|
38 | |
---|
39 | %package -n TrueType-libertine |
---|
40 | Summary: Linux Libertine font |
---|
41 | Summary(ja): Linux Libertine フォント |
---|
42 | Group: User Interface/X |
---|
43 | Requires: TrueType-%{fontname}-doc |
---|
44 | |
---|
45 | %description -n TrueType-libertine |
---|
46 | This package includes Linux Libertine fonts. |
---|
47 | |
---|
48 | %description -l ja -n TrueType-libertine |
---|
49 | このパッケージには Linux Libertine フォントが含まれています。 |
---|
50 | |
---|
51 | %package -n TrueType-biolinum |
---|
52 | Summary: Linux biolinum font |
---|
53 | Summary(ja): Linux biolinum フォント |
---|
54 | Group: User Interface/X |
---|
55 | Requires: TrueType-%{fontname}-doc |
---|
56 | |
---|
57 | %description -n TrueType-biolinum |
---|
58 | This package includes Linux biolinum fonts. |
---|
59 | |
---|
60 | %description -l ja -n TrueType-biolinum |
---|
61 | このパッケージには Linux biolinum フォントが含まれています。 |
---|
62 | |
---|
63 | %package doc |
---|
64 | Summary: Linux libertine TrueType font document |
---|
65 | Summary(ja): Linux libertine TrueType フォントドキュメント |
---|
66 | Group: User Interface/X |
---|
67 | |
---|
68 | %description doc |
---|
69 | This package includes important documents for Linux libertine TrueType font |
---|
70 | includes enduser license. |
---|
71 | |
---|
72 | %description -l ja doc |
---|
73 | このパッケージには Linux libertine TrueType フォントのライセンスを含む |
---|
74 | ドキュメント類が含まれています。 |
---|
75 | |
---|
76 | |
---|
77 | %prep |
---|
78 | %setup -q -c LinLibertineTTF_5.1.3_2011_06_21 |
---|
79 | |
---|
80 | %clean |
---|
81 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
82 | rm -rf ${RPM_BUILD_ROOT} |
---|
83 | fi |
---|
84 | |
---|
85 | %build |
---|
86 | |
---|
87 | %install |
---|
88 | rm -rf %{buildroot} |
---|
89 | |
---|
90 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
91 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
92 | |
---|
93 | %post -n TrueType-libertine |
---|
94 | %__font_install_post %{_fontdir} |
---|
95 | |
---|
96 | %postun -n TrueType-libertine |
---|
97 | %__font_install_post %{_fontdir} |
---|
98 | |
---|
99 | %post -n TrueType-biolinum |
---|
100 | %__font_install_post %{_fontdir} |
---|
101 | |
---|
102 | %postun -n TrueType-biolinum |
---|
103 | %__font_install_post %{_fontdir} |
---|
104 | |
---|
105 | %files |
---|
106 | |
---|
107 | %files -n TrueType-libertine |
---|
108 | %{_fontdir}/LinLibertine_*.ttf |
---|
109 | |
---|
110 | %files -n TrueType-biolinum |
---|
111 | %{_fontdir}/LinBiolinum_*.ttf |
---|
112 | |
---|
113 | %files doc |
---|
114 | %doc *.txt README |
---|
115 | |
---|
116 | %changelog |
---|
117 | * Sun Sep 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.1.3-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.0.0-1 |
---|
121 | - new upstream release |
---|
122 | - obsoleted bold/regular/italic pacakages |
---|
123 | - two new packages, TrueType-libertine and TrueType-biolinum |
---|
124 | |
---|
125 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.7.5-1 |
---|
126 | - new upstream release |
---|
127 | - added Requires: TrueType-linux-libertine-{bold, regular, italic} |
---|
128 | - included new font |
---|
129 | |
---|
130 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.4.1-1 |
---|
131 | - initial build for VineSeed |
---|