[521] | 1 | %define fontname linux-libertine |
---|
| 2 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
| 3 | |
---|
[1229] | 4 | Name: TrueType-%{fontname} |
---|
| 5 | Summary: Linux libertine TrueType font |
---|
| 6 | Summary(ja): Linux libertine TrueType フォント |
---|
| 7 | Version: 4.7.5 |
---|
| 8 | Release: 1%{?_dist_release} |
---|
| 9 | License: GPLv2+ and OFL |
---|
| 10 | Group: User Interface/X |
---|
| 11 | URL: http://sourceforge.net/projects/linuxlibertine/ |
---|
| 12 | Source0: LinLibertineFont-%{version}-2.tgz |
---|
[521] | 13 | |
---|
[1229] | 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} |
---|
[521] | 19 | Requires: TrueType-%{fontname}-doc |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | The Linux Libertine Open Fonts are TrueType font family for practical |
---|
| 23 | use in documents. They were created to provide a free alternative to |
---|
| 24 | proprietary standard fonts such as Times New Roman. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | The Linux Libertine Open Fonts は文書に使用する実用的な |
---|
| 28 | TrueType フォントファミリです。 |
---|
| 29 | これらのフォントは Times New Roman のようなプロプライエタリな |
---|
| 30 | スタンダードフォントの代替品を無料で提供するために作成されました。 |
---|
| 31 | |
---|
| 32 | このパッケージは Linux libertine フォントのメタパッケージです。 |
---|
| 33 | Bold・Regular・Italic の3書体をインストールします。 |
---|
| 34 | |
---|
| 35 | %package bold |
---|
| 36 | Summary: Linux libertine bold font |
---|
| 37 | Summary(ja): Linux libertine bold フォント |
---|
| 38 | Group: User Interface/X |
---|
| 39 | Requires: TrueType-%{fontname}-doc |
---|
| 40 | |
---|
| 41 | %description bold |
---|
| 42 | This package includes Linux libertine bold fonts. |
---|
| 43 | |
---|
| 44 | %description -l ja bold |
---|
| 45 | このパッケージには Linux libertine bold フォントが含まれています。 |
---|
| 46 | |
---|
| 47 | - Biolinum_Bd |
---|
| 48 | - LinLibertine_Bd |
---|
| 49 | |
---|
| 50 | %package regular |
---|
| 51 | Summary: Linux libertine regular font |
---|
| 52 | Summary(ja): Linux libertine regular フォント |
---|
| 53 | Group: User Interface/X |
---|
| 54 | Requires: TrueType-%{fontname}-doc |
---|
| 55 | |
---|
| 56 | %description regular |
---|
| 57 | This package includes Linux libertine regular fonts. |
---|
| 58 | |
---|
| 59 | %description -l ja regular |
---|
| 60 | このパッケージには Linux libertine regular フォントが含まれています。 |
---|
| 61 | |
---|
| 62 | - Biolinum_Re |
---|
| 63 | - LinLibertine_Re |
---|
| 64 | - LinLibertineC_Re |
---|
[1229] | 65 | - LinLibertine_C |
---|
| 66 | - LinBiolinum_Kb |
---|
[521] | 67 | |
---|
| 68 | %package italic |
---|
| 69 | Summary: Linux libertine italic font |
---|
| 70 | Summary(ja): Linux libertine italic フォント |
---|
| 71 | Group: User Interface/X |
---|
| 72 | Requires: TrueType-%{fontname}-doc |
---|
| 73 | |
---|
| 74 | %description italic |
---|
| 75 | This package includes Linux libertine italic fonts. |
---|
| 76 | |
---|
| 77 | %description -l ja italic |
---|
| 78 | このパッケージには Linux libertine italic フォントが含まれています。 |
---|
| 79 | |
---|
| 80 | - LinLibertine_BI |
---|
| 81 | - LinLibertine_It |
---|
[1229] | 82 | - LinBiolinum_Sl |
---|
[521] | 83 | |
---|
| 84 | %package doc |
---|
| 85 | Summary: Linux libertine TrueType font document |
---|
| 86 | Summary(ja): Linux libertine TrueType フォントドキュメント |
---|
| 87 | Group: User Interface/X |
---|
| 88 | |
---|
| 89 | %description doc |
---|
| 90 | This package includes important documents for Linux libertine TrueType font |
---|
| 91 | includes enduser license. |
---|
| 92 | |
---|
| 93 | %description -l ja doc |
---|
| 94 | このパッケージには Linux libertine TrueType フォントのライセンスを含む |
---|
| 95 | ドキュメント類が含まれています。 |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %prep |
---|
[1229] | 99 | %setup -q -n LinLibertine |
---|
| 100 | cd Fonts |
---|
| 101 | mv *.ttf ../ |
---|
[521] | 102 | |
---|
| 103 | %clean |
---|
| 104 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 105 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 106 | fi |
---|
| 107 | |
---|
| 108 | %build |
---|
| 109 | |
---|
| 110 | %install |
---|
| 111 | rm -rf %{buildroot} |
---|
| 112 | |
---|
| 113 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
| 114 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
| 115 | |
---|
| 116 | %post bold |
---|
| 117 | %__font_install_post %{_fontdir} |
---|
| 118 | |
---|
| 119 | %post regular |
---|
| 120 | %__font_install_post %{_fontdir} |
---|
| 121 | |
---|
| 122 | %post italic |
---|
| 123 | %__font_install_post %{_fontdir} |
---|
| 124 | |
---|
| 125 | |
---|
| 126 | %postun bold |
---|
| 127 | %__font_install_postun %{_fontdir} |
---|
| 128 | |
---|
| 129 | %postun regular |
---|
| 130 | %__font_install_postun %{_fontdir} |
---|
| 131 | |
---|
| 132 | %postun italic |
---|
| 133 | %__font_install_postun %{_fontdir} |
---|
| 134 | |
---|
| 135 | %files |
---|
| 136 | |
---|
| 137 | %files bold |
---|
| 138 | %{_fontdir}/*_Bd-*.ttf |
---|
| 139 | |
---|
| 140 | %files regular |
---|
| 141 | %{_fontdir}/*_Re-*.ttf |
---|
[1229] | 142 | %{_fontdir}/LinLibertine_C-4.0.4.ttf |
---|
| 143 | %{_fontdir}/LinBiolinum_Kb-0.5.4.ttf |
---|
[521] | 144 | |
---|
| 145 | %files italic |
---|
| 146 | %{_fontdir}/*_It-*.ttf |
---|
| 147 | %{_fontdir}/*_BI-*.ttf |
---|
[1229] | 148 | %{_fontdir}/LinBiolinum_Sl-0.4.9.ttf |
---|
[521] | 149 | |
---|
| 150 | %files doc |
---|
[1229] | 151 | %doc *.txt |
---|
[521] | 152 | |
---|
| 153 | %changelog |
---|
[1229] | 154 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.7.5-1 |
---|
| 155 | - new upstream release |
---|
| 156 | - added Requires: TrueType-linux-libertine-{bold, regular, italic} |
---|
| 157 | - included new font |
---|
| 158 | |
---|
[521] | 159 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.4.1-1 |
---|
| 160 | - initial build for VineSeed |
---|