[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 フォント |
---|
[6627] | 7 | Version: 5.3.0 |
---|
[8178] | 8 | Release: 2%{?_dist_release} |
---|
[1229] | 9 | License: GPLv2+ and OFL |
---|
| 10 | Group: User Interface/X |
---|
| 11 | URL: http://sourceforge.net/projects/linuxlibertine/ |
---|
[6627] | 12 | Source0: LinLibertineTTF_%{version}_2012_07_02.tgz |
---|
[521] | 13 | |
---|
[1229] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | BuildArch: noarch |
---|
[6627] | 16 | |
---|
| 17 | Requires: TrueType-libertine |
---|
| 18 | Requires: TrueType-biolinum |
---|
[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 | |
---|
[6627] | 39 | |
---|
[4126] | 40 | %package -n TrueType-libertine |
---|
| 41 | Summary: Linux Libertine font |
---|
| 42 | Summary(ja): Linux Libertine フォント |
---|
[521] | 43 | Group: User Interface/X |
---|
| 44 | Requires: TrueType-%{fontname}-doc |
---|
| 45 | |
---|
[4126] | 46 | %description -n TrueType-libertine |
---|
| 47 | This package includes Linux Libertine fonts. |
---|
[521] | 48 | |
---|
[4126] | 49 | %description -l ja -n TrueType-libertine |
---|
| 50 | このパッケージには Linux Libertine フォントが含まれています。 |
---|
[521] | 51 | |
---|
[6627] | 52 | |
---|
[4126] | 53 | %package -n TrueType-biolinum |
---|
| 54 | Summary: Linux biolinum font |
---|
| 55 | Summary(ja): Linux biolinum フォント |
---|
[521] | 56 | Group: User Interface/X |
---|
| 57 | Requires: TrueType-%{fontname}-doc |
---|
| 58 | |
---|
[4126] | 59 | %description -n TrueType-biolinum |
---|
| 60 | This package includes Linux biolinum fonts. |
---|
[521] | 61 | |
---|
[4126] | 62 | %description -l ja -n TrueType-biolinum |
---|
| 63 | このパッケージには Linux biolinum フォントが含まれています。 |
---|
[521] | 64 | |
---|
[6627] | 65 | |
---|
[521] | 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 |
---|
[6627] | 72 | This package includes important documents for |
---|
| 73 | Linux libertine TrueType font includes enduser license. |
---|
[521] | 74 | |
---|
| 75 | %description -l ja doc |
---|
| 76 | このパッケージには Linux libertine TrueType フォントのライセンスを含む |
---|
| 77 | ドキュメント類が含まれています。 |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %prep |
---|
[6627] | 81 | %setup -q -c LinLibertineTTF_%{version}_2012_07_02 |
---|
[521] | 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 | |
---|
[4126] | 96 | %post -n TrueType-libertine |
---|
[521] | 97 | %__font_install_post %{_fontdir} |
---|
| 98 | |
---|
[4126] | 99 | %postun -n TrueType-libertine |
---|
[521] | 100 | %__font_install_post %{_fontdir} |
---|
| 101 | |
---|
[4126] | 102 | %post -n TrueType-biolinum |
---|
[521] | 103 | %__font_install_post %{_fontdir} |
---|
| 104 | |
---|
[4126] | 105 | %postun -n TrueType-biolinum |
---|
| 106 | %__font_install_post %{_fontdir} |
---|
[521] | 107 | |
---|
| 108 | %files |
---|
| 109 | |
---|
[4126] | 110 | %files -n TrueType-libertine |
---|
| 111 | %{_fontdir}/LinLibertine_*.ttf |
---|
[521] | 112 | |
---|
[4126] | 113 | %files -n TrueType-biolinum |
---|
| 114 | %{_fontdir}/LinBiolinum_*.ttf |
---|
[521] | 115 | |
---|
| 116 | %files doc |
---|
[4126] | 117 | %doc *.txt README |
---|
[521] | 118 | |
---|
| 119 | %changelog |
---|
[8178] | 120 | * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 5.3.0-2 |
---|
| 121 | - built with gcc-4.8 |
---|
| 122 | |
---|
[6627] | 123 | * Tue Jul 24 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.3.0-1 |
---|
| 124 | - new upstream release |
---|
| 125 | - fixed Requires in TrueType-linux-libertine virtual package |
---|
| 126 | |
---|
[4748] | 127 | * Sun Sep 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.1.3-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[4126] | 130 | * Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 5.0.0-1 |
---|
| 131 | - new upstream release |
---|
| 132 | - obsoleted bold/regular/italic pacakages |
---|
| 133 | - two new packages, TrueType-libertine and TrueType-biolinum |
---|
| 134 | |
---|
[1229] | 135 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.7.5-1 |
---|
| 136 | - new upstream release |
---|
| 137 | - added Requires: TrueType-linux-libertine-{bold, regular, italic} |
---|
| 138 | - included new font |
---|
| 139 | |
---|
[521] | 140 | * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.4.1-1 |
---|
| 141 | - initial build for VineSeed |
---|