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

%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 --nostop
%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

%define __find_provides	%{nil}
%define __find_requires	%{nil}
%define __perl_provides	%{nil}
%define __perl_requires	%{nil}

Autoreq: 0

Summary: TeX Live: Typesetting for natural and computer sciences
Summary(ja): TeX Live: Typesetting for natural and computer sciences
Name: texlive-collection-science
Version: 2009
Release: 3%{?_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.
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"
dyntree: Construct Dynkin tree diagrams.
eltex: Simple circuit diagrams in LaTeX picture mode.
formula: Typesetting physical units.
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.
mhs: Historical mathematics.
miller: Typeset miller indices.
objectz: Macros for typesetting Object Z.
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.
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"
dyntree: Construct Dynkin tree diagrams.
eltex: Simple circuit diagrams in LaTeX picture mode.
formula: Typesetting physical units.
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.
mhs: Historical mathematics.
miller: Typeset miller indices.
objectz: Macros for typesetting Object Z.
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_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/bytefield.pdf
texmf-dist/doc/latex/bytefield/example.pdf
texmf-dist/doc/latex/bytefield/example.tex
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.txt
texmf-dist/doc/fonts/chemarrow/testchem.dvi
texmf-dist/doc/fonts/chemarrow/testchem.tex
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.vfb
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/example.dvi
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/chemstyle/README
texmf-dist/doc/latex/chemstyle/chemstyle-demo.tex
texmf-dist/doc/latex/chemstyle/chemstyle.pdf
texmf-dist/source/latex/chemstyle/chemscheme.cdx
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/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/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/formula/formpel.dvi
texmf-dist/doc/latex/formula/formpel.tex
texmf-dist/source/latex/formula/Bugs
texmf-dist/source/latex/formula/Changes
texmf-dist/source/latex/formula/Makefile
texmf-dist/source/latex/formula/README.1ST
texmf-dist/source/latex/formula/Todo
texmf-dist/source/latex/formula/dp/ftp_incoming.txt
texmf-dist/source/latex/formula/formula.drv
texmf-dist/source/latex/formula/formula.dtx
texmf-dist/source/latex/formula/formula.ins
texmf-dist/source/latex/formula/install.eng
texmf-dist/source/latex/formula/install.ger
texmf-dist/source/latex/formula/newform.bat
texmf-dist/source/latex/formula/newformula
texmf-dist/source/latex/formula/prepverz.bat
texmf-dist/source/latex/formula/prepverz.sh
texmf-dist/tex/latex/formula/formula.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/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/lhcb-detector-cross-section.pdf
texmf-dist/doc/latex/hepthesis/hepthesis.pdf
texmf-dist/doc/latex/hepthesis/hepthesis.tex
texmf-dist/source/latex/hepthesis/Makefile
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.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/tex/latex/mhs/mhs.sty
texmf-dist/doc/latex/miller/ChangeLog
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/miller.xml
texmf-dist/doc/latex/miller/millertest.tex
texmf-dist/source/latex/miller/Makefile
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/objectz/ozguide.dvi
texmf-dist/doc/latex/objectz/ozguide.tex
texmf-dist/doc/latex/objectz/oztest.dvi
texmf-dist/doc/latex/objectz/oztest.tex
texmf-dist/source/latex/objectz/catalog
texmf-dist/source/latex/objectz/makefile
texmf-dist/source/latex/objectz/manifest
texmf-dist/source/latex/objectz/oz.dtx
texmf-dist/source/latex/objectz/oz.ins
texmf-dist/source/latex/objectz/readme
texmf-dist/tex/latex/objectz/oz.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_test.tex
texmf-dist/tex/latex/sfg/sfg.sty
texmf-dist/doc/latex/siunitx/README
texmf-dist/doc/latex/siunitx/siunitx-bug.tex
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/si-DE.cfg
texmf-dist/tex/latex/siunitx/config/si-SIunits.cfg
texmf-dist/tex/latex/siunitx/config/si-UK.cfg
texmf-dist/tex/latex/siunitx/config/si-USA.cfg
texmf-dist/tex/latex/siunitx/config/si-ZA.cfg
texmf-dist/tex/latex/siunitx/config/si-abbr.cfg
texmf-dist/tex/latex/siunitx/config/si-accepted.cfg
texmf-dist/tex/latex/siunitx/config/si-addn.cfg
texmf-dist/tex/latex/siunitx/config/si-astro.cfg
texmf-dist/tex/latex/siunitx/config/si-binary.cfg
texmf-dist/tex/latex/siunitx/config/si-chemeng.cfg
texmf-dist/tex/latex/siunitx/config/si-fancynum.cfg
texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
texmf-dist/tex/latex/siunitx/config/si-geophys.cfg
texmf-dist/tex/latex/siunitx/config/si-hep.cfg
texmf-dist/tex/latex/siunitx/config/si-hepunits.cfg
texmf-dist/tex/latex/siunitx/config/si-named.cfg
texmf-dist/tex/latex/siunitx/config/si-physical.cfg
texmf-dist/tex/latex/siunitx/config/si-prefix.cfg
texmf-dist/tex/latex/siunitx/config/si-prefixed.cfg
texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg
texmf-dist/tex/latex/siunitx/config/si-synchem.cfg
texmf-dist/tex/latex/siunitx/config/si-units.cfg
texmf-dist/tex/latex/siunitx/config/si-unitsdef.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/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/source/latex/youngtab/README
texmf-dist/source/latex/youngtab/makeydoc
texmf-dist/source/latex/youngtab/makeydoc.bat
texmf-dist/source/latex/youngtab/youngtab.dtx
texmf-dist/source/latex/youngtab/youngtab.el
texmf-dist/source/latex/youngtab/youngtab.ins
texmf-dist/source/latex/youngtab/youngtab.tex
texmf-dist/tex/latex/youngtab/youngtab.sty
)

%__mkdir_p ${PREF}/texmf-dist
for i in "${manifest[@]}"; do 
    %__install -D %{texlive_src}/$i ${PREF}/$i
done

## info
%__rm -f %{buildroot}%{_infodir}/dir
%__gzip -9nf %{buildroot}%{_infodir}/*info* ||:

## man
## man t1* files are provided by t1utils
for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do
    %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
done

## man some files are provided by psutils
for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do
    %__rm %{buildroot}%{_mandir}/man*/${i}.* ||:
done

## fix perl path
for i in source/metapost/expressg/expressg.dtx \
         doc/metapost/expressg/n2mpsprl.prl \
         doc/latex/songbook/contrib/crd2sb/crd2sb; do 
    [ -f %{build_texmf}-dist/${i} ] && \
        %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i}
done

## remove asymptote directries, which provides asymptote package
find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf
# find %{buildroot} -name "Makefile" | xargs %__rm -f

# ## remove xindy
# find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf

# ## remove tex4ht
# find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf

## remove arch dependent binaries
%__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386

## remove unpackaging files
find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f
find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f

## 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
* 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
