## -*- coding: utf-8-unix -*-
## NOTE: This spec file is generated by tlpdb2rpmspec 2011-1: 
## tlpdb2rpmspec collection-science

%global _use_internal_dependency_generator 0
%global __find_provides %{nil}
%global __find_requires %{nil}

%bcond_with firstbuild

%define tex_destdir	%{_datadir}
%define texmf		%{tex_destdir}/texmf
%define texlive_src	%{tex_destdir}/texlive-sources
%define build_tex_destdir	%{buildroot}%{tex_destdir}
%define build_texmf	%{buildroot}%{texmf}

%define exec_mktexlsr  [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash
%define exec_texhash  [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash
%define exec_updmap   [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys
%define exec_fmtutil  [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1
%define exec_upddeffont    [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null
%define vartexfonts %{_var}/lib/texmf/fonts

Summary: TeX Live: Typesetting for natural and computer sciences
Summary(ja): TeX Live: Typesetting for natural and computer sciences
Name: texlive-collection-science
Version: 2011
Release: 1%{?_dist_release}
License: LPPL, LGPLv2+, GPL+, Public Domain, Freely redistributable without restriction
Group: Applications/Publishing
URL:http://www.tug.org/texlive/

Requires: texlive = %{version}
Requires: texlive-collection-latex = %{version}

Requires(post):		texlive = %{version}
Requires(postun):	texlive = %{version}
BuildRequires:		texlive-sources = %{version}

BuildArch:	noarch
Buildroot:	%{_tmppath}/%{name}-%{version}-root

Vendor:		Project Vine
Distribution:	Vine Linux
Packager:	munepi

%description
The TeX Live software distribution offers a complete TeX system for a
variety of Unix, Macintosh, Windows and other platforms. It
encompasses programs for editing, typesetting, previewing and printing
of TeX documents in many different languages, and a large collection
of TeX macros and font libraries.

The distribution includes extensive general documentation about TeX,
as well as the documentation for the included software packages.

This package is a collection of Typesetting for natural and computer sciences: 
Typesetting for natural and computer sciences

This package contains the following CTAN packages: 
SIstyle: Package to typeset SI units, numbers and angles.
SIunits: International System of Units.
alg: LaTeX environments for typesetting algorithms.
algorithm2e: Floating algorithm environment with algorithmic keywords.
algorithmicx: The algorithmic style you always wanted.
algorithms: A suite of tools for typesetting algorithms in pseudo-code.
biocon: Typesetting biological species names
bpchem: Typeset chemical names, formulae, etc.
bytefield: Create illustrations for network protocol specifications.
chemarrow: Arrows for use in chemistry.
chemcompounds: Simple consecutive numbering of chemical compounds.
chemcono: Support for compound numbers in chemistry documents.
chemexec: Creating (chemical) exercise sheets.
chemmacros: A collection of macros to support typesetting chemistry documents.
chemstyle: Writing chemistry with style.
clrscode: Typesets pseudocode as in Introduction to Algorithms.
complexity: Computational complexity class names.
computational-complexity: Class for the journal Computational Complexity.
digiconfigs: Writing "configurations"
drawstack: Draw execution stacks.
dyntree: Construct Dynkin tree diagrams.
eltex: Simple circuit diagrams in LaTeX picture mode.
engtlc: Support for users in Telecommunications Engineering.
fouridx: Left sub- and superscripts in maths mode.
functan: Macros for functional analysis and PDE theory
galois: Typeset Galois connections.
gastex: Graphs and Automata Simplified in TeX.
gene-logic: Typeset logic formulae, etc.
gu: Typeset crystallographic group-subgroup-schemes.
hep: A "convenience wrapper" for High Energy Physics packages.
hepnames: Pre-defined high energy particle names.
hepparticles: Macros for typesetting high energy physics particle names.
hepthesis: A class for academic reports, especially PhD theses.
hepunits: A set of units useful in high energy physics applications.
karnaugh: Typeset Karnaugh-Veitch-maps.
mhchem: Typeset chemical formulae/equations and Risk and Safety phrases.
miller: Typeset miller indices.
mychemistry: Create reaction schemes with LaTeX and ChemFig.
nuc: Notation for nuclear isotopes.
objectz: Macros for typesetting Object Z.
physymb: Assorted macros for Physicists.
pseudocode: LaTeX environment for specifying algorithms in a natural way.
scientificpaper: Format a scientific paper for journal publication.
sciposter: Make posters of ISO A3 size and larger.
sfg: Draw signal flow graphs.
siunitx: A comprehensive (SI) units package.
steinmetz: Print Steinmetz notation.
struktex: Draw Nassi-Schneidermann charts
t-angles: Draw tangles, trees, Hopf algebra operations and other pictures.
textopo: Annotated membrane protein topology plots.
ulqda: Support of Qualitative Data Analysis.
unitsdef: Typesetting units in LaTeX.
youngtab: Typeset Young-Tableaux.

%description -l ja
TeX Live ソフトウェアディストリビューションは、
さまざまな Unix, Macintosh, Windows、および
他のプラットホームに対して完全な TeX システムを提供します。
多くの異なった言語を含む TeX ドキュメントの
編集、組版、閲覧、印刷するためのプログラム、
そして、TeX マクロやフォントライブラリの大きなコレクションを
同梱しています。

このディストリビューションは
同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
TeX に関するたくさんの一般的なドキュメントを含んでいます。

このパッケージは以下のようなパッケージ集です。
Typesetting for natural and computer sciences: 
Typesetting for natural and computer sciences

このパッケージは以下の CTAN パッケージを含んでいます: 
SIstyle: Package to typeset SI units, numbers and angles.
SIunits: International System of Units.
alg: LaTeX environments for typesetting algorithms.
algorithm2e: Floating algorithm environment with algorithmic keywords.
algorithmicx: The algorithmic style you always wanted.
algorithms: A suite of tools for typesetting algorithms in pseudo-code.
biocon: Typesetting biological species names
bpchem: Typeset chemical names, formulae, etc.
bytefield: Create illustrations for network protocol specifications.
chemarrow: Arrows for use in chemistry.
chemcompounds: Simple consecutive numbering of chemical compounds.
chemcono: Support for compound numbers in chemistry documents.
chemexec: Creating (chemical) exercise sheets.
chemmacros: A collection of macros to support typesetting chemistry documents.
chemstyle: Writing chemistry with style.
clrscode: Typesets pseudocode as in Introduction to Algorithms.
complexity: Computational complexity class names.
computational-complexity: Class for the journal Computational Complexity.
digiconfigs: Writing "configurations"
drawstack: Draw execution stacks.
dyntree: Construct Dynkin tree diagrams.
eltex: Simple circuit diagrams in LaTeX picture mode.
engtlc: Support for users in Telecommunications Engineering.
fouridx: Left sub- and superscripts in maths mode.
functan: Macros for functional analysis and PDE theory
galois: Typeset Galois connections.
gastex: Graphs and Automata Simplified in TeX.
gene-logic: Typeset logic formulae, etc.
gu: Typeset crystallographic group-subgroup-schemes.
hep: A "convenience wrapper" for High Energy Physics packages.
hepnames: Pre-defined high energy particle names.
hepparticles: Macros for typesetting high energy physics particle names.
hepthesis: A class for academic reports, especially PhD theses.
hepunits: A set of units useful in high energy physics applications.
karnaugh: Typeset Karnaugh-Veitch-maps.
mhchem: Typeset chemical formulae/equations and Risk and Safety phrases.
miller: Typeset miller indices.
mychemistry: Create reaction schemes with LaTeX and ChemFig.
nuc: Notation for nuclear isotopes.
objectz: Macros for typesetting Object Z.
physymb: Assorted macros for Physicists.
pseudocode: LaTeX environment for specifying algorithms in a natural way.
scientificpaper: Format a scientific paper for journal publication.
sciposter: Make posters of ISO A3 size and larger.
sfg: Draw signal flow graphs.
siunitx: A comprehensive (SI) units package.
steinmetz: Print Steinmetz notation.
struktex: Draw Nassi-Schneidermann charts
t-angles: Draw tangles, trees, Hopf algebra operations and other pictures.
textopo: Annotated membrane protein topology plots.
ulqda: Support of Qualitative Data Analysis.
unitsdef: Typesetting units in LaTeX.
youngtab: Typeset Young-Tableaux.

%package doc
Summary: TeX Live: Documentation files of %{name}
Group: Applications/Publishing
Requires: %{name} = %{version}-%{release}

%description doc
This package contains documentation files of %{name}.

%prep

%build

%install
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}

PREF=%{buildroot}%{tex_destdir}

manifest=(
texmf-dist/doc/latex/SIstyle/README
texmf-dist/doc/latex/SIstyle/SIstyle-2.3a.pdf
texmf-dist/doc/latex/SIstyle/fig1.eps
texmf-dist/doc/latex/SIstyle/fig1.mps
texmf-dist/doc/latex/SIstyle/fig2.eps
texmf-dist/doc/latex/SIstyle/fig2.mps
texmf-dist/doc/latex/SIstyle/graphs_scr.zip
texmf-dist/source/latex/SIstyle/sistyle.dtx
texmf-dist/source/latex/SIstyle/sistyle.ins
texmf-dist/tex/latex/SIstyle/sistyle.sty
texmf-dist/doc/latex/SIunits/README
texmf-dist/doc/latex/SIunits/SIunits.pdf
texmf-dist/source/latex/SIunits/SIunits.drv
texmf-dist/source/latex/SIunits/SIunits.dtx
texmf-dist/source/latex/SIunits/SIunits.ins
texmf-dist/tex/latex/SIunits/SIunits.cfg
texmf-dist/tex/latex/SIunits/SIunits.sty
texmf-dist/tex/latex/SIunits/binary.sty
texmf-dist/doc/latex/alg/readme.txt
texmf-dist/source/latex/alg/alg.dtx
texmf-dist/source/latex/alg/alg.ins
texmf-dist/tex/latex/alg/alg.sty
texmf-dist/doc/latex/algorithm2e/README
texmf-dist/doc/latex/algorithm2e/algorithm2e.pdf
texmf-dist/doc/latex/algorithm2e/algorithm2e.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_ex01.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_ex02.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_ex03.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_ex04.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_ex05.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_ex06.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_ex07.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_exAlgoDisjdecomp.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_exIR.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_exfor.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_exrepeat.tex
texmf-dist/doc/latex/algorithm2e/algorithm2e_exswitch.tex
texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
texmf-dist/doc/latex/algorithmicx/README
texmf-dist/doc/latex/algorithmicx/algorithmicx.pdf
texmf-dist/doc/latex/algorithmicx/algorithmicx.tex
texmf-dist/tex/latex/algorithmicx/algc.sty
texmf-dist/tex/latex/algorithmicx/algcompatible.sty
texmf-dist/tex/latex/algorithmicx/algmatlab.sty
texmf-dist/tex/latex/algorithmicx/algorithmicx.sty
texmf-dist/tex/latex/algorithmicx/algpascal.sty
texmf-dist/tex/latex/algorithmicx/algpseudocode.sty
texmf-dist/doc/latex/algorithms/COPYING
texmf-dist/doc/latex/algorithms/README
texmf-dist/doc/latex/algorithms/THANKS
texmf-dist/doc/latex/algorithms/algorithms.pdf
texmf-dist/source/latex/algorithms/algorithms.dtx
texmf-dist/source/latex/algorithms/algorithms.ins
texmf-dist/tex/latex/algorithms/algorithm.sty
texmf-dist/tex/latex/algorithms/algorithmic.sty
texmf-dist/doc/latex/biocon/COPYING
texmf-dist/doc/latex/biocon/INSTALL
texmf-dist/doc/latex/biocon/README
texmf-dist/doc/latex/biocon/biocon.nw
texmf-dist/doc/latex/biocon/literature.bib
texmf-dist/doc/latex/biocon/manual-old.pdf
texmf-dist/doc/latex/biocon/manual-old.tex
texmf-dist/doc/latex/biocon/manual.pdf
texmf-dist/doc/latex/biocon/manual.tex
texmf-dist/doc/latex/biocon/source.pdf
texmf-dist/doc/latex/biocon/source.tex
texmf-dist/tex/latex/biocon/biocon-old.sty
texmf-dist/tex/latex/biocon/biocon.sty
texmf-dist/doc/latex/bpchem/bpchem.pdf
texmf-dist/source/latex/bpchem/bpchem.dtx
texmf-dist/source/latex/bpchem/bpchem.ins
texmf-dist/tex/latex/bpchem/bpchem.sty
texmf-dist/doc/latex/bytefield/README
texmf-dist/doc/latex/bytefield/bf-example.pdf
texmf-dist/doc/latex/bytefield/bf-example.tex
texmf-dist/doc/latex/bytefield/bytefield.pdf
texmf-dist/source/latex/bytefield/bytefield.dtx
texmf-dist/source/latex/bytefield/bytefield.ins
texmf-dist/tex/latex/bytefield/bytefield.sty
texmf-dist/doc/fonts/chemarrow/Liesmich.txt
texmf-dist/doc/fonts/chemarrow/README
texmf-dist/doc/fonts/chemarrow/arrow.Mac.sit.hqx
texmf-dist/doc/fonts/chemarrow/chemarrow-de.pdf
texmf-dist/doc/fonts/chemarrow/chemarrow-de.tex
texmf-dist/doc/fonts/chemarrow/chemarrow.pdf
texmf-dist/doc/fonts/chemarrow/chemarrow.tex
texmf-dist/doc/fonts/chemarrow/testchem.tex
texmf-dist/source/fonts/chemarrow/Arrow.vfb
texmf-dist/source/fonts/chemarrow/arrow.mp
texmf-dist/fonts/afm/public/chemarrow/arrow.afm
texmf-dist/fonts/map/dvips/chemarrow/chemarrow.map
texmf-dist/fonts/source/public/chemarrow/arrow.mf
texmf-dist/fonts/tfm/public/chemarrow/arrow.tfm
texmf-dist/fonts/type1/public/chemarrow/arrow.inf
texmf-dist/fonts/type1/public/chemarrow/arrow.pfb
texmf-dist/fonts/type1/public/chemarrow/arrow.pfm
texmf-dist/tex/latex/chemarrow/chemarrow.sty
texmf-dist/doc/latex/chemcompounds/README
texmf-dist/doc/latex/chemcompounds/chemcompounds.pdf
texmf-dist/source/latex/chemcompounds/chemcompounds.dtx
texmf-dist/source/latex/chemcompounds/chemcompounds.ins
texmf-dist/tex/latex/chemcompounds/chemcompounds.sty
texmf-dist/doc/latex/chemcono/chemcono.pdf
texmf-dist/doc/latex/chemcono/chemcono.tex
texmf-dist/doc/latex/chemcono/example.tex
texmf-dist/tex/latex/chemcono/chemcono.sty
texmf-dist/tex/latex/chemcono/drftcono.sty
texmf-dist/tex/latex/chemcono/showkeysff.sty
texmf-dist/doc/latex/chemexec/README
texmf-dist/doc/latex/chemexec/chemexec_de.pdf
texmf-dist/doc/latex/chemexec/chemexec_de.tex
texmf-dist/doc/latex/chemexec/chemexec_en.pdf
texmf-dist/doc/latex/chemexec/chemexec_en.tex
texmf-dist/tex/latex/chemexec/chemexec.sty
texmf-dist/doc/latex/chemmacros/README
texmf-dist/doc/latex/chemmacros/chemmacros_doc_de.pdf
texmf-dist/doc/latex/chemmacros/chemmacros_doc_de.tex
texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.pdf
texmf-dist/doc/latex/chemmacros/chemmacros_doc_en.tex
texmf-dist/tex/latex/chemmacros/chemmacros.sty
texmf-dist/doc/latex/chemstyle/README
texmf-dist/doc/latex/chemstyle/chemscheme.cdx
texmf-dist/doc/latex/chemstyle/chemstyle-demo.tex
texmf-dist/doc/latex/chemstyle/chemstyle.pdf
texmf-dist/source/latex/chemstyle/chemstyle.dtx
texmf-dist/source/latex/chemstyle/chemstyle.ins
texmf-dist/tex/latex/chemstyle/chemscheme.sty
texmf-dist/tex/latex/chemstyle/chemstyle.sty
texmf-dist/tex/latex/chemstyle/config/angew.chemstyle.cfg
texmf-dist/tex/latex/chemstyle/config/ic.chemstyle.cfg
texmf-dist/tex/latex/chemstyle/config/jacs.chemstyle.cfg
texmf-dist/tex/latex/chemstyle/config/jomc.chemstyle.cfg
texmf-dist/tex/latex/chemstyle/config/orglett.chemstyle.cfg
texmf-dist/tex/latex/chemstyle/config/rsc.chemstyle.cfg
texmf-dist/tex/latex/chemstyle/config/tetlett.chemstyle.cfg
texmf-dist/doc/latex/clrscode/README
texmf-dist/doc/latex/clrscode/clrscode.pdf
texmf-dist/tex/latex/clrscode/clrscode.sty
texmf-dist/doc/latex/complexity/README
texmf-dist/doc/latex/complexity/complexity.pdf
texmf-dist/doc/latex/complexity/complexity.tex
texmf-dist/doc/latex/complexity/tableofclasses.tex
texmf-dist/tex/latex/complexity/complexity.sty
texmf-dist/tex/latex/complexity/mycomplexity.sty
texmf-dist/doc/latex/computational-complexity/cc-cls-inline.tex
texmf-dist/doc/latex/computational-complexity/cc-portability-frame.tex
texmf-dist/doc/latex/computational-complexity/cc.pdf
texmf-dist/doc/latex/computational-complexity/cc2.dbj
texmf-dist/doc/latex/computational-complexity/ccquickref.tex
texmf-dist/doc/latex/computational-complexity/cctemplate.tex
texmf-dist/source/latex/computational-complexity/cc.dtx
texmf-dist/source/latex/computational-complexity/cc.ins
texmf-dist/bibtex/bib/computational-complexity/journals.bib
texmf-dist/bibtex/bst/computational-complexity/cc.bst
texmf-dist/bibtex/bst/computational-complexity/cc2.bst
texmf-dist/tex/latex/computational-complexity/cc-cls.sty
texmf-dist/tex/latex/computational-complexity/cc.cls
texmf-dist/tex/latex/computational-complexity/cc2cite.sty
texmf-dist/tex/latex/computational-complexity/cc4amsart.sty
texmf-dist/tex/latex/computational-complexity/cc4apjrnl.sty
texmf-dist/tex/latex/computational-complexity/cc4elsart.sty
texmf-dist/tex/latex/computational-complexity/cc4jT.sty
texmf-dist/tex/latex/computational-complexity/cc4llncs.sty
texmf-dist/tex/latex/computational-complexity/cc4siamltex.sty
texmf-dist/tex/latex/computational-complexity/cc4svjour.sty
texmf-dist/tex/latex/computational-complexity/ccalgo.sty
texmf-dist/tex/latex/computational-complexity/ccaux.sty
texmf-dist/tex/latex/computational-complexity/cccite.sty
texmf-dist/tex/latex/computational-complexity/ccdbs.sty
texmf-dist/tex/latex/computational-complexity/cclayout.sty
texmf-dist/tex/latex/computational-complexity/ccproof.sty
texmf-dist/tex/latex/computational-complexity/ccqed.sty
texmf-dist/tex/latex/computational-complexity/ccreltx.sty
texmf-dist/tex/latex/computational-complexity/ccthm.sty
texmf-dist/tex/latex/computational-complexity/relabel.sty
texmf-dist/tex/latex/computational-complexity/thcc.sty
texmf-dist/doc/latex/digiconfigs/README
texmf-dist/doc/latex/digiconfigs/digiconfigs.pdf
texmf-dist/doc/latex/digiconfigs/digiconfigs.tex
texmf-dist/tex/latex/digiconfigs/digiconfigs.sty
texmf-dist/doc/latex/drawstack/README
texmf-dist/doc/latex/drawstack/stack-example.pdf
texmf-dist/doc/latex/drawstack/stack-example.tex
texmf-dist/tex/latex/drawstack/drawstack.sty
texmf-dist/doc/latex/dyntree/README
texmf-dist/doc/latex/dyntree/dyntree.pdf
texmf-dist/source/latex/dyntree/dyntree.dtx
texmf-dist/source/latex/dyntree/dyntree.ins
texmf-dist/tex/latex/dyntree/dyntree.sty
texmf-dist/doc/latex/eltex/README
texmf-dist/doc/latex/eltex/man_en.pdf
texmf-dist/doc/latex/eltex/man_en.tex
texmf-dist/doc/latex/eltex/pri_cz.pdf
texmf-dist/doc/latex/eltex/pri_cz.tex
texmf-dist/tex/latex/eltex/eltex1.tex
texmf-dist/tex/latex/eltex/eltex2.tex
texmf-dist/tex/latex/eltex/eltex3.tex
texmf-dist/tex/latex/eltex/eltex4.tex
texmf-dist/tex/latex/eltex/eltex5.tex
texmf-dist/tex/latex/eltex/eltex6.tex
texmf-dist/tex/latex/eltex/eltex7.tex
texmf-dist/doc/latex/engtlc/README
texmf-dist/doc/latex/engtlc/eng_engtlc.pdf
texmf-dist/doc/latex/engtlc/engtlc.tex
texmf-dist/doc/latex/engtlc/ita_engtlc.pdf
texmf-dist/tex/latex/engtlc/engtlc.sty
texmf-dist/doc/latex/fouridx/README
texmf-dist/doc/latex/fouridx/fouridx.pdf
texmf-dist/source/latex/fouridx/fouridx.dtx
texmf-dist/source/latex/fouridx/fouridx.ins
texmf-dist/tex/latex/fouridx/fouridx.sty
texmf-dist/doc/latex/functan/README
texmf-dist/doc/latex/functan/functan.pdf
texmf-dist/source/latex/functan/functan.drv
texmf-dist/source/latex/functan/functan.dtx
texmf-dist/source/latex/functan/functan.ins
texmf-dist/tex/latex/functan/functan.sty
texmf-dist/doc/latex/galois/README
texmf-dist/doc/latex/galois/galois.pdf
texmf-dist/source/latex/galois/Makefile
texmf-dist/source/latex/galois/galois.dtx
texmf-dist/source/latex/galois/galois.ins
texmf-dist/tex/latex/galois/galois.sty
texmf-dist/doc/latex/gastex/README
texmf-dist/doc/latex/gastex/ex-beamer-gastex.tex
texmf-dist/doc/latex/gastex/ex-gastex.tex
texmf-dist/dvips/gastex/gastex.pro
texmf-dist/tex/latex/gastex/gastex.sty
texmf-dist/doc/latex/gene-logic/gn-logic14.pdf
texmf-dist/doc/latex/gene-logic/gn-logic14.tex
texmf-dist/tex/latex/gene-logic/gn-logic14.sty
texmf-dist/doc/latex/gu/README
texmf-dist/doc/latex/gu/gudemo.tex
texmf-dist/doc/latex/gu/gudoc.pdf
texmf-dist/doc/latex/gu/gudoc.tex
texmf-dist/tex/latex/gu/gu.sty
texmf-dist/doc/latex/hep/ChangeLog
texmf-dist/doc/latex/hep/README
texmf-dist/tex/latex/hep/hep.sty
texmf-dist/doc/latex/hepnames/ChangeLog
texmf-dist/doc/latex/hepnames/README
texmf-dist/doc/latex/hepnames/hepnames.pdf
texmf-dist/doc/latex/hepnames/hepnames.tex
texmf-dist/doc/latex/hepnames/hepnicenames-macros.tex
texmf-dist/doc/latex/hepnames/hepnicenames.pdf
texmf-dist/doc/latex/hepnames/hepnicenames.tex
texmf-dist/doc/latex/hepnames/heppennames-macros.tex
texmf-dist/doc/latex/hepnames/heppennames.pdf
texmf-dist/doc/latex/hepnames/heppennames.tex
texmf-dist/tex/latex/hepnames/hepnames.sty
texmf-dist/tex/latex/hepnames/hepnicenames.sty
texmf-dist/tex/latex/hepnames/heppennames.sty
texmf-dist/doc/latex/hepparticles/README
texmf-dist/doc/latex/hepparticles/hepparticles.pdf
texmf-dist/doc/latex/hepparticles/hepparticles.tex
texmf-dist/doc/latex/hepparticles/testhepparticles.pdf
texmf-dist/doc/latex/hepparticles/testhepparticles.tex
texmf-dist/tex/latex/hepparticles/hepparticles.sty
texmf-dist/doc/latex/hepthesis/ChangeLog
texmf-dist/doc/latex/hepthesis/Makefile
texmf-dist/doc/latex/hepthesis/README
texmf-dist/doc/latex/hepthesis/TODO
texmf-dist/doc/latex/hepthesis/example/Makefile
texmf-dist/doc/latex/hepthesis/example/appendices.tex
texmf-dist/doc/latex/hepthesis/example/backmatter.tex
texmf-dist/doc/latex/hepthesis/example/chap1.tex
texmf-dist/doc/latex/hepthesis/example/chap2.tex
texmf-dist/doc/latex/hepthesis/example/chap3.tex
texmf-dist/doc/latex/hepthesis/example/ckmfitter-alpha-combined.pdf
texmf-dist/doc/latex/hepthesis/example/example.pdf
texmf-dist/doc/latex/hepthesis/example/example.tex
texmf-dist/doc/latex/hepthesis/example/extrastyles.zip
texmf-dist/doc/latex/hepthesis/example/frontmatter.tex
texmf-dist/doc/latex/hepthesis/example/getNewBibtex
texmf-dist/doc/latex/hepthesis/example/h-physrev.bst
texmf-dist/doc/latex/hepthesis/example/lhcb-detector-cross-section.pdf
texmf-dist/doc/latex/hepthesis/example/mythesis.bib
texmf-dist/doc/latex/hepthesis/example/mythesis.cls
texmf-dist/doc/latex/hepthesis/example/mythesis.sty
texmf-dist/doc/latex/hepthesis/example/mythesismath.sty
texmf-dist/doc/latex/hepthesis/hepthesis.pdf
texmf-dist/doc/latex/hepthesis/hepthesis.tex
texmf-dist/tex/latex/hepthesis/hepthesis.cls
texmf-dist/doc/latex/hepunits/ChangeLog
texmf-dist/doc/latex/hepunits/README
texmf-dist/doc/latex/hepunits/hepunits.pdf
texmf-dist/doc/latex/hepunits/hepunits.tex
texmf-dist/tex/latex/hepunits/hepunits.sty
texmf-dist/doc/latex/karnaugh/kvdoc.pdf
texmf-dist/doc/latex/karnaugh/kvdoc.tex
texmf-dist/tex/latex/karnaugh/kvmacros.tex
texmf-dist/doc/latex/mhchem/legal.txt
texmf-dist/doc/latex/mhchem/mhchem.pdf
texmf-dist/tex/latex/mhchem/mhchem.sty
texmf-dist/tex/latex/mhchem/rsphrase.sty
texmf-dist/doc/latex/miller/ChangeLog
texmf-dist/doc/latex/miller/Makefile
texmf-dist/doc/latex/miller/README
texmf-dist/doc/latex/miller/miller-v.tex
texmf-dist/doc/latex/miller/miller.pdf
texmf-dist/doc/latex/miller/millertest.tex
texmf-dist/source/latex/miller/miller.dtx
texmf-dist/source/latex/miller/miller.ins
texmf-dist/tex/latex/miller/miller.sty
texmf-dist/doc/latex/mychemistry/README
texmf-dist/doc/latex/mychemistry/examples.pdf
texmf-dist/doc/latex/mychemistry/examples.tex
texmf-dist/doc/latex/mychemistry/mychemistry_de.pdf
texmf-dist/doc/latex/mychemistry/mychemistry_de.tex
texmf-dist/doc/latex/mychemistry/mychemistry_en.pdf
texmf-dist/doc/latex/mychemistry/mychemistry_en.tex
texmf-dist/tex/latex/mychemistry/mychemistry.sty
texmf-dist/doc/latex/nuc/README
texmf-dist/doc/latex/nuc/nuc.pdf
texmf-dist/doc/latex/nuc/nuc.tex
texmf-dist/tex/latex/nuc/nuc.sty
texmf-dist/doc/latex/objectz/catalog
texmf-dist/doc/latex/objectz/makefile
texmf-dist/doc/latex/objectz/manifest
texmf-dist/doc/latex/objectz/ozguide.pdf
texmf-dist/doc/latex/objectz/ozguide.tex
texmf-dist/doc/latex/objectz/oztest.tex
texmf-dist/doc/latex/objectz/readme
texmf-dist/source/latex/objectz/oz.dtx
texmf-dist/source/latex/objectz/oz.ins
texmf-dist/tex/latex/objectz/oz.sty
texmf-dist/doc/latex/physymb/README
texmf-dist/doc/latex/physymb/physymb.pdf
texmf-dist/source/latex/physymb/physymb.dtx
texmf-dist/source/latex/physymb/physymb.ins
texmf-dist/tex/latex/physymb/physymb.sty
texmf-dist/doc/latex/pseudocode/README
texmf-dist/doc/latex/pseudocode/pseudocode.pdf
texmf-dist/doc/latex/pseudocode/pseudocode.tex
texmf-dist/tex/latex/pseudocode/pseudocode.sty
texmf-dist/doc/latex/scientificpaper/README
texmf-dist/tex/latex/scientificpaper/science.sty
texmf-dist/doc/latex/sciposter/README
texmf-dist/doc/latex/sciposter/sciposterexample/auto/sciposter-example.el
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1a.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1a.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1mx.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1mx.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1vx.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1vx.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks2.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks2.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks2mx.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks2mx.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3mx.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3mx.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3op.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3op.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3openvx.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3rec.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3rec.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3vx.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks3vx.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocksopen3a.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocksopen3a.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocksopen3vx.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocksopen3vx.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/blocksopen3vy.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocksopen3vy.pdf
texmf-dist/doc/latex/sciposter/sciposterexample/sciposter-example.tex
texmf-dist/doc/latex/sciposter/scipostermanual.pdf
texmf-dist/tex/latex/sciposter/paperb0.cfg
texmf-dist/tex/latex/sciposter/paperb1.cfg
texmf-dist/tex/latex/sciposter/paperb2.cfg
texmf-dist/tex/latex/sciposter/paperb3.cfg
texmf-dist/tex/latex/sciposter/papercustom.cfg
texmf-dist/tex/latex/sciposter/paperra0.cfg
texmf-dist/tex/latex/sciposter/paperra1.cfg
texmf-dist/tex/latex/sciposter/paperra2.cfg
texmf-dist/tex/latex/sciposter/sciposter.cls
texmf-dist/doc/latex/sfg/Changes
texmf-dist/doc/latex/sfg/README
texmf-dist/doc/latex/sfg/sfg-doc.pdf
texmf-dist/doc/latex/sfg/sfg-doc.tex
texmf-dist/doc/latex/sfg/sfg_test.tex
texmf-dist/tex/latex/sfg/sfg.sty
texmf-dist/doc/latex/siunitx/README
texmf-dist/doc/latex/siunitx/siunitx.pdf
texmf-dist/source/latex/siunitx/siunitx.dtx
texmf-dist/source/latex/siunitx/siunitx.ins
texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg
texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
texmf-dist/tex/latex/siunitx/siunitx.sty
texmf-dist/doc/latex/steinmetz/README
texmf-dist/doc/latex/steinmetz/steinmetz-test.tex
texmf-dist/doc/latex/steinmetz/steinmetz.pdf
texmf-dist/source/latex/steinmetz/steinmetz.dtx
texmf-dist/source/latex/steinmetz/steinmetz.ins
texmf-dist/tex/latex/steinmetz/steinmetz.sty
texmf-dist/doc/latex/struktex/LIESMICH
texmf-dist/doc/latex/struktex/README
texmf-dist/doc/latex/struktex/THIS_IS_VERSION_v133
texmf-dist/doc/latex/struktex/getversion.tex
texmf-dist/doc/latex/struktex/struktex-test-0.nss
texmf-dist/doc/latex/struktex/struktex-test-1.tex
texmf-dist/doc/latex/struktex/struktex-test-2.tex
texmf-dist/doc/latex/struktex/struktex-test-3.tex
texmf-dist/doc/latex/struktex/struktex-test-4.tex
texmf-dist/doc/latex/struktex/struktex.de.pdf
texmf-dist/doc/latex/struktex/struktex.el
texmf-dist/doc/latex/struktex/struktex.en.pdf
texmf-dist/doc/latex/struktex/struktex.makemake
texmf-dist/doc/latex/struktex/struktex.mk
texmf-dist/source/latex/struktex/struktex.dtx
texmf-dist/source/latex/struktex/struktex.ins
texmf-dist/tex/latex/struktex/strukdoc.sty
texmf-dist/tex/latex/struktex/struktex.sty
texmf-dist/tex/latex/struktex/struktxf.sty
texmf-dist/tex/latex/struktex/struktxp.sty
texmf-dist/doc/latex/t-angles/README
texmf-dist/doc/latex/t-angles/t-manual.pdf
texmf-dist/doc/latex/t-angles/t-manual.tex
texmf-dist/tex/latex/t-angles/t-angles.sty
texmf-dist/doc/latex/textopo/AQP1.SP
texmf-dist/doc/latex/textopo/AQP1.hmm
texmf-dist/doc/latex/textopo/AQP1.phd
texmf-dist/doc/latex/textopo/AQP1.swp
texmf-dist/doc/latex/textopo/AQP1.tpo
texmf-dist/doc/latex/textopo/AQP2spec.ALN
texmf-dist/doc/latex/textopo/AQPpro.MSF
texmf-dist/doc/latex/textopo/AQPpro1.shd
texmf-dist/doc/latex/textopo/textopo.pdf
texmf-dist/doc/latex/textopo/textopo.txt
texmf-dist/source/latex/textopo/textopo.dtx
texmf-dist/source/latex/textopo/textopo.ins
texmf-dist/tex/latex/textopo/biotex.sty
texmf-dist/tex/latex/textopo/textopo.def
texmf-dist/tex/latex/textopo/textopo.sty
texmf-dist/doc/latex/ulqda/README
texmf-dist/doc/latex/ulqda/ulqda.pdf
texmf-dist/source/latex/ulqda/Makefile
texmf-dist/source/latex/ulqda/ulqda.dtx
texmf-dist/scripts/ulqda/ulqda.pl
texmf-dist/tex/latex/ulqda/ulqda.sty
texmf-dist/doc/latex/unitsdef/README.1st
texmf-dist/doc/latex/unitsdef/defedpraef.tex
texmf-dist/doc/latex/unitsdef/defedunits.tex
texmf-dist/doc/latex/unitsdef/unitsdef.pdf
texmf-dist/source/latex/unitsdef/unitsdef.dtx
texmf-dist/source/latex/unitsdef/unitsdef.ins
texmf-dist/tex/latex/unitsdef/ampabbrv.cfg
texmf-dist/tex/latex/unitsdef/enerabbr.cfg
texmf-dist/tex/latex/unitsdef/freqabbr.cfg
texmf-dist/tex/latex/unitsdef/lengabbr.cfg
texmf-dist/tex/latex/unitsdef/molabbrv.cfg
texmf-dist/tex/latex/unitsdef/timeabbr.cfg
texmf-dist/tex/latex/unitsdef/unitsdef.sty
texmf-dist/tex/latex/unitsdef/volabbrv.cfg
texmf-dist/tex/latex/unitsdef/voltabbr.cfg
texmf-dist/tex/latex/unitsdef/weigabbr.cfg
texmf-dist/doc/latex/youngtab/README
texmf-dist/doc/latex/youngtab/makeydoc
texmf-dist/doc/latex/youngtab/makeydoc.bat
texmf-dist/doc/latex/youngtab/youngtab.el
texmf-dist/doc/latex/youngtab/youngtab.pdf
texmf-dist/doc/latex/youngtab/youngtab.tex
texmf-dist/source/latex/youngtab/youngtab.dtx
texmf-dist/source/latex/youngtab/youngtab.ins
texmf-dist/tex/latex/youngtab/youngtab.sty
)

%__mkdir_p ${PREF}/texmf-dist
for i in "${manifest[@]}"; do 
    %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i
done
## make symlinks of core script utils
mk_symlinks=(
texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh
texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex
texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc
texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro
texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl
texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl
texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl
texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180
texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270
texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90
texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook
texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip
texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam
texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin
texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup
texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun
texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl
texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl
texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
texlive-collection-fontutils,/usr/bin/cmap2enc,/usr/share/texmf-dist/scripts/fontools/cmap2enc
texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
texlive-collection-fontutils,/usr/bin/font2afm,/usr/share/texmf-dist/scripts/fontools/font2afm
texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
texlive-collection-fontutils,/usr/bin/pfm2kpx,/usr/share/texmf-dist/scripts/fontools/pfm2kpx
texlive-collection-fontutils,/usr/bin/showglyphs,/usr/share/texmf-dist/scripts/fontools/showglyphs
texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh
texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh
texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh
texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh
texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh
texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh
texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh
texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl
texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py
texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl
texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex
texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
texlive-collection-latexextra,/usr/bin/pdfthumb,/usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu
texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
texlive-collection-latexextra,/usr/bin/ppower4,/usr/share/texmf-dist/scripts/ppower4/ppower4.tlu
texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua
texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua
texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb
texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl
texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl
texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf
texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
)
%__mkdir_p %{buildroot}%{_bindir}
pushd %{buildroot}%{_bindir}
    for i in "${mk_symlinks[@]}"; do 
        tlc=$(echo $i | cut -f 1 -d",")
        lnk=$(echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
        rlnk=$(echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|")

        [ "%{name}" = "$tlc" ] || continue
        [ -f $rlnk ] || exit 1
        %__ln_s $rlnk $lnk || exit 1
    done
popd
## Files list
find %{buildroot} -type f -or -type l | \
    %__sed -e "s|%{buildroot}||g" > filelist.full

find %{buildroot}%{texmf}-dist -type d | \
    %__sed -e "s|^%{buildroot}|%dir |" \
           -e "s|$|/|"             >> filelist.full

## subpackages
grep "/texmf-dist/doc/" filelist.full > filelist.doc
cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
%__mv -f filelist.tmp filelist.full

%clean
%__rm -rf %{buildroot}

%post
%{exec_texhash}

[ -f %{texmf}/web2c/updmap.cfg ] || exit 0

updmap_lock=%{texmf}/updmap.lock
%{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! Map chemarrow.map" && \
    echo -n "    " && \
    echo -n "Running updmap: enable chemarrow.map ... " && \
    %{exec_updmap} --nomkmap --enable Map chemarrow.map >/dev/null 2>&1 && \
    echo "done." && \
    touch ${updmap_lock}

rpm -q --quiet texlive-common || exit 0

[ -f ${updmap_lock} ] && \
    echo -n "    " && \
    echo -n "Running updmap: recreate map files ... " && \
    %{exec_updmap} >/dev/null 2>&1 && \
    echo "done." && \
    rm -f ${updmap_lock}

exit 0


%postun
if [ "$1" = 0 ]; then
    %{exec_texhash}

    [ -f %{texmf}/web2c/updmap.cfg ] || exit 0

    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^Map chemarrow.map" && \
        echo -n "    " && \
        echo -n "Running updmap: disable chemarrow.map ... " && \
        %{exec_updmap} --nomkmap --disable chemarrow.map >/dev/null 2>&1 && \
        echo "done."
    echo -n "    " && \
        echo -n "Running updmap: recreate map files ... " && \
        %{exec_updmap} >/dev/null 2>&1 && \
        echo "done."

fi

exit 0

%files -f filelist.full
%defattr(-,root,root,-)

%files -f filelist.doc doc
%defattr(-,root,root,-)

%changelog
* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-science

* Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-science
- make symlinks of core script utils (texlive-collection-binextra, 
  texlive-collection-context, texlive-collection-fontutils, 
  texlive-collection-langgreek, texlive-collection-langindic, 
  texlive-collection-latex, texlive-collection-latexextra, 
  texlive-collection-latexrecommended, texlive-collection-pictures, 
  texlive-collection-pstricks, texlive-collection-science)

* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-science
- improved %%post

* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-science
- removed arch dependent binaries (texlive-collection-latexextra)
- fixed perl path
- improved updmap process in %%post and %%postun

* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-science