[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7951] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-latex |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7770] | 9 | Summary: TeX Live: LaTeX fundamental packages |
---|
| 10 | Summary(ja): TeX Live: LaTeX fundamental packages |
---|
[1533] | 11 | Name: texlive-collection-latex |
---|
[7770] | 12 | Version: 2013 |
---|
[7951] | 13 | Release: 4%{?_dist_release} |
---|
[7770] | 14 | License: LPPL, LPPL 1.3, Public Domain |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: ae.doc.tar.xz |
---|
| 19 | Source1: ae.source.tar.xz |
---|
| 20 | Source2: ae.tar.xz |
---|
| 21 | Source3: amscls.doc.tar.xz |
---|
| 22 | Source4: amscls.source.tar.xz |
---|
| 23 | Source5: amscls.tar.xz |
---|
| 24 | Source6: amsmath.doc.tar.xz |
---|
| 25 | Source7: amsmath.source.tar.xz |
---|
| 26 | Source8: amsmath.tar.xz |
---|
| 27 | Source9: babel.doc.tar.xz |
---|
| 28 | Source10: babel.source.tar.xz |
---|
| 29 | Source11: babel.tar.xz |
---|
| 30 | Source12: babel-english.doc.tar.xz |
---|
| 31 | Source13: babel-english.source.tar.xz |
---|
| 32 | Source14: babel-english.tar.xz |
---|
| 33 | Source15: babelbib.doc.tar.xz |
---|
| 34 | Source16: babelbib.tar.xz |
---|
| 35 | Source17: carlisle.doc.tar.xz |
---|
| 36 | Source18: carlisle.source.tar.xz |
---|
| 37 | Source19: carlisle.tar.xz |
---|
| 38 | Source20: colortbl.doc.tar.xz |
---|
| 39 | Source21: colortbl.source.tar.xz |
---|
| 40 | Source22: colortbl.tar.xz |
---|
| 41 | Source23: fancyhdr.doc.tar.xz |
---|
| 42 | Source24: fancyhdr.tar.xz |
---|
| 43 | Source25: fix2col.doc.tar.xz |
---|
| 44 | Source26: fix2col.source.tar.xz |
---|
| 45 | Source27: fix2col.tar.xz |
---|
| 46 | Source28: geometry.doc.tar.xz |
---|
| 47 | Source29: geometry.source.tar.xz |
---|
| 48 | Source30: geometry.tar.xz |
---|
| 49 | Source31: graphics.doc.tar.xz |
---|
| 50 | Source32: graphics.source.tar.xz |
---|
| 51 | Source33: graphics.tar.xz |
---|
| 52 | Source34: hyperref.doc.tar.xz |
---|
| 53 | Source35: hyperref.source.tar.xz |
---|
| 54 | Source36: hyperref.tar.xz |
---|
| 55 | Source37: latex.doc.tar.xz |
---|
| 56 | Source38: latex.source.tar.xz |
---|
| 57 | Source39: latex.tar.xz |
---|
| 58 | Source40: latex-bin.doc.tar.xz |
---|
| 59 | Source41: latex-bin.tar.xz |
---|
| 60 | Source42: latex-fonts.doc.tar.xz |
---|
| 61 | Source43: latex-fonts.tar.xz |
---|
| 62 | Source44: latexconfig.tar.xz |
---|
| 63 | Source45: ltxmisc.tar.xz |
---|
| 64 | Source46: mfnfss.doc.tar.xz |
---|
| 65 | Source47: mfnfss.source.tar.xz |
---|
| 66 | Source48: mfnfss.tar.xz |
---|
| 67 | Source49: mptopdf.doc.tar.xz |
---|
| 68 | Source50: mptopdf.tar.xz |
---|
| 69 | Source51: natbib.doc.tar.xz |
---|
| 70 | Source52: natbib.source.tar.xz |
---|
| 71 | Source53: natbib.tar.xz |
---|
| 72 | Source54: oberdiek.doc.tar.xz |
---|
| 73 | Source55: oberdiek.source.tar.xz |
---|
| 74 | Source56: oberdiek.tar.xz |
---|
| 75 | Source57: pdftex-def.tar.xz |
---|
| 76 | Source58: pslatex.source.tar.xz |
---|
| 77 | Source59: pslatex.tar.xz |
---|
| 78 | Source60: psnfss.doc.tar.xz |
---|
| 79 | Source61: psnfss.source.tar.xz |
---|
| 80 | Source62: psnfss.tar.xz |
---|
| 81 | Source63: pspicture.doc.tar.xz |
---|
| 82 | Source64: pspicture.source.tar.xz |
---|
| 83 | Source65: pspicture.tar.xz |
---|
| 84 | Source66: tools.doc.tar.xz |
---|
| 85 | Source67: tools.source.tar.xz |
---|
| 86 | Source68: tools.tar.xz |
---|
| 87 | |
---|
[1533] | 88 | Requires: texlive = %{version} |
---|
| 89 | Requires: texlive-collection-basic = %{version} |
---|
| 90 | |
---|
| 91 | Requires(post): texlive = %{version} |
---|
| 92 | Requires(postun): texlive = %{version} |
---|
| 93 | |
---|
| 94 | BuildArch: noarch |
---|
| 95 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 96 | |
---|
| 97 | Vendor: Project Vine |
---|
| 98 | Distribution: Vine Linux |
---|
| 99 | Packager: munepi |
---|
| 100 | |
---|
| 101 | %description |
---|
| 102 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 103 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 104 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 105 | of TeX documents in many different languages, and a large collection |
---|
| 106 | of TeX macros and font libraries. |
---|
| 107 | |
---|
| 108 | The distribution includes extensive general documentation about TeX, |
---|
| 109 | as well as the documentation for the included software packages. |
---|
| 110 | |
---|
[7770] | 111 | This package is a collection of LaTeX fundamental packages: |
---|
[1533] | 112 | These packages are mandated by the core LaTeX team, or at least |
---|
| 113 | very strongly recommended. |
---|
| 114 | |
---|
| 115 | This package contains the following CTAN packages: |
---|
| 116 | ae: Virtual fonts for T1 encoded CMR-fonts. |
---|
| 117 | amscls: AMS document classes for LaTeX. |
---|
| 118 | amsmath: AMS mathematical facilities for LaTeX. |
---|
| 119 | babel: Multilingual support for Plain TeX or LaTeX. |
---|
[7770] | 120 | babel-english: |
---|
[1533] | 121 | babelbib: Multilingual bibliographies. |
---|
| 122 | carlisle: David Carlisle's small packages. |
---|
| 123 | colortbl: Add colour to LaTeX tables. |
---|
| 124 | fancyhdr: Extensive control of page headers and footers in LaTeX2e. |
---|
[5207] | 125 | fix2col: Fix miscellaneous two column mode features. |
---|
[1533] | 126 | geometry: Flexible and complete interface to document dimensions. |
---|
| 127 | graphics: Standard LaTeX graphics. |
---|
| 128 | hyperref: Extensive support for hypertext in LaTeX. |
---|
| 129 | latex: A TeX macro package that defines LaTeX. |
---|
| 130 | latex-bin: LaTeX executables and man pages. |
---|
| 131 | latex-fonts: A collection of fonts used in LaTeX distributions. |
---|
| 132 | latexconfig: |
---|
| 133 | ltxmisc: Miscellaneous LaTeX packages, etc. |
---|
| 134 | mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX. |
---|
[5207] | 135 | mptopdf: mpost to PDF, native MetaPost graphics inclusion |
---|
[1533] | 136 | natbib: Flexible bibliography support. |
---|
| 137 | oberdiek: A bundle of packages submitted by Heiko Oberdiek. |
---|
| 138 | pdftex-def: Colour and Graphics support for PDFTeX. |
---|
| 139 | pslatex: Use PostScript fonts by default. |
---|
| 140 | psnfss: Font support for common PostScript fonts. |
---|
| 141 | pspicture: PostScript picture support. |
---|
| 142 | tools: The LaTeX standard tools bundle. |
---|
| 143 | |
---|
| 144 | %description -l ja |
---|
| 145 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 146 | さまざまな Unix, Macintosh, Windows、および |
---|
| 147 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 148 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 149 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 150 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 151 | 同梱しています。 |
---|
| 152 | |
---|
| 153 | このディストリビューションは |
---|
| 154 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 155 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 156 | |
---|
| 157 | このパッケージは以下のようなパッケージ集です。 |
---|
[7770] | 158 | LaTeX fundamental packages: |
---|
[1533] | 159 | These packages are mandated by the core LaTeX team, or at least |
---|
| 160 | very strongly recommended. |
---|
| 161 | |
---|
| 162 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 163 | ae: Virtual fonts for T1 encoded CMR-fonts. |
---|
| 164 | amscls: AMS document classes for LaTeX. |
---|
| 165 | amsmath: AMS mathematical facilities for LaTeX. |
---|
| 166 | babel: Multilingual support for Plain TeX or LaTeX. |
---|
[7770] | 167 | babel-english: |
---|
[1533] | 168 | babelbib: Multilingual bibliographies. |
---|
| 169 | carlisle: David Carlisle's small packages. |
---|
| 170 | colortbl: Add colour to LaTeX tables. |
---|
| 171 | fancyhdr: Extensive control of page headers and footers in LaTeX2e. |
---|
[5207] | 172 | fix2col: Fix miscellaneous two column mode features. |
---|
[1533] | 173 | geometry: Flexible and complete interface to document dimensions. |
---|
| 174 | graphics: Standard LaTeX graphics. |
---|
| 175 | hyperref: Extensive support for hypertext in LaTeX. |
---|
| 176 | latex: A TeX macro package that defines LaTeX. |
---|
| 177 | latex-bin: LaTeX executables and man pages. |
---|
| 178 | latex-fonts: A collection of fonts used in LaTeX distributions. |
---|
| 179 | latexconfig: |
---|
| 180 | ltxmisc: Miscellaneous LaTeX packages, etc. |
---|
| 181 | mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX. |
---|
[5207] | 182 | mptopdf: mpost to PDF, native MetaPost graphics inclusion |
---|
[1533] | 183 | natbib: Flexible bibliography support. |
---|
| 184 | oberdiek: A bundle of packages submitted by Heiko Oberdiek. |
---|
| 185 | pdftex-def: Colour and Graphics support for PDFTeX. |
---|
| 186 | pslatex: Use PostScript fonts by default. |
---|
| 187 | psnfss: Font support for common PostScript fonts. |
---|
| 188 | pspicture: PostScript picture support. |
---|
| 189 | tools: The LaTeX standard tools bundle. |
---|
| 190 | |
---|
| 191 | %package doc |
---|
| 192 | Summary: TeX Live: Documentation files of %{name} |
---|
| 193 | Group: Applications/Publishing |
---|
| 194 | Requires: %{name} = %{version}-%{release} |
---|
| 195 | |
---|
| 196 | %description doc |
---|
| 197 | This package contains documentation files of %{name}. |
---|
| 198 | |
---|
| 199 | %prep |
---|
[7770] | 200 | %setup -c -n %{name}-%{version} |
---|
| 201 | %__tar -xvf %{SOURCE1} |
---|
| 202 | %__tar -xvf %{SOURCE2} |
---|
| 203 | %__tar -xvf %{SOURCE3} |
---|
| 204 | %__tar -xvf %{SOURCE4} |
---|
| 205 | %__tar -xvf %{SOURCE5} |
---|
| 206 | %__tar -xvf %{SOURCE6} |
---|
| 207 | %__tar -xvf %{SOURCE7} |
---|
| 208 | %__tar -xvf %{SOURCE8} |
---|
| 209 | %__tar -xvf %{SOURCE9} |
---|
| 210 | %__tar -xvf %{SOURCE10} |
---|
| 211 | %__tar -xvf %{SOURCE11} |
---|
| 212 | %__tar -xvf %{SOURCE12} |
---|
| 213 | %__tar -xvf %{SOURCE13} |
---|
| 214 | %__tar -xvf %{SOURCE14} |
---|
| 215 | %__tar -xvf %{SOURCE15} |
---|
| 216 | %__tar -xvf %{SOURCE16} |
---|
| 217 | %__tar -xvf %{SOURCE17} |
---|
| 218 | %__tar -xvf %{SOURCE18} |
---|
| 219 | %__tar -xvf %{SOURCE19} |
---|
| 220 | %__tar -xvf %{SOURCE20} |
---|
| 221 | %__tar -xvf %{SOURCE21} |
---|
| 222 | %__tar -xvf %{SOURCE22} |
---|
| 223 | %__tar -xvf %{SOURCE23} |
---|
| 224 | %__tar -xvf %{SOURCE24} |
---|
| 225 | %__tar -xvf %{SOURCE25} |
---|
| 226 | %__tar -xvf %{SOURCE26} |
---|
| 227 | %__tar -xvf %{SOURCE27} |
---|
| 228 | %__tar -xvf %{SOURCE28} |
---|
| 229 | %__tar -xvf %{SOURCE29} |
---|
| 230 | %__tar -xvf %{SOURCE30} |
---|
| 231 | %__tar -xvf %{SOURCE31} |
---|
| 232 | %__tar -xvf %{SOURCE32} |
---|
| 233 | %__tar -xvf %{SOURCE33} |
---|
| 234 | %__tar -xvf %{SOURCE34} |
---|
| 235 | %__tar -xvf %{SOURCE35} |
---|
| 236 | %__tar -xvf %{SOURCE36} |
---|
| 237 | %__tar -xvf %{SOURCE37} |
---|
| 238 | %__tar -xvf %{SOURCE38} |
---|
| 239 | %__tar -xvf %{SOURCE39} |
---|
| 240 | %__tar -xvf %{SOURCE40} |
---|
| 241 | %__tar -xvf %{SOURCE41} |
---|
| 242 | %__tar -xvf %{SOURCE42} |
---|
| 243 | %__tar -xvf %{SOURCE43} |
---|
| 244 | %__tar -xvf %{SOURCE44} |
---|
| 245 | %__tar -xvf %{SOURCE45} |
---|
| 246 | %__tar -xvf %{SOURCE46} |
---|
| 247 | %__tar -xvf %{SOURCE47} |
---|
| 248 | %__tar -xvf %{SOURCE48} |
---|
| 249 | %__tar -xvf %{SOURCE49} |
---|
| 250 | %__tar -xvf %{SOURCE50} |
---|
| 251 | %__tar -xvf %{SOURCE51} |
---|
| 252 | %__tar -xvf %{SOURCE52} |
---|
| 253 | %__tar -xvf %{SOURCE53} |
---|
| 254 | %__tar -xvf %{SOURCE54} |
---|
| 255 | %__tar -xvf %{SOURCE55} |
---|
| 256 | %__tar -xvf %{SOURCE56} |
---|
| 257 | %__tar -xvf %{SOURCE57} |
---|
| 258 | %__tar -xvf %{SOURCE58} |
---|
| 259 | %__tar -xvf %{SOURCE59} |
---|
| 260 | %__tar -xvf %{SOURCE60} |
---|
| 261 | %__tar -xvf %{SOURCE61} |
---|
| 262 | %__tar -xvf %{SOURCE62} |
---|
| 263 | %__tar -xvf %{SOURCE63} |
---|
| 264 | %__tar -xvf %{SOURCE64} |
---|
| 265 | %__tar -xvf %{SOURCE65} |
---|
| 266 | %__tar -xvf %{SOURCE66} |
---|
| 267 | %__tar -xvf %{SOURCE67} |
---|
| 268 | %__tar -xvf %{SOURCE68} |
---|
[1533] | 269 | |
---|
| 270 | %build |
---|
| 271 | |
---|
| 272 | %install |
---|
| 273 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 274 | |
---|
[7770] | 275 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 276 | |
---|
[7770] | 277 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 278 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 279 | |
---|
[7770] | 280 | ## move texmf to /usr/share/texmf |
---|
| 281 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 282 | |
---|
[7770] | 283 | ## move tlpkg to /usr/share/tlpkg |
---|
| 284 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 285 | |
---|
| 286 | ## move all non-arch binaries to /usr/bin |
---|
| 287 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 288 | |
---|
| 289 | ## move others into /usr/share/texmf-dist |
---|
| 290 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 291 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 292 | %__rm -rf * ||: |
---|
| 293 | |
---|
| 294 | |
---|
| 295 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 296 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 297 | ## remove unpacked files |
---|
| 298 | x=( |
---|
[7951] | 299 | scripts/fontools/autoinst |
---|
[7855] | 300 | scripts/texlive/tlmgr.pl |
---|
[7951] | 301 | scripts/texlive/updmap.pl |
---|
[7770] | 302 | texconfig/tcfmgr |
---|
| 303 | texconfig/tcfmgr.map |
---|
| 304 | web2c/fmtutil.cnf |
---|
| 305 | web2c/mktex.opt |
---|
| 306 | web2c/mktexdir |
---|
| 307 | web2c/mktexdir.opt |
---|
| 308 | web2c/mktexnam |
---|
| 309 | web2c/mktexnam.opt |
---|
| 310 | web2c/mktexupd |
---|
| 311 | web2c/texmf.cnf |
---|
| 312 | web2c/updmap.cfg |
---|
| 313 | web2c/updmap-hdr.cfg |
---|
| 314 | doc/chktex/ChkTeX.pdf |
---|
| 315 | install-tl |
---|
| 316 | ) |
---|
| 317 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 318 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 319 | %__rm -f ${x[@]} ||: |
---|
[3944] | 320 | popd |
---|
[7770] | 321 | fi |
---|
| 322 | |
---|
[1533] | 323 | ## Files list |
---|
| 324 | find %{buildroot} -type f -or -type l | \ |
---|
| 325 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 326 | |
---|
[7770] | 327 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 328 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 329 | -e "s|$|/|" >> filelist.full |
---|
| 330 | |
---|
| 331 | ## subpackages |
---|
| 332 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 333 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 334 | %__mv -f filelist.tmp filelist.full |
---|
| 335 | |
---|
| 336 | %clean |
---|
| 337 | %__rm -rf %{buildroot} |
---|
| 338 | |
---|
| 339 | %post |
---|
[7770] | 340 | %_tl_touch_run texhash |
---|
| 341 | %_tl_touch_run mtxrun |
---|
[1533] | 342 | |
---|
[7770] | 343 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 344 | |
---|
[7770] | 345 | %_tl_enable_map Map charter.map |
---|
| 346 | %_tl_enable_map Map fpls.map |
---|
| 347 | %_tl_enable_map Map pazo.map |
---|
| 348 | %_tl_enable_map Map utopia.map |
---|
[2505] | 349 | |
---|
[7770] | 350 | %_tl_touch_run fmtutil |
---|
[2505] | 351 | |
---|
[1533] | 352 | exit 0 |
---|
| 353 | |
---|
| 354 | |
---|
| 355 | %postun |
---|
| 356 | if [ "$1" = 0 ]; then |
---|
[7770] | 357 | %_tl_touch_run texhash |
---|
[1533] | 358 | |
---|
[7770] | 359 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 360 | |
---|
[7770] | 361 | %_tl_disable_map charter.map |
---|
| 362 | %_tl_disable_map fpls.map |
---|
| 363 | %_tl_disable_map pazo.map |
---|
| 364 | %_tl_disable_map utopia.map |
---|
[1533] | 365 | |
---|
| 366 | fi |
---|
| 367 | |
---|
| 368 | exit 0 |
---|
| 369 | |
---|
[7148] | 370 | %posttrans |
---|
[7770] | 371 | %{_tl_exec_texhash} |
---|
| 372 | %{_tl_exec_mtxrun} |
---|
| 373 | %{_tl_exec_updmap} |
---|
| 374 | %{_tl_exec_fmtutil} |
---|
[7148] | 375 | exit 0 |
---|
| 376 | |
---|
| 377 | |
---|
[1533] | 378 | %files -f filelist.full |
---|
[5207] | 379 | %defattr(-,root,root,-) |
---|
[1533] | 380 | |
---|
| 381 | %files -f filelist.doc doc |
---|
[5207] | 382 | %defattr(-,root,root,-) |
---|
[1533] | 383 | |
---|
| 384 | %changelog |
---|
[7951] | 385 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 386 | - TLNET 20131101 |
---|
| 387 | |
---|
[7855] | 388 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 389 | - TLNET 20131002 |
---|
| 390 | |
---|
[7810] | 391 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 392 | - TLNET 20130919 |
---|
| 393 | |
---|
[7770] | 394 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 395 | - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-latex |
---|
| 396 | - TLNET 20130823 |
---|