[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9576] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2: |
---|
[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 |
---|
[9529] | 12 | Version: 2015 |
---|
[9576] | 13 | Release: 2%{?_dist_release} |
---|
| 14 | License: GPL+, Artistic, Freely redistributable without restriction, Public Domain, LPPL, GPLv2+ |
---|
[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 |
---|
[9576] | 31 | Source13: metatype1.source.tar.xz |
---|
| 32 | Source14: metatype1.tar.xz |
---|
| 33 | Source15: ps2pk.doc.tar.xz |
---|
| 34 | Source16: ps2pk.tar.xz |
---|
| 35 | Source17: pstools.doc.tar.xz |
---|
| 36 | Source18: pstools.tar.xz |
---|
| 37 | Source19: psutils.doc.tar.xz |
---|
| 38 | Source20: psutils.tar.xz |
---|
| 39 | Source21: dvipsconfig.tar.xz |
---|
| 40 | Source22: fontinst.doc.tar.xz |
---|
| 41 | Source23: fontinst.source.tar.xz |
---|
| 42 | Source24: fontinst.tar.xz |
---|
| 43 | Source25: fontools.doc.tar.xz |
---|
| 44 | Source26: fontools.tar.xz |
---|
| 45 | Source27: mf2pt1.doc.tar.xz |
---|
| 46 | Source28: mf2pt1.tar.xz |
---|
| 47 | Source29: t1utils.doc.tar.xz |
---|
| 48 | Source30: t1utils.tar.xz |
---|
| 49 | Source31: ttfutils.doc.tar.xz |
---|
| 50 | Source32: ttfutils.tar.xz |
---|
[7770] | 51 | |
---|
[1533] | 52 | Requires: texlive = %{version} |
---|
| 53 | Requires: texlive-collection-basic = %{version} |
---|
[5250] | 54 | Requires: lcdf-typetools |
---|
| 55 | Requires: psutils |
---|
| 56 | Requires: t1utils |
---|
[1533] | 57 | |
---|
| 58 | Requires(post): texlive = %{version} |
---|
| 59 | Requires(postun): texlive = %{version} |
---|
| 60 | |
---|
| 61 | BuildArch: noarch |
---|
| 62 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 63 | |
---|
| 64 | Vendor: Project Vine |
---|
| 65 | Distribution: Vine Linux |
---|
| 66 | Packager: munepi |
---|
| 67 | |
---|
| 68 | %description |
---|
| 69 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 70 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 71 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 72 | of TeX documents in many different languages, and a large collection |
---|
| 73 | of TeX macros and font libraries. |
---|
| 74 | |
---|
| 75 | The distribution includes extensive general documentation about TeX, |
---|
| 76 | as well as the documentation for the included software packages. |
---|
| 77 | |
---|
[7148] | 78 | This package is a collection of Graphics and font utilities: |
---|
[1533] | 79 | Programs for conversion between font formats, testing fonts, |
---|
| 80 | virtual fonts, .gf and .pk manipulation, mft, fontinst, etc. |
---|
[7770] | 81 | Manipulating OpenType, TrueType, Type 1,and for manipulation of |
---|
| 82 | PostScript and other image formats. |
---|
[1533] | 83 | |
---|
| 84 | This package contains the following CTAN packages: |
---|
| 85 | accfonts: Utilities to derive new fonts from existing ones. |
---|
| 86 | afm2pl: |
---|
[7148] | 87 | dosepsbin: Deal with DOS binary EPS files. |
---|
[8744] | 88 | epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript. |
---|
[1533] | 89 | fontware: |
---|
| 90 | lcdftypetools: A bundle of outline font manipulation tools. |
---|
[9576] | 91 | metatype1: Generate Type 1 fonts from MetaPost. |
---|
[9529] | 92 | ps2pk: Generate a PK font from an Adobe Type 1 font. |
---|
[1533] | 93 | pstools: Produce Encapsulated PostScript from PostScript. |
---|
| 94 | psutils: PostScript utilities. |
---|
| 95 | dvipsconfig: Collection of dvips PostScript headers. |
---|
| 96 | fontinst: Help with installing fonts for TeX and LaTeX. |
---|
| 97 | fontools: Tools to simplify using fonts (especially TT/OTF ones). |
---|
[7148] | 98 | mf2pt1: Produce PostScript Type 1 fonts from Metafont source. |
---|
[1533] | 99 | t1utils: Simple Type 1 font manipulation programs. |
---|
| 100 | ttfutils: |
---|
| 101 | |
---|
| 102 | %description -l ja |
---|
| 103 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 104 | さまざまな Unix, Macintosh, Windows、および |
---|
| 105 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 106 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 107 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 108 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 109 | 同梱しています。 |
---|
| 110 | |
---|
| 111 | このディストリビューションは |
---|
| 112 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 113 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 114 | |
---|
| 115 | このパッケージは以下のようなパッケージ集です。 |
---|
[7148] | 116 | Graphics and font utilities: |
---|
[1533] | 117 | Programs for conversion between font formats, testing fonts, |
---|
| 118 | virtual fonts, .gf and .pk manipulation, mft, fontinst, etc. |
---|
[7770] | 119 | Manipulating OpenType, TrueType, Type 1,and for manipulation of |
---|
| 120 | PostScript and other image formats. |
---|
[1533] | 121 | |
---|
| 122 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 123 | accfonts: Utilities to derive new fonts from existing ones. |
---|
| 124 | afm2pl: |
---|
[7148] | 125 | dosepsbin: Deal with DOS binary EPS files. |
---|
[8744] | 126 | epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript. |
---|
[1533] | 127 | fontware: |
---|
| 128 | lcdftypetools: A bundle of outline font manipulation tools. |
---|
[9576] | 129 | metatype1: Generate Type 1 fonts from MetaPost. |
---|
[9529] | 130 | ps2pk: Generate a PK font from an Adobe Type 1 font. |
---|
[1533] | 131 | pstools: Produce Encapsulated PostScript from PostScript. |
---|
| 132 | psutils: PostScript utilities. |
---|
| 133 | dvipsconfig: Collection of dvips PostScript headers. |
---|
| 134 | fontinst: Help with installing fonts for TeX and LaTeX. |
---|
| 135 | fontools: Tools to simplify using fonts (especially TT/OTF ones). |
---|
[7148] | 136 | mf2pt1: Produce PostScript Type 1 fonts from Metafont source. |
---|
[1533] | 137 | t1utils: Simple Type 1 font manipulation programs. |
---|
| 138 | ttfutils: |
---|
| 139 | |
---|
| 140 | %package doc |
---|
| 141 | Summary: TeX Live: Documentation files of %{name} |
---|
| 142 | Group: Applications/Publishing |
---|
| 143 | Requires: %{name} = %{version}-%{release} |
---|
| 144 | |
---|
| 145 | %description doc |
---|
| 146 | This package contains documentation files of %{name}. |
---|
| 147 | |
---|
| 148 | %prep |
---|
[7770] | 149 | %setup -c -n %{name}-%{version} |
---|
| 150 | %__tar -xvf %{SOURCE1} |
---|
| 151 | %__tar -xvf %{SOURCE2} |
---|
| 152 | %__tar -xvf %{SOURCE3} |
---|
| 153 | %__tar -xvf %{SOURCE4} |
---|
| 154 | %__tar -xvf %{SOURCE5} |
---|
| 155 | %__tar -xvf %{SOURCE6} |
---|
| 156 | %__tar -xvf %{SOURCE7} |
---|
| 157 | %__tar -xvf %{SOURCE8} |
---|
| 158 | %__tar -xvf %{SOURCE9} |
---|
| 159 | %__tar -xvf %{SOURCE10} |
---|
| 160 | %__tar -xvf %{SOURCE11} |
---|
| 161 | %__tar -xvf %{SOURCE12} |
---|
| 162 | %__tar -xvf %{SOURCE13} |
---|
| 163 | %__tar -xvf %{SOURCE14} |
---|
| 164 | %__tar -xvf %{SOURCE15} |
---|
| 165 | %__tar -xvf %{SOURCE16} |
---|
| 166 | %__tar -xvf %{SOURCE17} |
---|
| 167 | %__tar -xvf %{SOURCE18} |
---|
| 168 | %__tar -xvf %{SOURCE19} |
---|
| 169 | %__tar -xvf %{SOURCE20} |
---|
| 170 | %__tar -xvf %{SOURCE21} |
---|
| 171 | %__tar -xvf %{SOURCE22} |
---|
| 172 | %__tar -xvf %{SOURCE23} |
---|
| 173 | %__tar -xvf %{SOURCE24} |
---|
| 174 | %__tar -xvf %{SOURCE25} |
---|
| 175 | %__tar -xvf %{SOURCE26} |
---|
| 176 | %__tar -xvf %{SOURCE27} |
---|
| 177 | %__tar -xvf %{SOURCE28} |
---|
| 178 | %__tar -xvf %{SOURCE29} |
---|
[8476] | 179 | %__tar -xvf %{SOURCE30} |
---|
[9576] | 180 | %__tar -xvf %{SOURCE31} |
---|
| 181 | %__tar -xvf %{SOURCE32} |
---|
[1533] | 182 | |
---|
| 183 | %build |
---|
| 184 | |
---|
| 185 | %install |
---|
| 186 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 187 | |
---|
[7770] | 188 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 189 | |
---|
[7770] | 190 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 191 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 192 | |
---|
[7770] | 193 | ## move texmf to /usr/share/texmf |
---|
| 194 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 195 | |
---|
[7770] | 196 | ## move tlpkg to /usr/share/tlpkg |
---|
| 197 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 198 | |
---|
| 199 | ## move all non-arch binaries to /usr/bin |
---|
| 200 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 201 | |
---|
| 202 | ## move others into /usr/share/texmf-dist |
---|
| 203 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 204 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 205 | %__rm -rf * ||: |
---|
| 206 | |
---|
| 207 | |
---|
| 208 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 209 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 210 | ## remove unpacked files |
---|
| 211 | x=( |
---|
[9576] | 212 | scripts/context/stubs/unix/mtxrun |
---|
| 213 | scripts/ptex2pdf/ptex2pdf.lua |
---|
| 214 | scripts/texlive/fmtutil.pl |
---|
[9529] | 215 | scripts/texlive/texconfig-dialog.sh |
---|
| 216 | scripts/texlive/texconfig-sys.sh |
---|
| 217 | scripts/texlive/texconfig.sh |
---|
| 218 | scripts/texlive/texlinks.sh |
---|
| 219 | scripts/texlive/tlmgr.pl |
---|
[9576] | 220 | scripts/texlive/updmap.pl |
---|
[9529] | 221 | texconfig/tcfmgr |
---|
[9576] | 222 | web2c/fmtutil.cnf |
---|
[9529] | 223 | web2c/mktex.opt |
---|
| 224 | web2c/mktexdir |
---|
| 225 | web2c/mktexdir.opt |
---|
| 226 | web2c/mktexnam |
---|
| 227 | web2c/mktexnam.opt |
---|
| 228 | web2c/mktexupd |
---|
| 229 | web2c/texmf.cnf |
---|
| 230 | web2c/updmap-hdr.cfg |
---|
| 231 | web2c/updmap.cfg |
---|
[9576] | 232 | install-tl |
---|
[7770] | 233 | ) |
---|
| 234 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 235 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 236 | %__rm -f ${x[@]} ||: |
---|
[3944] | 237 | popd |
---|
[7770] | 238 | fi |
---|
| 239 | |
---|
[1533] | 240 | ## Files list |
---|
| 241 | find %{buildroot} -type f -or -type l | \ |
---|
| 242 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 243 | |
---|
[7770] | 244 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 245 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 246 | -e "s|$|/|" >> filelist.full |
---|
| 247 | |
---|
| 248 | ## subpackages |
---|
| 249 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 250 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 251 | %__mv -f filelist.tmp filelist.full |
---|
| 252 | |
---|
| 253 | %clean |
---|
| 254 | %__rm -rf %{buildroot} |
---|
| 255 | |
---|
| 256 | %post |
---|
[7770] | 257 | %_tl_touch_run texhash |
---|
| 258 | %_tl_touch_run mtxrun |
---|
[1533] | 259 | |
---|
| 260 | exit 0 |
---|
| 261 | |
---|
| 262 | |
---|
| 263 | %postun |
---|
| 264 | if [ "$1" = 0 ]; then |
---|
[7770] | 265 | %_tl_touch_run texhash |
---|
[1533] | 266 | |
---|
| 267 | fi |
---|
| 268 | |
---|
| 269 | exit 0 |
---|
| 270 | |
---|
[7148] | 271 | %posttrans |
---|
[7770] | 272 | %{_tl_exec_texhash} |
---|
| 273 | %{_tl_exec_mtxrun} |
---|
| 274 | %{_tl_exec_updmap} |
---|
| 275 | %{_tl_exec_fmtutil} |
---|
[7148] | 276 | exit 0 |
---|
| 277 | |
---|
| 278 | |
---|
[1533] | 279 | %files -f filelist.full |
---|
[5207] | 280 | %defattr(-,root,root,-) |
---|
[1533] | 281 | |
---|
| 282 | %files -f filelist.doc doc |
---|
[5207] | 283 | %defattr(-,root,root,-) |
---|
[1533] | 284 | |
---|
| 285 | %changelog |
---|
[9576] | 286 | * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2 |
---|
| 287 | - TeX Live 2015/pretest |
---|
| 288 | - synced tlnet to 20150522 (TeX Live 2015/pretest) |
---|
[9034] | 289 | |
---|
[9576] | 290 | * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1 |
---|
| 291 | - TeX Live 2015/pretest |
---|
| 292 | - synced tlnet to 20150426 (TeX Live 2015/pretest) |
---|
| 293 | |
---|
| 294 | * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4 |
---|
| 295 | - synced tlnet to 20150401 |
---|
| 296 | |
---|
| 297 | * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3 |
---|
| 298 | - synced tlnet to 20141028 |
---|
| 299 | |
---|
| 300 | * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
| 301 | - synced tlnet to 20140706 |
---|
| 302 | |
---|
| 303 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
| 304 | - upgraded to TeX Live 2014 |
---|
| 305 | |
---|
| 306 | * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6 |
---|
| 307 | - synced tlnet to 20140406 |
---|
| 308 | |
---|
| 309 | * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5 |
---|
| 310 | - synced tlnet to 20131218 |
---|
| 311 | |
---|
| 312 | * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 313 | - synced tlnet to 20131101 |
---|
| 314 | |
---|
| 315 | * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 316 | - synced tlnet to 20131002 |
---|
| 317 | |
---|
| 318 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 319 | - synced tlnet to 20130919 |
---|
| 320 | |
---|
| 321 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 322 | - upgraded to TeX Live 2013 |
---|
| 323 | - used tlnet archives |
---|
| 324 | - synced tlnet to 20130823 |
---|
| 325 | - added macros.texlive |
---|
| 326 | |
---|
| 327 | * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1 |
---|
| 328 | - updated to TeX Live 2012 |
---|
| 329 | |
---|
| 330 | * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2 |
---|
| 331 | - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in: |
---|
| 332 | - set external dependencies (texlive-collection-binextra, |
---|
| 333 | texlive-collection-fontutils) |
---|
| 334 | |
---|
| 335 | * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1 |
---|
| 336 | - updated to TeX Live 2011 |
---|
| 337 | - merged texlive-vtlpkg-2009-osx.patch from OSXWS |
---|
| 338 | - added %doc README (%files) |
---|
| 339 | |
---|
| 340 | * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4 |
---|
| 341 | - applied texlive-vtlpkg-2009-vine.patch |
---|
| 342 | - remove arch dependent binaries |
---|
| 343 | - updated tlpdb2rpmspec.sh.in: |
---|
| 344 | - improved tlpdb4a() |
---|
| 345 | - make symlinks of core script utils (texlive-collection-binextra, |
---|
| 346 | texlive-collection-context, texlive-collection-fontutils, |
---|
| 347 | texlive-collection-langgreek, texlive-collection-langindic, |
---|
| 348 | texlive-collection-latex, texlive-collection-latexextra, |
---|
| 349 | texlive-collection-latexrecommended, texlive-collection-pictures, |
---|
| 350 | texlive-collection-pstricks, texlive-collection-science) |
---|
| 351 | |
---|
| 352 | * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 353 | - updated tlpdb2rpmspec.sh.in: |
---|
| 354 | - improved %post |
---|
| 355 | |
---|
| 356 | * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 357 | - updated tlpdb2rpmspec.sh.in: |
---|
| 358 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 359 | - improved updmap process in %post and %postun |
---|
| 360 | - fixed perl path |
---|
| 361 | |
---|
| 362 | * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 363 | - initial build |
---|