## -*- coding: utf-8-unix -*-
## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2: 
## tlpdb2rpmspec collection-binextra

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

Summary: TeX Live: TeX auxiliary programs
Summary(ja): TeX Live: TeX auxiliary programs
Name: texlive-collection-binextra
Version: 2015
Release: 2%{?_dist_release}
License: GPL+, LPPL, BSD, GPLv3+, Knuth, Freely redistributable without restriction, Public Domain, LGPLv2+, LPPL 1.2, Artistic, LPPL 1.3
Group: Applications/Publishing
URL:http://www.tug.org/texlive/

Source0: a2ping.doc.tar.xz
Source1: a2ping.tar.xz
Source2: adhocfilelist.doc.tar.xz
Source3: adhocfilelist.source.tar.xz
Source4: adhocfilelist.tar.xz
Source5: arara.doc.tar.xz
Source6: arara.source.tar.xz
Source7: arara.tar.xz
Source8: asymptote.doc.tar.xz
Source9: asymptote.tar.xz
Source10: bibtex8.doc.tar.xz
Source11: bibtex8.tar.xz
Source12: bibtexu.doc.tar.xz
Source13: bibtexu.tar.xz
Source14: bundledoc.doc.tar.xz
Source15: bundledoc.tar.xz
Source16: chktex.doc.tar.xz
Source17: chktex.tar.xz
Source18: ctan_chk.doc.tar.xz
Source19: ctan_chk.tar.xz
Source20: ctanify.doc.tar.xz
Source21: ctanify.tar.xz
Source22: ctanupload.doc.tar.xz
Source23: ctanupload.tar.xz
Source24: ctie.doc.tar.xz
Source25: ctie.tar.xz
Source26: cweb.doc.tar.xz
Source27: cweb.tar.xz
Source28: de-macro.doc.tar.xz
Source29: de-macro.tar.xz
Source30: detex.doc.tar.xz
Source31: detex.tar.xz
Source32: dtl.doc.tar.xz
Source33: dtl.tar.xz
Source34: dtxgen.doc.tar.xz
Source35: dtxgen.tar.xz
Source36: dvi2tty.doc.tar.xz
Source37: dvi2tty.tar.xz
Source38: dviasm.doc.tar.xz
Source39: dviasm.tar.xz
Source40: dvicopy.doc.tar.xz
Source41: dvicopy.tar.xz
Source42: dvidvi.tar.xz
Source43: dviljk.doc.tar.xz
Source44: dviljk.tar.xz
Source45: dvipng.doc.tar.xz
Source46: dvipng.tar.xz
Source47: dvipos.doc.tar.xz
Source48: dvipos.tar.xz
Source49: dvisvgm.doc.tar.xz
Source50: dvisvgm.tar.xz
Source51: findhyph.doc.tar.xz
Source52: findhyph.tar.xz
Source53: fragmaster.doc.tar.xz
Source54: fragmaster.tar.xz
Source55: hook-pre-commit-pkg.doc.tar.xz
Source56: hook-pre-commit-pkg.tar.xz
Source57: hyphenex.source.tar.xz
Source58: hyphenex.tar.xz
Source59: installfont.doc.tar.xz
Source60: installfont.tar.xz
Source61: lacheck.doc.tar.xz
Source62: lacheck.tar.xz
Source63: latex-git-log.doc.tar.xz
Source64: latex-git-log.tar.xz
Source65: latex2man.doc.tar.xz
Source66: latex2man.tar.xz
Source67: latexdiff.doc.tar.xz
Source68: latexdiff.tar.xz
Source69: latexfileversion.doc.tar.xz
Source70: latexfileversion.tar.xz
Source71: latexmk.doc.tar.xz
Source72: latexmk.source.tar.xz
Source73: latexmk.tar.xz
Source74: latexpand.doc.tar.xz
Source75: latexpand.tar.xz
Source76: latexindent.doc.tar.xz
Source77: latexindent.tar.xz
Source78: ltxfileinfo.doc.tar.xz
Source79: ltxfileinfo.tar.xz
Source80: ltximg.doc.tar.xz
Source81: ltximg.tar.xz
Source82: listings-ext.doc.tar.xz
Source83: listings-ext.source.tar.xz
Source84: listings-ext.tar.xz
Source85: match_parens.doc.tar.xz
Source86: match_parens.tar.xz
Source87: mkjobtexmf.doc.tar.xz
Source88: mkjobtexmf.source.tar.xz
Source89: mkjobtexmf.tar.xz
Source90: patgen.doc.tar.xz
Source91: patgen.tar.xz
Source92: pdfcrop.doc.tar.xz
Source93: pdfcrop.tar.xz
Source94: pdfjam.doc.tar.xz
Source95: pdfjam.tar.xz
Source96: pdftools.doc.tar.xz
Source97: pdftools.tar.xz
Source98: pfarrei.doc.tar.xz
Source99: pfarrei.source.tar.xz
Source100: pfarrei.tar.xz
Source101: pkfix.doc.tar.xz
Source102: pkfix.tar.xz
Source103: pkfix-helper.doc.tar.xz
Source104: pkfix-helper.tar.xz
Source105: purifyeps.doc.tar.xz
Source106: purifyeps.tar.xz
Source107: pythontex.doc.tar.xz
Source108: pythontex.source.tar.xz
Source109: pythontex.tar.xz
Source110: seetexk.doc.tar.xz
Source111: seetexk.tar.xz
Source112: sty2dtx.doc.tar.xz
Source113: sty2dtx.tar.xz
Source114: synctex.doc.tar.xz
Source115: synctex.tar.xz
Source116: texcount.doc.tar.xz
Source117: texcount.tar.xz
Source118: texdef.doc.tar.xz
Source119: texdef.source.tar.xz
Source120: texdef.tar.xz
Source121: texdiff.doc.tar.xz
Source122: texdiff.tar.xz
Source123: texdirflatten.doc.tar.xz
Source124: texdirflatten.tar.xz
Source125: texdoc.doc.tar.xz
Source126: texdoc.tar.xz
Source127: texfot.doc.tar.xz
Source128: texfot.tar.xz
Source129: texliveonfly.doc.tar.xz
Source130: texliveonfly.tar.xz
Source131: texloganalyser.doc.tar.xz
Source132: texloganalyser.tar.xz
Source133: texware.doc.tar.xz
Source134: texware.tar.xz
Source135: tie.doc.tar.xz
Source136: tie.tar.xz
Source137: tpic2pdftex.doc.tar.xz
Source138: tpic2pdftex.tar.xz
Source139: typeoutfileinfo.doc.tar.xz
Source140: typeoutfileinfo.tar.xz
Source141: web.doc.tar.xz
Source142: web.tar.xz
Source143: xindy.doc.tar.xz
Source144: xindy.tar.xz

