[521] | 1 | %define fontname dejavu |
---|
| 2 | %define archivename dejavu-fonts-ttf |
---|
| 3 | %define _fontdir %{_datadir}/fonts/TrueType-%{fontname} |
---|
| 4 | |
---|
| 5 | Name: TrueType-%{fontname} |
---|
[7780] | 6 | Version: 2.34 |
---|
[521] | 7 | Release: 1%{?_dist_release} |
---|
[1088] | 8 | Summary: The DejaVu fonts are a font family based on the Vera Fonts |
---|
| 9 | Summary(ja): DejaVu フォントは Vera フォントをベースとしたフォントファミリーです |
---|
[521] | 10 | |
---|
| 11 | License: Bitstream Vera and Public Domain |
---|
| 12 | Group: User Interface/X |
---|
| 13 | BuildArch: noarch |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | URL: http://sourceforge.net/projects/dejavu/ |
---|
| 16 | Source: %{archivename}-%{version}.tar.bz2 |
---|
| 17 | |
---|
[1088] | 18 | Requires: TrueType-%{fontname}-sans >= %{version} |
---|
| 19 | Requires: TrueType-%{fontname}-serif >= %{version} |
---|
| 20 | Requires: TrueType-%{fontname}-sans-mono >= %{version} |
---|
| 21 | Requires: TrueType-%{fontname}-doc >= %{version} |
---|
| 22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | BuildArch: noarch |
---|
| 24 | Obsoletes: TrueType-DejaVu |
---|
[521] | 25 | |
---|
| 26 | %description |
---|
| 27 | The DejaVu fonts are a font family |
---|
| 28 | based on the Vera Fonts (version 1.10). |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | DejaVu Fonts は Bitstream Vera Fonts (version 1.10) を |
---|
| 32 | ベースにしたフォントファミリです。 |
---|
| 33 | |
---|
[1088] | 34 | このパッケージは DejaVu フォントのメタパッケージです。 |
---|
| 35 | Sans・Serif・Sans-Mono の3書体をインストールします。 |
---|
[521] | 36 | |
---|
| 37 | |
---|
| 38 | %package sans |
---|
| 39 | Summary: DejaVu sans TrueType Fonts |
---|
| 40 | Summary(ja): DejaVu sans True Type フォント |
---|
| 41 | Group: User Interface/X |
---|
[1088] | 42 | Requires: TrueType-%{fontname}-doc |
---|
[521] | 43 | |
---|
| 44 | %description sans |
---|
| 45 | This package includes DejaVu sans TrueType fonts. |
---|
| 46 | |
---|
| 47 | %description -l ja sans |
---|
[1088] | 48 | このパッケージには DejaVu sans フォントが含まれています。 |
---|
[521] | 49 | |
---|
| 50 | - DejaVuSans-Bold |
---|
| 51 | - DejaVuSans-BoldOblique |
---|
| 52 | - DejaVuSans-ExtraLight |
---|
| 53 | - DejaVuSans-Oblique |
---|
| 54 | - DejaVuSans |
---|
| 55 | - DejaVuSansCondensed-Bold |
---|
| 56 | - DejaVuSansCondensed-BoldOblique |
---|
| 57 | - DejaVuSansCondensed-Oblique |
---|
| 58 | - DejaVuSansCondensed |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %package serif |
---|
| 62 | Summary: DejaVu serif TrueType Fonts |
---|
| 63 | Summary(ja): DejaVu serif True Type フォント |
---|
| 64 | Group: User Interface/X |
---|
[1088] | 65 | Requires: TrueType-%{fontname}-doc |
---|
[521] | 66 | |
---|
| 67 | %description serif |
---|
| 68 | This package includes DejaVu serif TrueType fonts. |
---|
| 69 | |
---|
| 70 | %description -l ja serif |
---|
[1088] | 71 | このパッケージには DejaVu serif フォントが含まれています。 |
---|
[521] | 72 | |
---|
| 73 | - DejaVuSerif-Bold |
---|
| 74 | - DejaVuSerif-BoldItalic |
---|
| 75 | - DejaVuSerif-Italic |
---|
| 76 | - DejaVuSerif |
---|
| 77 | - DejaVuSerifCondensed-Bold |
---|
| 78 | - DejaVuSerifCondensed-BoldItalic |
---|
| 79 | - DejaVuSerifCondensed-Italic |
---|
| 80 | - DejaVuSerifCondensed |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %package sans-mono |
---|
| 84 | Summary: DejaVu sans-mono TrueType Fonts |
---|
| 85 | Summary(ja): DejaVu sans-mono True Type フォント |
---|
| 86 | Group: User Interface/X |
---|
[1088] | 87 | Requires: TrueType-%{fontname}-doc |
---|
[521] | 88 | |
---|
| 89 | %description sans-mono |
---|
| 90 | This package includes DejaVu sans-mono TrueType fonts. |
---|
| 91 | |
---|
| 92 | %description -l ja sans-mono |
---|
[1088] | 93 | このパッケージには DejaVu sans-mono フォントが含まれています。 |
---|
[521] | 94 | |
---|
| 95 | - DejaVuSansMono-Bold |
---|
| 96 | - DejaVuSansMono-BoldOblique |
---|
| 97 | - DejaVuSansMono-Oblique |
---|
| 98 | - DejaVuSansMono |
---|
| 99 | |
---|
| 100 | %package doc |
---|
| 101 | Summary: DejaVu Font Documents |
---|
| 102 | Summary(ja): DejaVu フォントドキュメント |
---|
| 103 | Group: User Interface/X |
---|
| 104 | |
---|
| 105 | %description doc |
---|
| 106 | This package includes important documents for DejaVu fonts includes enduser |
---|
| 107 | license. |
---|
| 108 | |
---|
| 109 | %description -l ja doc |
---|
[1088] | 110 | このパッケージには DejaVu フォントのライセンスを含むドキュメント類が含まれています。 |
---|
[521] | 111 | |
---|
| 112 | |
---|
| 113 | %prep |
---|
| 114 | %setup -q -n %{archivename}-%{version} |
---|
| 115 | mv ttf/*.ttf . |
---|
| 116 | |
---|
| 117 | %build |
---|
| 118 | |
---|
| 119 | %install |
---|
| 120 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 121 | |
---|
| 122 | mkdir -p $RPM_BUILD_ROOT%{_fontdir} |
---|
| 123 | cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir} |
---|
| 124 | |
---|
| 125 | %clean |
---|
| 126 | if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then |
---|
| 127 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 128 | fi |
---|
| 129 | |
---|
| 130 | %post sans |
---|
| 131 | %__font_install_post %{_fontdir} |
---|
| 132 | |
---|
| 133 | %post serif |
---|
| 134 | %__font_install_post %{_fontdir} |
---|
| 135 | |
---|
| 136 | %post sans-mono |
---|
| 137 | %__font_install_post %{_fontdir} |
---|
| 138 | |
---|
| 139 | |
---|
| 140 | %postun sans |
---|
| 141 | %__font_install_postun %{_fontdir} |
---|
| 142 | |
---|
| 143 | %postun serif |
---|
| 144 | %__font_install_postun %{_fontdir} |
---|
| 145 | |
---|
| 146 | %postun sans-mono |
---|
| 147 | %__font_install_postun %{_fontdir} |
---|
| 148 | |
---|
| 149 | %files |
---|
| 150 | |
---|
| 151 | %files sans |
---|
| 152 | %{_fontdir}/DejaVuSans*.ttf |
---|
| 153 | |
---|
| 154 | %files serif |
---|
| 155 | %{_fontdir}/DejaVuSerif*.ttf |
---|
| 156 | |
---|
| 157 | %files sans-mono |
---|
| 158 | %{_fontdir}/DejaVuSansMono*.ttf |
---|
| 159 | |
---|
| 160 | %files doc |
---|
| 161 | %doc *.txt |
---|
| 162 | %doc AUTHORS BUGS LICENSE NEWS README |
---|
| 163 | |
---|
[1088] | 164 | |
---|
[521] | 165 | %changelog |
---|
[7780] | 166 | * Sat Aug 31 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.34-1 |
---|
| 167 | - new upstream release |
---|
| 168 | |
---|
[3724] | 169 | * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.33-1 |
---|
| 170 | - new upstream release |
---|
| 171 | |
---|
[1646] | 172 | * Mon Aug 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.32-1 |
---|
| 173 | - new upstream release |
---|
| 174 | |
---|
[1088] | 175 | * Sat May 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.31-1 |
---|
| 176 | - new upstream release |
---|
| 177 | - added Japanase summary, improved summary |
---|
| 178 | - added Requires: TrueType-%{fontname}-doc in TrueType-%{fontname} package |
---|
[521] | 179 | |
---|
| 180 | * Tue Sep 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.30-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
| 183 | * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-3 |
---|
| 184 | - added Obsoletes: TrueType-DejaVu |
---|
| 185 | |
---|
| 186 | * Wed Apr 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-2 |
---|
| 187 | - spec rewrote mostly (compliant to TrueType-IPAfont.spec) |
---|
| 188 | - renamed package name |
---|
| 189 | - splitted sans, serif, sans-mono, and doc packages |
---|
| 190 | - spec in UTF-8 |
---|
| 191 | |
---|
| 192 | * Thu Mar 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-1 |
---|
| 193 | - new upstream release |
---|
| 194 | |
---|
| 195 | * Sat Jan 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-3 |
---|
| 196 | - fixed Summary |
---|
| 197 | - fixed Lisense |
---|
| 198 | - modified description -l ja |
---|
| 199 | |
---|
| 200 | * Thu Jan 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-2 |
---|
| 201 | - fixed fontdir name |
---|
| 202 | |
---|
| 203 | * Wed Dec 31 2008 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-1 |
---|
[1088] | 204 | - initial build for VineSeed |
---|