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