[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 フォント |
---|
[4126] | 7 | Version: 5.0.0 |
---|
[1229] | 8 | Release: 1%{?_dist_release} |
---|
| 9 | License: GPLv2+ and OFL |
---|
| 10 | Group: User Interface/X |
---|
| 11 | URL: http://sourceforge.net/projects/linuxlibertine/ |
---|
[4126] | 12 | Source0: LinLibertineTTF_2011_05_22.tgz |
---|
[521] | 13 | |
---|
[1229] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | BuildArch: noarch |
---|
[4126] | 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 | |
---|
[4126] | 21 | Obsoletes: TrueType-%{fontname}-bold |
---|
| 22 | Obsoletes: TrueType-%{fontname}-regular |
---|
| 23 | Obsoletes: TrueType-%{fontname}-italic |
---|
| 24 | |
---|
[521] | 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 フォントのメタパッケージです。 |
---|
[4126] | 37 | libertine・biolinum の両パッケージをインストールします。 |
---|
[521] | 38 | |
---|
[4126] | 39 | %package -n TrueType-libertine |
---|
| 40 | Summary: Linux Libertine font |
---|
| 41 | Summary(ja): Linux Libertine フォント |
---|
[521] | 42 | Group: User Interface/X |
---|
| 43 | Requires: TrueType-%{fontname}-doc |
---|
| 44 | |
---|
[4126] | 45 | %description -n TrueType-libertine |
---|
| 46 | This package includes Linux Libertine fonts. |
---|
[521] | 47 | |
---|
[4126] | 48 | %description -l ja -n TrueType-libertine |
---|
| 49 | このパッケージには Linux Libertine フォントが含まれています。 |
---|
[521] | 50 | |
---|
[4126] | 51 | %package -n TrueType-biolinum |
---|
| 52 | Summary: Linux biolinum font |
---|
| 53 | Summary(ja): Linux biolinum フォント |
---|
[521] | 54 | Group: User Interface/X |
---|
| 55 | Requires: TrueType-%{fontname}-doc |
---|
| 56 | |
---|
[4126] | 57 | %description -n TrueType-biolinum |
---|
| 58 | This package includes Linux biolinum fonts. |
---|
[521] | 59 | |
---|
[4126] | 60 | %description -l ja -n TrueType-biolinum |
---|
| 61 | このパッケージには Linux biolinum フォントが含まれています。 |
---|
[521] | 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 |
---|
[4126] | 78 | %setup -q -c LinLibertineTTF_2011_05_22 |
---|
[521] | 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 | |
---|
[4126] | 93 | %post -n TrueType-libertine |
---|
[521] | 94 | %__font_install_post %{_fontdir} |
---|
| 95 | |
---|
[4126] | 96 | %postun -n TrueType-libertine |
---|
[521] | 97 | %__font_install_post %{_fontdir} |
---|
| 98 | |
---|
[4126] | 99 | %post -n TrueType-biolinum |
---|
[521] | 100 | %__font_install_post %{_fontdir} |
---|
| 101 | |
---|
[4126] | 102 | %postun -n TrueType-biolinum |
---|
| 103 | %__font_install_post %{_fontdir} |
---|
[521] | 104 | |
---|
| 105 | %files |
---|
| 106 | |
---|
[4126] | 107 | %files -n TrueType-libertine |
---|
| 108 | %{_fontdir}/LinLibertine_*.ttf |
---|
[521] | 109 | |
---|
[4126] | 110 | %files -n TrueType-biolinum |
---|
| 111 | %{_fontdir}/LinBiolinum_*.ttf |
---|
[521] | 112 | |
---|
| 113 | %files doc |
---|
[4126] | 114 | %doc *.txt README |
---|
[521] | 115 | |
---|
| 116 | %changelog |
---|
[4126] | 117 | * Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.0.0-1 |
---|
| 118 | - new upstream release |
---|
| 119 | - obsoleted bold/regular/italic pacakages |
---|
| 120 | - two new packages, TrueType-libertine and TrueType-biolinum |
---|
| 121 | |
---|
[1229] | 122 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.7.5-1 |
---|
| 123 | - new upstream release |
---|
| 124 | - added Requires: TrueType-linux-libertine-{bold, regular, italic} |
---|
| 125 | - included new font |
---|
| 126 | |
---|
[521] | 127 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.4.1-1 |
---|
| 128 | - initial build for VineSeed |
---|