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.3.0 |
---|
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_%{version}_2012_07_02.tgz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | Requires: TrueType-libertine |
---|
18 | Requires: TrueType-biolinum |
---|
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 | |
---|
40 | %package -n TrueType-libertine |
---|
41 | Summary: Linux Libertine font |
---|
42 | Summary(ja): Linux Libertine フォント |
---|
43 | Group: User Interface/X |
---|
44 | Requires: TrueType-%{fontname}-doc |
---|
45 | |
---|
46 | %description -n TrueType-libertine |
---|
47 | This package includes Linux Libertine fonts. |
---|
48 | |
---|
49 | %description -l ja -n TrueType-libertine |
---|
50 | このパッケージには Linux Libertine フォントが含まれています。 |
---|
51 | |
---|
52 | |
---|
53 | %package -n TrueType-biolinum |
---|
54 | Summary: Linux biolinum font |
---|
55 | Summary(ja): Linux biolinum フォント |
---|
56 | Group: User Interface/X |
---|
57 | Requires: TrueType-%{fontname}-doc |
---|
58 | |
---|
59 | %description -n TrueType-biolinum |
---|
60 | This package includes Linux biolinum fonts. |
---|
61 | |
---|
62 | %description -l ja -n TrueType-biolinum |
---|
63 | このパッケージには Linux biolinum フォントが含まれています。 |
---|
64 | |
---|
65 | |
---|
66 | %package doc |
---|
67 | Summary: Linux libertine TrueType font document |
---|
68 | Summary(ja): Linux libertine TrueType フォントドキュメント |
---|
69 | Group: User Interface/X |
---|
70 | |
---|
71 | %description doc |
---|
72 | This package includes important documents for |
---|
73 | Linux libertine TrueType font includes enduser license. |
---|
74 | |
---|
75 | %description -l ja doc |
---|
76 | このパッケージには Linux libertine TrueType フォントのライセンスを含む |
---|
77 | ドキュメント類が含まれています。 |
---|
78 | |
---|
79 | |
---|
80 | %prep |
---|
81 | %setup -q -c LinLibertineTTF_%{version}_2012_07_02 |
---|
82 | |
---|
83 | %clean |
---|
84 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
85 | rm -rf ${RPM_BUILD_ROOT} |
---|
86 | fi |
---|
87 | |
---|
88 | %build |
---|
89 | |
---|
90 | %install |
---|
91 | rm -rf %{buildroot} |
---|
92 | |
---|
93 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
94 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
95 | |
---|
96 | %post -n TrueType-libertine |
---|
97 | %__font_install_post %{_fontdir} |
---|
98 | |
---|
99 | %postun -n TrueType-libertine |
---|
100 | %__font_install_post %{_fontdir} |
---|
101 | |
---|
102 | %post -n TrueType-biolinum |
---|
103 | %__font_install_post %{_fontdir} |
---|
104 | |
---|
105 | %postun -n TrueType-biolinum |
---|
106 | %__font_install_post %{_fontdir} |
---|
107 | |
---|
108 | %files |
---|
109 | |
---|
110 | %files -n TrueType-libertine |
---|
111 | %{_fontdir}/LinLibertine_*.ttf |
---|
112 | |
---|
113 | %files -n TrueType-biolinum |
---|
114 | %{_fontdir}/LinBiolinum_*.ttf |
---|
115 | |
---|
116 | %files doc |
---|
117 | %doc *.txt README |
---|
118 | |
---|
119 | %changelog |
---|
120 | * Tue Jul 24 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.3.0-1 |
---|
121 | - new upstream release |
---|
122 | - fixed Requires in TrueType-linux-libertine virtual package |
---|
123 | |
---|
124 | * Sun Sep 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.1.3-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.0.0-1 |
---|
128 | - new upstream release |
---|
129 | - obsoleted bold/regular/italic pacakages |
---|
130 | - two new packages, TrueType-libertine and TrueType-biolinum |
---|
131 | |
---|
132 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.7.5-1 |
---|
133 | - new upstream release |
---|
134 | - added Requires: TrueType-linux-libertine-{bold, regular, italic} |
---|
135 | - included new font |
---|
136 | |
---|
137 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.4.1-1 |
---|
138 | - initial build for VineSeed |
---|