[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7951] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-fontutils |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7148] | 9 | Summary: TeX Live: Graphics and font utilities |
---|
| 10 | Summary(ja): TeX Live: Graphics and font utilities |
---|
[1533] | 11 | Name: texlive-collection-fontutils |
---|
[7770] | 12 | Version: 2013 |
---|
[7951] | 13 | Release: 4%{?_dist_release} |
---|
[7148] | 14 | License: GPL+, Artistic, Freely redistributable without restriction, LPPL, GPLv2+, Public Domain |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: accfonts.doc.tar.xz |
---|
| 19 | Source1: accfonts.tar.xz |
---|
| 20 | Source2: afm2pl.doc.tar.xz |
---|
| 21 | Source3: afm2pl.tar.xz |
---|
| 22 | Source4: dosepsbin.doc.tar.xz |
---|
| 23 | Source5: dosepsbin.source.tar.xz |
---|
| 24 | Source6: dosepsbin.tar.xz |
---|
| 25 | Source7: epstopdf.doc.tar.xz |
---|
| 26 | Source8: epstopdf.tar.xz |
---|
| 27 | Source9: fontware.doc.tar.xz |
---|
| 28 | Source10: fontware.tar.xz |
---|
| 29 | Source11: lcdftypetools.doc.tar.xz |
---|
| 30 | Source12: lcdftypetools.tar.xz |
---|
| 31 | Source13: ps2pkm.tar.xz |
---|
| 32 | Source14: pstools.doc.tar.xz |
---|
| 33 | Source15: pstools.tar.xz |
---|
| 34 | Source16: psutils.doc.tar.xz |
---|
| 35 | Source17: psutils.tar.xz |
---|
| 36 | Source18: dvipsconfig.tar.xz |
---|
| 37 | Source19: fontinst.doc.tar.xz |
---|
| 38 | Source20: fontinst.source.tar.xz |
---|
| 39 | Source21: fontinst.tar.xz |
---|
| 40 | Source22: fontools.doc.tar.xz |
---|
| 41 | Source23: fontools.tar.xz |
---|
| 42 | Source24: mf2pt1.doc.tar.xz |
---|
| 43 | Source25: mf2pt1.tar.xz |
---|
| 44 | Source26: t1utils.doc.tar.xz |
---|
| 45 | Source27: t1utils.tar.xz |
---|
| 46 | Source28: ttfutils.doc.tar.xz |
---|
| 47 | Source29: ttfutils.tar.xz |
---|
| 48 | |
---|
[1533] | 49 | Requires: texlive = %{version} |
---|
| 50 | Requires: texlive-collection-basic = %{version} |
---|
[5250] | 51 | Requires: lcdf-typetools |
---|
| 52 | Requires: psutils |
---|
| 53 | Requires: t1utils |
---|
[1533] | 54 | |
---|
| 55 | Requires(post): texlive = %{version} |
---|
| 56 | Requires(postun): texlive = %{version} |
---|
| 57 | |
---|
| 58 | BuildArch: noarch |
---|
| 59 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 60 | |
---|
| 61 | Vendor: Project Vine |
---|
| 62 | Distribution: Vine Linux |
---|
| 63 | Packager: munepi |
---|
| 64 | |
---|
| 65 | %description |
---|
| 66 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 67 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 68 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 69 | of TeX documents in many different languages, and a large collection |
---|
| 70 | of TeX macros and font libraries. |
---|
| 71 | |
---|
| 72 | The distribution includes extensive general documentation about TeX, |
---|
| 73 | as well as the documentation for the included software packages. |
---|
| 74 | |
---|
[7148] | 75 | This package is a collection of Graphics and font utilities: |
---|
[1533] | 76 | Programs for conversion between font formats, testing fonts, |
---|
| 77 | virtual fonts, .gf and .pk manipulation, mft, fontinst, etc. |
---|
[7770] | 78 | Manipulating OpenType, TrueType, Type 1,and for manipulation of |
---|
| 79 | PostScript and other image formats. |
---|
[1533] | 80 | |
---|
| 81 | This package contains the following CTAN packages: |
---|
| 82 | accfonts: Utilities to derive new fonts from existing ones. |
---|
| 83 | afm2pl: |
---|
[7148] | 84 | dosepsbin: Deal with DOS binary EPS files. |
---|
[7770] | 85 | epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript. |
---|
[1533] | 86 | fontware: |
---|
| 87 | lcdftypetools: A bundle of outline font manipulation tools. |
---|
| 88 | ps2pkm: Generate a PK font from an Adobe Type 1 font. |
---|
| 89 | pstools: Produce Encapsulated PostScript from PostScript. |
---|
| 90 | psutils: PostScript utilities. |
---|
| 91 | dvipsconfig: Collection of dvips PostScript headers. |
---|
| 92 | fontinst: Help with installing fonts for TeX and LaTeX. |
---|
| 93 | fontools: Tools to simplify using fonts (especially TT/OTF ones). |
---|
[7148] | 94 | mf2pt1: Produce PostScript Type 1 fonts from Metafont source. |
---|
[1533] | 95 | t1utils: Simple Type 1 font manipulation programs. |
---|
| 96 | ttfutils: |
---|
| 97 | |
---|
| 98 | %description -l ja |
---|
| 99 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 100 | さまざまな Unix, Macintosh, Windows、および |
---|
| 101 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 102 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 103 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 104 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 105 | 同梱しています。 |
---|
| 106 | |
---|
| 107 | このディストリビューションは |
---|
| 108 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 109 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 110 | |
---|
| 111 | このパッケージは以下のようなパッケージ集です。 |
---|
[7148] | 112 | Graphics and font utilities: |
---|
[1533] | 113 | Programs for conversion between font formats, testing fonts, |
---|
| 114 | virtual fonts, .gf and .pk manipulation, mft, fontinst, etc. |
---|
[7770] | 115 | Manipulating OpenType, TrueType, Type 1,and for manipulation of |
---|
| 116 | PostScript and other image formats. |
---|
[1533] | 117 | |
---|
| 118 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 119 | accfonts: Utilities to derive new fonts from existing ones. |
---|
| 120 | afm2pl: |
---|
[7148] | 121 | dosepsbin: Deal with DOS binary EPS files. |
---|
[7770] | 122 | epstopdf: Convert EPS to 'encapsulated' PDF using GhostScript. |
---|
[1533] | 123 | fontware: |
---|
| 124 | lcdftypetools: A bundle of outline font manipulation tools. |
---|
| 125 | ps2pkm: Generate a PK font from an Adobe Type 1 font. |
---|
| 126 | pstools: Produce Encapsulated PostScript from PostScript. |
---|
| 127 | psutils: PostScript utilities. |
---|
| 128 | dvipsconfig: Collection of dvips PostScript headers. |
---|
| 129 | fontinst: Help with installing fonts for TeX and LaTeX. |
---|
| 130 | fontools: Tools to simplify using fonts (especially TT/OTF ones). |
---|
[7148] | 131 | mf2pt1: Produce PostScript Type 1 fonts from Metafont source. |
---|
[1533] | 132 | t1utils: Simple Type 1 font manipulation programs. |
---|
| 133 | ttfutils: |
---|
| 134 | |
---|
| 135 | %package doc |
---|
| 136 | Summary: TeX Live: Documentation files of %{name} |
---|
| 137 | Group: Applications/Publishing |
---|
| 138 | Requires: %{name} = %{version}-%{release} |
---|
| 139 | |
---|
| 140 | %description doc |
---|
| 141 | This package contains documentation files of %{name}. |
---|
| 142 | |
---|
| 143 | %prep |
---|
[7770] | 144 | %setup -c -n %{name}-%{version} |
---|
| 145 | %__tar -xvf %{SOURCE1} |
---|
| 146 | %__tar -xvf %{SOURCE2} |
---|
| 147 | %__tar -xvf %{SOURCE3} |
---|
| 148 | %__tar -xvf %{SOURCE4} |
---|
| 149 | %__tar -xvf %{SOURCE5} |
---|
| 150 | %__tar -xvf %{SOURCE6} |
---|
| 151 | %__tar -xvf %{SOURCE7} |
---|
| 152 | %__tar -xvf %{SOURCE8} |
---|
| 153 | %__tar -xvf %{SOURCE9} |
---|
| 154 | %__tar -xvf %{SOURCE10} |
---|
| 155 | %__tar -xvf %{SOURCE11} |
---|
| 156 | %__tar -xvf %{SOURCE12} |
---|
| 157 | %__tar -xvf %{SOURCE13} |
---|
| 158 | %__tar -xvf %{SOURCE14} |
---|
| 159 | %__tar -xvf %{SOURCE15} |
---|
| 160 | %__tar -xvf %{SOURCE16} |
---|
| 161 | %__tar -xvf %{SOURCE17} |
---|
| 162 | %__tar -xvf %{SOURCE18} |
---|
| 163 | %__tar -xvf %{SOURCE19} |
---|
| 164 | %__tar -xvf %{SOURCE20} |
---|
| 165 | %__tar -xvf %{SOURCE21} |
---|
| 166 | %__tar -xvf %{SOURCE22} |
---|
| 167 | %__tar -xvf %{SOURCE23} |
---|
| 168 | %__tar -xvf %{SOURCE24} |
---|
| 169 | %__tar -xvf %{SOURCE25} |
---|
| 170 | %__tar -xvf %{SOURCE26} |
---|
| 171 | %__tar -xvf %{SOURCE27} |
---|
| 172 | %__tar -xvf %{SOURCE28} |
---|
| 173 | %__tar -xvf %{SOURCE29} |
---|
[1533] | 174 | |
---|
| 175 | %build |
---|
| 176 | |
---|
| 177 | %install |
---|
| 178 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 179 | |
---|
[7770] | 180 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 181 | |
---|
[7770] | 182 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 183 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 184 | |
---|
[7770] | 185 | ## move texmf to /usr/share/texmf |
---|
| 186 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 187 | |
---|
[7770] | 188 | ## move tlpkg to /usr/share/tlpkg |
---|
| 189 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 190 | |
---|
| 191 | ## move all non-arch binaries to /usr/bin |
---|
| 192 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 193 | |
---|
| 194 | ## move others into /usr/share/texmf-dist |
---|
| 195 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 196 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 197 | %__rm -rf * ||: |
---|
| 198 | |
---|
| 199 | |
---|
| 200 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 201 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 202 | ## remove unpacked files |
---|
| 203 | x=( |
---|
[7855] | 204 | scripts/fontools/autoinst |
---|
| 205 | scripts/texlive/tlmgr.pl |
---|
[7951] | 206 | scripts/texlive/updmap.pl |
---|
[7770] | 207 | texconfig/tcfmgr |
---|
| 208 | texconfig/tcfmgr.map |
---|
| 209 | web2c/fmtutil.cnf |
---|
| 210 | web2c/mktex.opt |
---|
| 211 | web2c/mktexdir |
---|
| 212 | web2c/mktexdir.opt |
---|
| 213 | web2c/mktexnam |
---|
| 214 | web2c/mktexnam.opt |
---|
| 215 | web2c/mktexupd |
---|
| 216 | web2c/texmf.cnf |
---|
| 217 | web2c/updmap.cfg |
---|
| 218 | web2c/updmap-hdr.cfg |
---|
| 219 | doc/chktex/ChkTeX.pdf |
---|
| 220 | install-tl |
---|
| 221 | ) |
---|
| 222 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 223 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 224 | %__rm -f ${x[@]} ||: |
---|
[3944] | 225 | popd |
---|
[7770] | 226 | fi |
---|
| 227 | |
---|
[1533] | 228 | ## Files list |
---|
| 229 | find %{buildroot} -type f -or -type l | \ |
---|
| 230 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 231 | |
---|
[7770] | 232 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 233 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 234 | -e "s|$|/|" >> filelist.full |
---|
| 235 | |
---|
| 236 | ## subpackages |
---|
| 237 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 238 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 239 | %__mv -f filelist.tmp filelist.full |
---|
| 240 | |
---|
| 241 | %clean |
---|
| 242 | %__rm -rf %{buildroot} |
---|
| 243 | |
---|
| 244 | %post |
---|
[7770] | 245 | %_tl_touch_run texhash |
---|
| 246 | %_tl_touch_run mtxrun |
---|
[1533] | 247 | |
---|
| 248 | exit 0 |
---|
| 249 | |
---|
| 250 | |
---|
| 251 | %postun |
---|
| 252 | if [ "$1" = 0 ]; then |
---|
[7770] | 253 | %_tl_touch_run texhash |
---|
[1533] | 254 | |
---|
| 255 | fi |
---|
| 256 | |
---|
| 257 | exit 0 |
---|
| 258 | |
---|
[7148] | 259 | %posttrans |
---|
[7770] | 260 | %{_tl_exec_texhash} |
---|
| 261 | %{_tl_exec_mtxrun} |
---|
| 262 | %{_tl_exec_updmap} |
---|
| 263 | %{_tl_exec_fmtutil} |
---|
[7148] | 264 | exit 0 |
---|
| 265 | |
---|
| 266 | |
---|
[1533] | 267 | %files -f filelist.full |
---|
[5207] | 268 | %defattr(-,root,root,-) |
---|
[1533] | 269 | |
---|
| 270 | %files -f filelist.doc doc |
---|
[5207] | 271 | %defattr(-,root,root,-) |
---|
[1533] | 272 | |
---|
| 273 | %changelog |
---|
[7951] | 274 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 275 | - TLNET 20131101 |
---|
| 276 | |
---|
[7855] | 277 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 278 | - TLNET 20131002 |
---|
| 279 | |
---|
[7810] | 280 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 281 | - TLNET 20130919 |
---|
| 282 | |
---|
[7770] | 283 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 284 | - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-fontutils |
---|
| 285 | - TLNET 20130823 |
---|