[521] | 1 | %define _fontdir %{_datadir}/fonts/TrueType-gnu-freefont |
---|
| 2 | |
---|
| 3 | Name: TrueType-gnu-freefont |
---|
| 4 | Version: 20090104 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | Summary: Free UCS Outline Fonts by The GNU FreeFont project |
---|
| 7 | Summary(ja): The GNU FreeFont project によるフリーな UCS アウトラインフォント |
---|
| 8 | Group: User Interface/X |
---|
| 9 | License: GPLv3 |
---|
| 10 | URL: http://savannah.gnu.org/projects/freefont/ |
---|
| 11 | Source: http://ftp.gnu.org/gnu/freefont/freefont-ttf-%{version}.tar.gz |
---|
| 12 | |
---|
| 13 | BuildArch: noarch |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | Requires: TrueType-gnu-freefont-serif = %{version} |
---|
| 17 | Requires: TrueType-gnu-freefont-sans = %{version} |
---|
| 18 | Requires: TrueType-gnu-freefont-mono = %{version} |
---|
| 19 | Requires: TrueType-gnu-freefont-doc = %{version} |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | This package is meta package to install three type GNU Freefonts. |
---|
| 23 | |
---|
| 24 | %description -l ja |
---|
| 25 | このパッケージはGNU Freefont のメタパッケージです。 |
---|
| 26 | このパッケージでserif・sans・monoの3書体をインストールします。 |
---|
| 27 | |
---|
| 28 | %package serif |
---|
| 29 | Summary: GNU Freefont serif |
---|
| 30 | Summary(ja): GNU Freefont serif フォント |
---|
| 31 | Group: User Interface/X |
---|
| 32 | Requires: TrueType-gnu-freefont-doc |
---|
| 33 | |
---|
| 34 | %description serif |
---|
| 35 | This package includes GNU Freefont serif TrueType fonts. |
---|
| 36 | |
---|
| 37 | %description -l ja serif |
---|
| 38 | このパッケージにはGNU Freefont serif フォントが含まれています。 |
---|
| 39 | |
---|
| 40 | - FreeSerif |
---|
| 41 | - FreeSerifBold |
---|
| 42 | - FreeSerifBoldItalic |
---|
| 43 | - FreeSerifItalic |
---|
| 44 | |
---|
| 45 | %package sans |
---|
| 46 | Summary: GNU Freefont sans |
---|
| 47 | Summary(ja): GNU Freefont sans フォント |
---|
| 48 | Group: User Interface/X |
---|
| 49 | Requires: TrueType-gnu-freefont-doc |
---|
| 50 | |
---|
| 51 | %description sans |
---|
| 52 | This package includes GNU Freefont sans TrueType fonts. |
---|
| 53 | |
---|
| 54 | %description -l ja sans |
---|
| 55 | このパッケージにはGNU Freefont sans フォントが含まれています。 |
---|
| 56 | |
---|
| 57 | - FreeSans |
---|
| 58 | - FreeSansBold |
---|
| 59 | - FreeSansBoldOblique |
---|
| 60 | - FreeSansOblique |
---|
| 61 | |
---|
| 62 | %package mono |
---|
| 63 | Summary: GNU Freefont mono |
---|
| 64 | Summary(ja): GNU Freefont mono フォント |
---|
| 65 | Group: User Interface/X |
---|
| 66 | Requires: TrueType-gnu-freefont-doc |
---|
| 67 | |
---|
| 68 | %description mono |
---|
| 69 | This package includes GNU Free mono TrueType fonts. |
---|
| 70 | |
---|
| 71 | %description -l ja mono |
---|
| 72 | このパッケージにはGNU Freefont mono フォントが含まれています。 |
---|
| 73 | |
---|
| 74 | - FreeMono |
---|
| 75 | - FreeMonoBold |
---|
| 76 | - FreeMonoBoldOblique |
---|
| 77 | - FreeMonoOblique |
---|
| 78 | |
---|
| 79 | %package doc |
---|
| 80 | Summary: GNU Freefont Documents |
---|
| 81 | Summary(ja): GNU Freefont ドキュメント |
---|
| 82 | Group: User Interface/X |
---|
| 83 | |
---|
| 84 | %description doc |
---|
| 85 | This package includes important documents for GNU Freefont |
---|
| 86 | includes enduser license. |
---|
| 87 | |
---|
| 88 | %description -l ja doc |
---|
| 89 | このパッケージにはGNU Freefontのライセンスを含む |
---|
| 90 | ドキュメント類が含まれています。 |
---|
| 91 | |
---|
| 92 | %prep |
---|
| 93 | %setup -q -n freefont-20090104 |
---|
| 94 | |
---|
| 95 | %build |
---|
| 96 | |
---|
| 97 | %install |
---|
| 98 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
| 99 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
| 100 | |
---|
| 101 | %clean |
---|
| 102 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 103 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 104 | fi |
---|
| 105 | |
---|
| 106 | %post serif |
---|
| 107 | %__font_install_post %{_fontdir} |
---|
| 108 | |
---|
| 109 | %post sans |
---|
| 110 | %__font_install_post %{_fontdir} |
---|
| 111 | |
---|
| 112 | %post mono |
---|
| 113 | %__font_install_post %{_fontdir} |
---|
| 114 | |
---|
| 115 | %postun serif |
---|
| 116 | %__font_install_postun %{_fontdir} |
---|
| 117 | |
---|
| 118 | %postun sans |
---|
| 119 | %__font_install_postun %{_fontdir} |
---|
| 120 | |
---|
| 121 | %postun mono |
---|
| 122 | %__font_install_postun %{_fontdir} |
---|
| 123 | |
---|
| 124 | %files |
---|
| 125 | |
---|
| 126 | %files doc |
---|
| 127 | %doc AUTHORS COPYING CREDITS ChangeLog README |
---|
| 128 | |
---|
| 129 | %files serif |
---|
| 130 | %{_fontdir}/FreeSerif*.ttf |
---|
| 131 | |
---|
| 132 | %files sans |
---|
| 133 | %{_fontdir}/FreeSans*.ttf |
---|
| 134 | |
---|
| 135 | %files mono |
---|
| 136 | %{_fontdir}/FreeMono*.ttf |
---|
| 137 | |
---|
| 138 | %changelog |
---|
| 139 | * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 20090104-2 |
---|
| 140 | - added Requires: TrueType-gnu-freefont-mono |
---|
| 141 | |
---|
| 142 | * Sat May 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 20090104-1 |
---|
| 143 | - initial release for VineSeed |
---|
| 144 | |
---|