[521] | 1 | %define fontname liberation |
---|
| 2 | %define archivename %{name}-%{version} |
---|
| 3 | %define common_desc \ |
---|
| 4 | The Liberation Fonts are intended to be replacements for the three most \ |
---|
| 5 | commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier \ |
---|
| 6 | New. |
---|
| 7 | |
---|
| 8 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
| 9 | |
---|
| 10 | Name: TrueType-%{fontname} |
---|
| 11 | Summary: Fonts to replace commonly used Microsoft Windows fonts |
---|
| 12 | Summary(ja): 一般に使用されている Microsoft Windows のフォントを置換するためのフォント |
---|
[7055] | 13 | Version: 2.00.1 |
---|
[8178] | 14 | Release: 2%{?_dist_release} |
---|
[6627] | 15 | License: OFL |
---|
[521] | 16 | Group: User Interface/X |
---|
| 17 | URL: https://www.redhat.com/promo/fonts/ |
---|
[6627] | 18 | # https://fedorahosted.org/liberation-fonts/ |
---|
[521] | 19 | Source0: %{fontname}-fonts-ttf-%{version}.tar.gz |
---|
| 20 | |
---|
| 21 | Requires: TrueType-%{fontname}-sans >= %{version} |
---|
| 22 | Requires: TrueType-%{fontname}-serif >= %{version} |
---|
| 23 | Requires: TrueType-%{fontname}-mono >= %{version} |
---|
[1030] | 24 | Requires: TrueType-%{fontname}-doc = %{version} |
---|
[521] | 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 26 | BuildArch: noarch |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | %common_desc |
---|
| 30 | |
---|
| 31 | Meta-package of Liberation fonts which installs Sans, Serif, and Monospace |
---|
| 32 | families. |
---|
| 33 | |
---|
| 34 | %description -l ja |
---|
| 35 | liberation fonts はマイクロソフトのシステムでよく使用される3つのフォント、 |
---|
| 36 | Times New Roman・Arial・Courier New を置換することが意図されている |
---|
| 37 | フォントです。 |
---|
| 38 | |
---|
| 39 | このパッケージは Liberation フォントのメタパッケージです。 |
---|
| 40 | Sans・Serif・Monospace の3書体をインストールします。 |
---|
| 41 | |
---|
| 42 | %package sans |
---|
| 43 | Summary: liberation sans TrueType Fonts |
---|
| 44 | Summary(ja): liberation sans True Type フォント |
---|
| 45 | Group: User Interface/X |
---|
| 46 | Requires: TrueType-liberation-doc |
---|
| 47 | |
---|
| 48 | %description sans |
---|
| 49 | This package includes liberation sans TrueType fonts. |
---|
| 50 | |
---|
| 51 | %description -l ja sans |
---|
| 52 | このパッケージには liberation sans フォントが含まれています。 |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %package serif |
---|
| 56 | Summary: liberation serif TrueType Fonts |
---|
| 57 | Summary(ja): liberation serif True Type フォント |
---|
| 58 | Group: User Interface/X |
---|
| 59 | Requires: TrueType-liberation-doc |
---|
| 60 | |
---|
| 61 | %description serif |
---|
| 62 | This package includes liberation serif TrueType fonts. |
---|
| 63 | |
---|
| 64 | %description -l ja serif |
---|
| 65 | このパッケージには liberation serif フォントが含まれています。 |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %package mono |
---|
| 69 | Summary: liberation mono TrueType Fonts |
---|
| 70 | Summary(ja): liberation mono True Type フォント |
---|
| 71 | Group: User Interface/X |
---|
| 72 | Requires: TrueType-liberation-doc |
---|
| 73 | |
---|
| 74 | %description mono |
---|
| 75 | This package includes liberation mono TrueType fonts. |
---|
| 76 | |
---|
| 77 | %description -l ja mono |
---|
| 78 | このパッケージには liberation mono フォントが含まれています。 |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %package doc |
---|
| 82 | Summary: liberation Font Documents |
---|
| 83 | Summary(ja): liberation フォントドキュメント |
---|
| 84 | Group: User Interface/X |
---|
| 85 | |
---|
| 86 | %description doc |
---|
[6627] | 87 | This package includes important documents for liberation fonts |
---|
| 88 | includes enduser license. |
---|
[521] | 89 | |
---|
| 90 | %description -l ja doc |
---|
| 91 | このパッケージには liberation フォントのライセンスを含むドキュメント類が含まれています。 |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | %prep |
---|
[1470] | 95 | %setup -q -n %{fontname}-fonts-ttf-%{version} |
---|
[521] | 96 | |
---|
| 97 | %clean |
---|
| 98 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 99 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 100 | fi |
---|
| 101 | |
---|
| 102 | %build |
---|
| 103 | |
---|
| 104 | %install |
---|
| 105 | rm -rf %{buildroot} |
---|
| 106 | |
---|
| 107 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
| 108 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
| 109 | |
---|
| 110 | %post sans |
---|
| 111 | %__font_install_post %{_fontdir} |
---|
| 112 | |
---|
| 113 | %post serif |
---|
| 114 | %__font_install_post %{_fontdir} |
---|
| 115 | |
---|
| 116 | %post mono |
---|
| 117 | %__font_install_post %{_fontdir} |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | %postun sans |
---|
| 121 | %__font_install_postun %{_fontdir} |
---|
| 122 | |
---|
| 123 | %postun serif |
---|
| 124 | %__font_install_postun %{_fontdir} |
---|
| 125 | |
---|
| 126 | %postun mono |
---|
| 127 | %__font_install_postun %{_fontdir} |
---|
| 128 | |
---|
| 129 | %files |
---|
| 130 | |
---|
| 131 | %files sans |
---|
[1030] | 132 | %{_fontdir}/LiberationSans*.ttf |
---|
[521] | 133 | |
---|
| 134 | %files serif |
---|
| 135 | %{_fontdir}/LiberationSerif-*.ttf |
---|
| 136 | |
---|
| 137 | %files mono |
---|
| 138 | %{_fontdir}/LiberationMono-*.ttf |
---|
| 139 | |
---|
| 140 | %files doc |
---|
[6627] | 141 | %doc AUTHORS ChangeLog LICENSE README TODO |
---|
[521] | 142 | |
---|
| 143 | %changelog |
---|
[8178] | 144 | * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.00.1-2 |
---|
| 145 | - built with gcc-4.8 |
---|
| 146 | |
---|
[7055] | 147 | * Fri Nov 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.1-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[6627] | 150 | * Mon Jul 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - changed License: OFL |
---|
| 153 | - because based on croscore fonts version 1.21.0 (original license is OFL) |
---|
| 154 | |
---|
[5846] | 155 | * Wed Mar 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.2-1 |
---|
| 156 | - new upstream release |
---|
| 157 | |
---|
[4797] | 158 | * Wed Sep 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.1-1 |
---|
| 159 | - new upstream release |
---|
| 160 | |
---|
[4010] | 161 | * Wed Jun 01 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.0-1 |
---|
| 162 | - new upstream release |
---|
| 163 | |
---|
[1470] | 164 | * Thu Jul 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.06.0.20100721-1 |
---|
| 165 | - new upstream release |
---|
| 166 | - added TODO in %%doc |
---|
| 167 | |
---|
[1266] | 168 | * Wed Jun 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100621-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[1030] | 171 | * Mon May 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100510-1 |
---|
| 172 | - new upstream release |
---|
| 173 | - added Requires: TrueType-%{fontname}-doc = %{version} |
---|
| 174 | |
---|
[521] | 175 | * Sun Dec 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.2.20091227-1 |
---|
| 176 | - new upstream release |
---|
| 177 | |
---|
| 178 | * Wed Jul 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090721-1 |
---|
| 179 | - new upstream release |
---|
| 180 | |
---|
| 181 | * Fri Jul 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090706-1 |
---|
| 182 | - new upstream release |
---|
| 183 | |
---|
| 184 | * Tue Apr 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.04.93-1 |
---|
| 185 | - initial build for VineSeed |
---|
| 186 | |
---|
| 187 | * Fri Jan 09 2009 Caius Chance <cchance@redhat.com> - 1.04.93-3.fc11 |
---|
| 188 | - Resolves: rhbz#477410 (Convert to new font packaging guidelines.) |
---|
| 189 | |
---|
| 190 | * Tue Dec 09 2008 Caius Chance <cchance@redhat.com> - 1.04.93-2.fc11 |
---|
| 191 | - Resolves: rhbz#474522 (Cent sign is not coressed in Sans & Mono.) |
---|
| 192 | |
---|
| 193 | * Wed Dec 03 2008 Caius Chance <cchance@redhat.com> - 1.04.93-1.fc11 |
---|
| 194 | - Resolves: rhbz#473481 |
---|
| 195 | (Blurriness of Greek letter m (U+03BC) in Liberation Sans Regular.) |
---|
| 196 | |
---|
| 197 | * Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04.90-1.fc10 |
---|
| 198 | - Resolves: rhbz#258592 |
---|
| 199 | (Incorrect glyph points and missing hinting instructions for U+0079, U+03BC, |
---|
| 200 | U+0431, U+2010..2012.) |
---|
| 201 | |
---|
| 202 | * Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04-1.fc10 |
---|
| 203 | - Resolves: rhbz#455717 (Update sources to version 1.04.) |
---|
| 204 | - Improved .spec file. |
---|
| 205 | |
---|
| 206 | * Thu Jun 12 2008 Caius Chance <cchance@redhat.com> - 1.04-0.1.beta2.fc10 |
---|
| 207 | - Updated source version to 1.04.beta2. |
---|
| 208 | - Removed License.txt and COPYING as already included in sources. |
---|
| 209 | |
---|
| 210 | * Thu Apr 10 2008 Caius Chance <cchance@redhat.com> - 1.03-1.fc9 |
---|
| 211 | - Resolves: rhbz#251890 (Exchanged and incomplete glyphs.) |
---|
| 212 | - Repack source tarball and re-align source version number. |
---|
| 213 | |
---|
| 214 | * Mon Mar 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-2 |
---|
| 215 | - correct license tag, license explanation added |
---|
| 216 | |
---|
| 217 | * Tue Mar 25 2008 Caius Chance <cchance@redhat.com> - 1.02-1.fc9 |
---|
| 218 | - Resolves: rhbz#240525 (Alignment mismatch of dot accents.) |
---|
| 219 | |
---|
| 220 | * Wed Jan 16 2008 Caius Chance <cchance@redhat.com> - 1.01-1.fc9 |
---|
| 221 | - Moved source tarball from cvs to separated storage. |
---|
| 222 | |
---|
| 223 | * Mon Jan 14 2008 Caius Chance <cchance@redhat.com> - 1.0-1.fc9 |
---|
| 224 | - Resolves: rhbz#428596 (Liberation fonts need to be updated to latest font.) |
---|
| 225 | |
---|
| 226 | * Wed Nov 28 2007 Caius Chance <cchance@redhat.com> - 0.2-4.fc9 |
---|
| 227 | - Resolves: rhbz#367791 (remove 59-liberation-fonts.conf) |
---|
| 228 | |
---|
| 229 | * Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-3.fc8 |
---|
| 230 | - add fontdir macro |
---|
| 231 | - create fonts.dir and fonts.scale (reported by Mark Alford, #245961) |
---|
| 232 | - add catalogue symlink |
---|
| 233 | |
---|
| 234 | * Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-2.fc8 |
---|
| 235 | - update license field to GPLv2 |
---|
| 236 | |
---|
| 237 | * Thu Jun 14 2007 Caius Chance <cchance@redhat.com> 0.2-1.fc8 |
---|
| 238 | - Updated new source tarball from upstream: '-3' (version 0.2). |
---|
| 239 | |
---|
| 240 | * Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-9 |
---|
| 241 | - Bump revision |
---|
| 242 | |
---|
| 243 | * Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-8 |
---|
| 244 | - Change the license tag to "GPL + font exception" |
---|
| 245 | |
---|
| 246 | * Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-7 |
---|
| 247 | - Correct the source url |
---|
| 248 | |
---|
| 249 | * Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-6 |
---|
| 250 | - Incorporate package review feedback |
---|
| 251 | |
---|
| 252 | * Fri May 11 2007 Matthias Clasen <mclasen@redhat.com> 0.1-5 |
---|
| 253 | - Bring the package in sync with Fedora packaging standards |
---|
| 254 | |
---|
| 255 | * Wed Apr 25 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-4 |
---|
| 256 | - Require fontconfig package for post and postun |
---|
| 257 | |
---|
| 258 | * Tue Apr 24 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-3 |
---|
| 259 | - Bump version to fix issue in RHEL4 RHN |
---|
| 260 | |
---|
| 261 | * Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-2rhis |
---|
| 262 | - New license file |
---|
| 263 | |
---|
| 264 | * Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-1rhis |
---|
| 265 | - Inital packaging |
---|