Requires: texlive = %{version}
Requires: texlive-collection-basic = %{version}
Requires: asymptote
Requires: detex
Requires: dvipng
Requires: latexmk

Requires(post):		texlive = %{version}
Requires(postun):	texlive = %{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 TeX auxiliary programs: 
Various useful, but non-essential, support programs. Includes
programs and macros for DVI file manipulation, literate
programming, patgen, and the TeX Works Editor.

This package contains the following CTAN packages: 
a2ping: Advanced PS, PDF, EPS converter.
adhocfilelist: 'listfiles' entries from the command line.
arara: Automation of LaTeX compilation.
asymptote: 2D and 3D TeX-Aware Vector Graphics Language.
bibtex8: A fully 8-bit adaptation of BibTeX 0.99.
bibtexu: 
bundledoc: Bundle together all the files needed to build a LaTeX document.
chktex: Check for errors in LaTeX documents.
ctan_chk: Ctan guidelines verifier and corrector for uploading projects.
ctanify: Prepare a package for upload to CTAN.
ctanupload: Support for users uploading to CTAN.
ctie: C version of tie (merging Web change files).
cweb: A Web system in C.
de-macro: Expand private macros in a document.
detex: Strip TeX from a source file.
dtl: Tools to dis-assemble and re-assemble DVI files.
dtxgen: Creates a template for a self-extracting .dtx file.
dvi2tty: Produce ASCII from DVI.
dviasm: A utility for editing DVI files.
dvicopy: Copy DVI files, flattening VFs.
dvidvi: Convert one DVI file into another.
dviljk: DVI to Laserjet output.
dvipng: A fast DVI to PNG/GIF converter.
dvipos: 
dvisvgm: Convert DVI files to Scalable Vector Graphics format (SVG).
findhyph: Find hyphenated words in a document.
fragmaster: Using psfrag with PDFLaTeX.
hook-pre-commit-pkg: Pre-commit git hook for LaTeX package developpers.
hyphenex: US English hyphenation exceptions file.
installfont: A bash script for installing a LaTeX font family.
lacheck: LaTeX checker.
latex-git-log: Typeset git log information.
latex2man: Translate LaTeX-based manual pages into Unix man format.
latexdiff: Determine and mark up significant differences between LaTeX files.
latexfileversion: Prints the version and date of a LaTeX class or style file.
latexmk: Fully automated LaTeX document generation.
latexpand: Expand input and include in a LaTeX document.
latexindent: Indent a LaTeX document, highlighting the programming structure.
ltxfileinfo: Print version information for a LaTeX file.
ltximg: Split LaTeX files to sanitise a conversion process.
listings-ext: Automated input of source.
match_parens: Find mismatches of parentheses, braces, (angle) brackets, in texts.
mkjobtexmf: Generate a texmf tree for a particular job.
patgen: Generate hyphenation patterns.
pdfcrop: Crop PDF graphics.
pdfjam: Shell scripts interfacing to pdfpages.
pdftools: PDF-related utilities, including PostScript-to-PDF conversion
pfarrei: LaTeX support of pastors' and priests' work.
pkfix: Replace pk fonts in PostScript with Type 1 fonts.
pkfix-helper: Make PostScript files accessible to pkfix.
purifyeps: Make EPS work with both LaTeX/dvips and pdfLaTeX.
pythontex: Run Python from within a document, typesetting the results.
seetexk: Utilities for manipulating DVI files.
sty2dtx: Create a .dtx file from a .sty file.
synctex: 
texcount: Count words in a LaTeX document.
texdef: Display the definitions of TeX commands.
texdiff: Compare documents and produce tagged merge.
texdirflatten: Collect files related to a LaTeX job in a single directory.
texdoc: Documentation access for TeX distributions.
texfot: Filter clutter from the output of a TeX run.
texliveonfly: On-the-fly download of missing TeX live packages.
texloganalyser: Analyse TeX logs.
texware: Utility programs for use with TeX.
tie: Allow multiple web change files.
tpic2pdftex: Use tpic commands in PDFTeX.
typeoutfileinfo: Display class/package/file information.
web: original web programs tangle and weave
xindy: A general-purpose index processor.

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

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

このパッケージは以下のようなパッケージ集です。
TeX auxiliary programs: 
Various useful, but non-essential, support programs. Includes
programs and macros for DVI file manipulation, literate
programming, patgen, and the TeX Works Editor.

このパッケージは以下の CTAN パッケージを含んでいます： 
a2ping: Advanced PS, PDF, EPS converter.
adhocfilelist: 'listfiles' entries from the command line.
arara: Automation of LaTeX compilation.
asymptote: 2D and 3D TeX-Aware Vector Graphics Language.
bibtex8: A fully 8-bit adaptation of BibTeX 0.99.
bibtexu: 
bundledoc: Bundle together all the files needed to build a LaTeX document.
chktex: Check for errors in LaTeX documents.
ctan_chk: Ctan guidelines verifier and corrector for uploading projects.
ctanify: Prepare a package for upload to CTAN.
ctanupload: Support for users uploading to CTAN.
ctie: C version of tie (merging Web change files).
cweb: A Web system in C.
de-macro: Expand private macros in a document.
detex: Strip TeX from a source file.
dtl: Tools to dis-assemble and re-assemble DVI files.
dtxgen: Creates a template for a self-extracting .dtx file.
dvi2tty: Produce ASCII from DVI.
dviasm: A utility for editing DVI files.
dvicopy: Copy DVI files, flattening VFs.
dvidvi: Convert one DVI file into another.
dviljk: DVI to Laserjet output.
dvipng: A fast DVI to PNG/GIF converter.
dvipos: 
dvisvgm: Convert DVI files to Scalable Vector Graphics format (SVG).
findhyph: Find hyphenated words in a document.
fragmaster: Using psfrag with PDFLaTeX.
hook-pre-commit-pkg: Pre-commit git hook for LaTeX package developpers.
hyphenex: US English hyphenation exceptions file.
installfont: A bash script for installing a LaTeX font family.
lacheck: LaTeX checker.
latex-git-log: Typeset git log information.
latex2man: Translate LaTeX-based manual pages into Unix man format.
latexdiff: Determine and mark up significant differences between LaTeX files.
latexfileversion: Prints the version and date of a LaTeX class or style file.
latexmk: Fully automated LaTeX document generation.
latexpand: Expand input and include in a LaTeX document.
latexindent: Indent a LaTeX document, highlighting the programming structure.
ltxfileinfo: Print version information for a LaTeX file.
ltximg: Split LaTeX files to sanitise a conversion process.
listings-ext: Automated input of source.
match_parens: Find mismatches of parentheses, braces, (angle) brackets, in texts.
mkjobtexmf: Generate a texmf tree for a particular job.
patgen: Generate hyphenation patterns.
pdfcrop: Crop PDF graphics.
pdfjam: Shell scripts interfacing to pdfpages.
pdftools: PDF-related utilities, including PostScript-to-PDF conversion
pfarrei: LaTeX support of pastors' and priests' work.
pkfix: Replace pk fonts in PostScript with Type 1 fonts.
pkfix-helper: Make PostScript files accessible to pkfix.
purifyeps: Make EPS work with both LaTeX/dvips and pdfLaTeX.
pythontex: Run Python from within a document, typesetting the results.
seetexk: Utilities for manipulating DVI files.
sty2dtx: Create a .dtx file from a .sty file.
synctex: 
texcount: Count words in a LaTeX document.
texdef: Display the definitions of TeX commands.
texdiff: Compare documents and produce tagged merge.
texdirflatten: Collect files related to a LaTeX job in a single directory.
texdoc: Documentation access for TeX distributions.
texfot: Filter clutter from the output of a TeX run.
texliveonfly: On-the-fly download of missing TeX live packages.
texloganalyser: Analyse TeX logs.
texware: Utility programs for use with TeX.
tie: Allow multiple web change files.
tpic2pdftex: Use tpic commands in PDFTeX.
typeoutfileinfo: Display class/package/file information.
web: original web programs tangle and weave
xindy: A general-purpose index processor.

%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
%setup -c -n %{name}-%{version}
%__tar -xvf %{SOURCE1}
%__tar -xvf %{SOURCE2}
%__tar -xvf %{SOURCE3}
%__tar -xvf %{SOURCE4}
%__tar -xvf %{SOURCE5}
%__tar -xvf %{SOURCE6}
%__tar -xvf %{SOURCE7}
%__tar -xvf %{SOURCE8}
%__tar -xvf %{SOURCE9}
%__tar -xvf %{SOURCE10}
%__tar -xvf %{SOURCE11}
%__tar -xvf %{SOURCE12}
%__tar -xvf %{SOURCE13}
%__tar -xvf %{SOURCE14}
%__tar -xvf %{SOURCE15}
%__tar -xvf %{SOURCE16}
%__tar -xvf %{SOURCE17}
%__tar -xvf %{SOURCE18}
%__tar -xvf %{SOURCE19}
%__tar -xvf %{SOURCE20}
%__tar -xvf %{SOURCE21}
%__tar -xvf %{SOURCE22}
%__tar -xvf %{SOURCE23}
%__tar -xvf %{SOURCE24}
%__tar -xvf %{SOURCE25}
%__tar -xvf %{SOURCE26}
%__tar -xvf %{SOURCE27}
%__tar -xvf %{SOURCE28}
%__tar -xvf %{SOURCE29}
%__tar -xvf %{SOURCE30}
%__tar -xvf %{SOURCE31}
%__tar -xvf %{SOURCE32}
%__tar -xvf %{SOURCE33}
%__tar -xvf %{SOURCE34}
%__tar -xvf %{SOURCE35}
%__tar -xvf %{SOURCE36}
%__tar -xvf %{SOURCE37}
%__tar -xvf %{SOURCE38}
%__tar -xvf %{SOURCE39}
%__tar -xvf %{SOURCE40}
%__tar -xvf %{SOURCE41}
%__tar -xvf %{SOURCE42}
%__tar -xvf %{SOURCE43}
%__tar -xvf %{SOURCE44}
%__tar -xvf %{SOURCE45}
%__tar -xvf %{SOURCE46}
%__tar -xvf %{SOURCE47}
%__tar -xvf %{SOURCE48}
%__tar -xvf %{SOURCE49}
%__tar -xvf %{SOURCE50}
%__tar -xvf %{SOURCE51}
%__tar -xvf %{SOURCE52}
%__tar -xvf %{SOURCE53}
%__tar -xvf %{SOURCE54}
%__tar -xvf %{SOURCE55}
%__tar -xvf %{SOURCE56}
%__tar -xvf %{SOURCE57}
%__tar -xvf %{SOURCE58}
%__tar -xvf %{SOURCE59}
%__tar -xvf %{SOURCE60}
%__tar -xvf %{SOURCE61}
%__tar -xvf %{SOURCE62}
%__tar -xvf %{SOURCE63}
%__tar -xvf %{SOURCE64}
%__tar -xvf %{SOURCE65}
%__tar -xvf %{SOURCE66}
%__tar -xvf %{SOURCE67}
%__tar -xvf %{SOURCE68}
%__tar -xvf %{SOURCE69}
%__tar -xvf %{SOURCE70}
%__tar -xvf %{SOURCE71}
%__tar -xvf %{SOURCE72}
%__tar -xvf %{SOURCE73}
%__tar -xvf %{SOURCE74}
%__tar -xvf %{SOURCE75}
%__tar -xvf %{SOURCE76}
%__tar -xvf %{SOURCE77}
%__tar -xvf %{SOURCE78}
%__tar -xvf %{SOURCE79}
%__tar -xvf %{SOURCE80}
%__tar -xvf %{SOURCE81}
%__tar -xvf %{SOURCE82}
%__tar -xvf %{SOURCE83}
%__tar -xvf %{SOURCE84}
%__tar -xvf %{SOURCE85}
%__tar -xvf %{SOURCE86}
%__tar -xvf %{SOURCE87}
%__tar -xvf %{SOURCE88}
%__tar -xvf %{SOURCE89}
%__tar -xvf %{SOURCE90}
%__tar -xvf %{SOURCE91}
%__tar -xvf %{SOURCE92}
%__tar -xvf %{SOURCE93}
%__tar -xvf %{SOURCE94}
%__tar -xvf %{SOURCE95}
%__tar -xvf %{SOURCE96}
%__tar -xvf %{SOURCE97}
%__tar -xvf %{SOURCE98}
%__tar -xvf %{SOURCE99}
%__tar -xvf %{SOURCE100}
%__tar -xvf %{SOURCE101}
%__tar -xvf %{SOURCE102}
%__tar -xvf %{SOURCE103}
%__tar -xvf %{SOURCE104}
%__tar -xvf %{SOURCE105}
%__tar -xvf %{SOURCE106}
%__tar -xvf %{SOURCE107}
%__tar -xvf %{SOURCE108}
%__tar -xvf %{SOURCE109}
%__tar -xvf %{SOURCE110}
%__tar -xvf %{SOURCE111}
%__tar -xvf %{SOURCE112}
%__tar -xvf %{SOURCE113}
%__tar -xvf %{SOURCE114}
%__tar -xvf %{SOURCE115}
%__tar -xvf %{SOURCE116}
%__tar -xvf %{SOURCE117}
%__tar -xvf %{SOURCE118}
%__tar -xvf %{SOURCE119}
%__tar -xvf %{SOURCE120}
%__tar -xvf %{SOURCE121}
%__tar -xvf %{SOURCE122}
%__tar -xvf %{SOURCE123}
%__tar -xvf %{SOURCE124}
%__tar -xvf %{SOURCE125}
%__tar -xvf %{SOURCE126}
%__tar -xvf %{SOURCE127}
%__tar -xvf %{SOURCE128}
%__tar -xvf %{SOURCE129}
%__tar -xvf %{SOURCE130}
%__tar -xvf %{SOURCE131}
%__tar -xvf %{SOURCE132}
%__tar -xvf %{SOURCE133}
%__tar -xvf %{SOURCE134}
%__tar -xvf %{SOURCE135}
%__tar -xvf %{SOURCE136}
%__tar -xvf %{SOURCE137}
%__tar -xvf %{SOURCE138}
%__tar -xvf %{SOURCE139}
%__tar -xvf %{SOURCE140}
%__tar -xvf %{SOURCE141}
%__tar -xvf %{SOURCE142}
%__tar -xvf %{SOURCE143}
%__tar -xvf %{SOURCE144}

%build

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

%__mkdir_p %{buildroot}%{_datadir}

## move texmf-dist to /usr/share/texmf-dist
[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:

## move texmf to /usr/share/texmf
[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:

## move tlpkg to /usr/share/tlpkg
[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:

## move all non-arch binaries to /usr/bin
[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:

## move others into /usr/share/texmf-dist
%__mkdir_p %{buildroot}%{_tl_texmfdist}
%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
%__rm -rf * ||:


## remove duplicated files between texlive and texlive-collection-*
## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
## remove unpacked files
x=(
scripts/context/stubs/unix/mtxrun
scripts/ptex2pdf/ptex2pdf.lua
scripts/texlive/fmtutil.pl
scripts/texlive/texconfig-dialog.sh 
scripts/texlive/texconfig-sys.sh 
scripts/texlive/texconfig.sh 
scripts/texlive/texlinks.sh 
scripts/texlive/tlmgr.pl 
scripts/texlive/updmap.pl
texconfig/tcfmgr 
web2c/fmtutil.cnf
web2c/mktex.opt 
web2c/mktexdir 
web2c/mktexdir.opt 
web2c/mktexnam 
web2c/mktexnam.opt 
web2c/mktexupd 
web2c/texmf.cnf 
web2c/updmap-hdr.cfg 
web2c/updmap.cfg 
install-tl
)
if [ -d %{buildroot}%{_tl_texmfdist} ]; then
pushd %{buildroot}%{_tl_texmfdist}
%__rm -f ${x[@]} ||:
popd
fi

## Files list
find %{buildroot} -type f -or -type l | \
    %__sed -e "s|%{buildroot}||g" > filelist.full

find %{buildroot}%{_tl_texmfdist} -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
%_tl_touch_run texhash
%_tl_touch_run mtxrun

exit 0


%postun
if [ "$1" = 0 ]; then
    %_tl_touch_run texhash

fi

exit 0

%posttrans
%{_tl_exec_texhash}
%{_tl_exec_mtxrun}
%{_tl_exec_updmap}
%{_tl_exec_fmtutil}
exit 0


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

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

%changelog
* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
- TeX Live 2015/pretest
- synced tlnet to 20150522 (TeX Live 2015/pretest)

* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
- TeX Live 2015/pretest
- synced tlnet to 20150426 (TeX Live 2015/pretest)

* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
- synced tlnet to 20150401

* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
- synced tlnet to 20141028

* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
- synced tlnet to 20140706

* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
- upgraded to TeX Live 2014

* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
- synced tlnet to 20140406

* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
- synced tlnet to 20131218

* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
- synced tlnet to 20131101

* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
- synced tlnet to 20131002

* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
- synced tlnet to 20130919

* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
- upgraded to TeX Live 2013
  - used tlnet archives
  - synced tlnet to 20130823
- added macros.texlive

* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
- updated to TeX Live 2012

* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in: 
  - set external dependencies (texlive-collection-binextra, 
    texlive-collection-fontutils)

* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
- updated to TeX Live 2011
- merged texlive-vtlpkg-2009-osx.patch from OSXWS
- added %doc README (%files)

* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
- applied texlive-vtlpkg-2009-vine.patch
  - remove arch dependent binaries
- updated tlpdb2rpmspec.sh.in: 
  - improved tlpdb4a()
  - 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)

* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
- updated tlpdb2rpmspec.sh.in: 
  - improved %post

* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
- updated tlpdb2rpmspec.sh.in: 
  - removed arch dependent binaries (texlive-collection-latexextra)
  - improved updmap process in %post and %postun
  - fixed perl path

* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
- initial build
