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