## -*- coding: utf-8-unix -*-
## NOTE: This spec file is generated by tlpdb2rpmspec 2016-4: 
## tlpdb2rpmspec collection-pstricks

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

Summary: TeX Live: PSTricks
Summary(ja): TeX Live: PSTricks
Name: texlive-collection-pstricks
Version: 2016
Release: 4%{?_dist_release}
License: LPPL, LPPL 1.3, GPL+, GPLv2+, LGPLv2+
Group: Applications/Publishing
URL:http://www.tug.org/texlive/

Source0: auto-pst-pdf.doc.tar.xz
Source1: auto-pst-pdf.source.tar.xz
Source2: auto-pst-pdf.tar.xz
Source3: bclogo.doc.tar.xz
Source4: bclogo.tar.xz
Source5: dsptricks.doc.tar.xz
Source6: dsptricks.tar.xz
Source7: makeplot.doc.tar.xz
Source8: makeplot.source.tar.xz
Source9: makeplot.tar.xz
Source10: pdftricks.doc.tar.xz
Source11: pdftricks.tar.xz
Source12: pdftricks2.doc.tar.xz
Source13: pdftricks2.tar.xz
Source14: pedigree-perl.doc.tar.xz
Source15: pedigree-perl.tar.xz
Source16: psbao.doc.tar.xz
Source17: psbao.tar.xz
Source18: pst-2dplot.doc.tar.xz
Source19: pst-2dplot.tar.xz
Source20: pst-3d.doc.tar.xz
Source21: pst-3d.source.tar.xz
Source22: pst-3d.tar.xz
Source23: pst-3dplot.doc.tar.xz
Source24: pst-3dplot.tar.xz
Source25: pst-abspos.doc.tar.xz
Source26: pst-abspos.source.tar.xz
Source27: pst-abspos.tar.xz
Source28: pst-am.doc.tar.xz
Source29: pst-am.source.tar.xz
Source30: pst-am.tar.xz
Source31: pst-asr.doc.tar.xz
Source32: pst-asr.tar.xz
Source33: pst-bar.doc.tar.xz
Source34: pst-bar.source.tar.xz
Source35: pst-bar.tar.xz
Source36: pst-barcode.doc.tar.xz
Source37: pst-barcode.tar.xz
Source38: pst-bezier.doc.tar.xz
Source39: pst-bezier.source.tar.xz
Source40: pst-bezier.tar.xz
Source41: pst-blur.doc.tar.xz
Source42: pst-blur.source.tar.xz
Source43: pst-blur.tar.xz
Source44: pst-bspline.doc.tar.xz
Source45: pst-bspline.tar.xz
Source46: pst-calendar.doc.tar.xz
Source47: pst-calendar.tar.xz
Source48: pst-cie.doc.tar.xz
Source49: pst-cie.tar.xz
Source50: pst-circ.doc.tar.xz
Source51: pst-circ.tar.xz
Source52: pst-coil.doc.tar.xz
Source53: pst-coil.tar.xz
Source54: pst-cox.doc.tar.xz
Source55: pst-cox.tar.xz
Source56: pst-dbicons.doc.tar.xz
Source57: pst-dbicons.source.tar.xz
Source58: pst-dbicons.tar.xz
Source59: pst-diffraction.doc.tar.xz
Source60: pst-diffraction.source.tar.xz
Source61: pst-diffraction.tar.xz
Source62: pst-electricfield.doc.tar.xz
Source63: pst-electricfield.source.tar.xz
Source64: pst-electricfield.tar.xz
Source65: pst-eps.doc.tar.xz
Source66: pst-eps.source.tar.xz
Source67: pst-eps.tar.xz
Source68: pst-eucl.doc.tar.xz
Source69: pst-eucl.tar.xz
Source70: pst-exa.doc.tar.xz
Source71: pst-exa.tar.xz
Source72: pst-fill.doc.tar.xz
Source73: pst-fill.source.tar.xz
Source74: pst-fill.tar.xz
Source75: pst-fit.doc.tar.xz
Source76: pst-fit.source.tar.xz
Source77: pst-fit.tar.xz
Source78: pst-fr3d.doc.tar.xz
Source79: pst-fr3d.source.tar.xz
Source80: pst-fr3d.tar.xz
Source81: pst-fractal.doc.tar.xz
Source82: pst-fractal.tar.xz
Source83: pst-fun.doc.tar.xz
Source84: pst-fun.source.tar.xz
Source85: pst-fun.tar.xz
Source86: pst-func.doc.tar.xz
Source87: pst-func.tar.xz
Source88: pst-gantt.doc.tar.xz
Source89: pst-gantt.tar.xz
Source90: pst-geo.doc.tar.xz
Source91: pst-geo.tar.xz
Source92: pst-ghsb.doc.tar.xz
Source93: pst-ghsb.tar.xz
Source94: pst-gr3d.doc.tar.xz
Source95: pst-gr3d.source.tar.xz
Source96: pst-gr3d.tar.xz
Source97: pst-grad.doc.tar.xz
Source98: pst-grad.tar.xz
Source99: pst-graphicx.doc.tar.xz
Source100: pst-graphicx.tar.xz
Source101: pst-infixplot.doc.tar.xz
Source102: pst-infixplot.tar.xz
Source103: pst-intersect.doc.tar.xz
Source104: pst-intersect.source.tar.xz
Source105: pst-intersect.tar.xz
Source106: pst-jtree.doc.tar.xz
Source107: pst-jtree.tar.xz
Source108: pst-knot.doc.tar.xz
Source109: pst-knot.tar.xz
Source110: pst-labo.doc.tar.xz
Source111: pst-labo.tar.xz
Source112: pst-layout.doc.tar.xz
Source113: pst-layout.tar.xz
Source114: pst-lens.doc.tar.xz
Source115: pst-lens.source.tar.xz
Source116: pst-lens.tar.xz
Source117: pst-light3d.doc.tar.xz
Source118: pst-light3d.source.tar.xz
Source119: pst-light3d.tar.xz
Source120: pst-magneticfield.doc.tar.xz
Source121: pst-magneticfield.source.tar.xz
Source122: pst-magneticfield.tar.xz
Source123: pst-math.doc.tar.xz
Source124: pst-math.tar.xz
Source125: pst-mirror.doc.tar.xz
Source126: pst-mirror.tar.xz
Source127: pst-node.doc.tar.xz
Source128: pst-node.tar.xz
Source129: pst-ob3d.doc.tar.xz
Source130: pst-ob3d.source.tar.xz
Source131: pst-ob3d.tar.xz
Source132: pst-ode.doc.tar.xz
Source133: pst-ode.tar.xz
Source134: pst-optexp.doc.tar.xz
Source135: pst-optexp.source.tar.xz
Source136: pst-optexp.tar.xz
Source137: pst-optic.doc.tar.xz
Source138: pst-optic.source.tar.xz
Source139: pst-optic.tar.xz
Source140: pst-osci.doc.tar.xz
Source141: pst-osci.tar.xz
Source142: pst-ovl.doc.tar.xz
Source143: pst-ovl.tar.xz
Source144: pst-pad.doc.tar.xz
Source145: pst-pad.source.tar.xz
Source146: pst-pad.tar.xz
Source147: pst-pdgr.doc.tar.xz
Source148: pst-pdgr.source.tar.xz
Source149: pst-pdgr.tar.xz
Source150: pst-perspective.doc.tar.xz
Source151: pst-perspective.tar.xz
Source152: pst-platon.doc.tar.xz
Source153: pst-platon.source.tar.xz
Source154: pst-platon.tar.xz
Source155: pst-plot.doc.tar.xz
Source156: pst-plot.tar.xz
Source157: pst-poly.doc.tar.xz
Source158: pst-poly.tar.xz
Source159: pst-pulley.doc.tar.xz
Source160: pst-pulley.source.tar.xz
Source161: pst-pulley.tar.xz
Source162: pst-qtree.doc.tar.xz
Source163: pst-qtree.tar.xz
Source164: pst-rubans.doc.tar.xz
Source165: pst-rubans.source.tar.xz
Source166: pst-rubans.tar.xz
Source167: pst-sigsys.doc.tar.xz
Source168: pst-sigsys.tar.xz
Source169: pst-slpe.doc.tar.xz
Source170: pst-slpe.source.tar.xz
Source171: pst-slpe.tar.xz
Source172: pst-solarsystem.doc.tar.xz
Source173: pst-solarsystem.source.tar.xz
Source174: pst-solarsystem.tar.xz
Source175: pst-solides3d.doc.tar.xz
Source176: pst-solides3d.tar.xz
Source177: pst-soroban.doc.tar.xz
Source178: pst-soroban.source.tar.xz
Source179: pst-soroban.tar.xz
Source180: pst-spectra.doc.tar.xz
Source181: pst-spectra.tar.xz
Source182: pst-spirograph.doc.tar.xz
Source183: pst-spirograph.tar.xz
Source184: pst-stru.doc.tar.xz
Source185: pst-stru.tar.xz
Source186: pst-support.doc.tar.xz
Source187: pst-support.tar.xz
Source188: pst-text.doc.tar.xz
Source189: pst-text.source.tar.xz
Source190: pst-text.tar.xz
Source191: pst-thick.doc.tar.xz
Source192: pst-thick.source.tar.xz
Source193: pst-thick.tar.xz
Source194: pst-tools.doc.tar.xz
Source195: pst-tools.tar.xz
Source196: pst-tree.doc.tar.xz
Source197: pst-tree.source.tar.xz
Source198: pst-tree.tar.xz
Source199: pst-tvz.doc.tar.xz
Source200: pst-tvz.source.tar.xz
Source201: pst-tvz.tar.xz
Source202: pst-uml.doc.tar.xz
Source203: pst-uml.source.tar.xz
Source204: pst-uml.tar.xz
Source205: pst-vectorian.doc.tar.xz
Source206: pst-vectorian.tar.xz
Source207: pst-vowel.doc.tar.xz
Source208: pst-vowel.tar.xz
Source209: pst-vue3d.doc.tar.xz
Source210: pst-vue3d.source.tar.xz
Source211: pst-vue3d.tar.xz
Source212: pst2pdf.doc.tar.xz
Source213: pst2pdf.tar.xz
Source214: pstricks.doc.tar.xz
Source215: pstricks.tar.xz
Source216: pstricks-add.doc.tar.xz
Source217: pstricks-add.tar.xz
Source218: pstricks_calcnotes.doc.tar.xz
Source219: pstricks_calcnotes.tar.xz
Source220: uml.doc.tar.xz
Source221: uml.source.tar.xz
Source222: uml.tar.xz
Source223: vaucanson-g.doc.tar.xz
Source224: vaucanson-g.tar.xz
Source225: vocaltract.doc.tar.xz
Source226: vocaltract.tar.xz

Requires: texlive = %{version}
Requires: texlive-collection-basic = %{version}
Requires: texlive-collection-genericrecommended = %{version}

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 PSTricks: 
PSTricks core and all add-on packages.

This package contains the following CTAN packages: 
auto-pst-pdf: Wrapper for pst-pdf (with some psfrag features)
bclogo: Creating colourful boxes with logos
dsptricks: Macros for Digital Signal Processing plots
makeplot: Easy plots from Matlab in LaTeX
pdftricks: Support for PSTricks in pdfTeX
pdftricks2: Use PSTricks in pdfTeX
pedigree-perl: Generate TeX pedigree files from CSV files
psbao: Draw Bao diagrams
pst-2dplot: A PSTricks package for drawing 2D curves
pst-3d: A PSTricks package for tilting and other pseudo-3D tricks
pst-3dplot: Draw 3D objects in parallel projection, using PSTricks
pst-abspos: Put objects at an absolute position
pst-am: Simulation of modulation and demodulation
pst-asr: Typeset autosegmental representations for linguists
pst-bar: Produces bar charts using PSTricks
pst-barcode: Print barcodes using PostScript
pst-bezier: Draw Bezier curves
pst-blur: PSTricks package for "blurred" shadows
pst-bspline: Draw cubic Bspline curves and interpolations
pst-calendar: Plot calendars in "fancy" ways
pst-cie: CIE color space
pst-circ: PSTricks package for drawing electric circuits
pst-coil: A PSTricks package for coils, etc
pst-cox: Drawing regular complex polytopes with PSTricks
pst-dbicons: Support for drawing ER diagrams
pst-diffraction: Print diffraction patterns from various apertures
pst-electricfield: Draw electric field and equipotential lines with PSTricks
pst-eps: Create EPS files from PSTricks figures
pst-eucl: Euclidian geometry with PSTricks
pst-exa: Typeset PSTricks examples, with code
pst-fill: Fill or tile areas with PSTricks
pst-fit: Macros for curve fitting
pst-fr3d: Draw 3-dimensional framed boxes using PSTricks
pst-fractal: Draw fractal sets using PSTricks
pst-fun: Draw "funny" objects with PSTricks
pst-func: PSTricks package for plotting mathematical functions
pst-gantt: Draw GANTT charts with PSTricks
pst-geo: Geographical Projections
pst-ghsb: 
pst-gr3d: Three dimensional grids with PSTricks
pst-grad: Filling with colour gradients, using PSTricks
pst-graphicx: A PSTricks-compatible graphicx for use with Plain TeX
pst-infixplot: Using PSTricks plotting capacities with infix expressions rather than RPN
pst-intersect: Compute intersections of arbitrary curves
pst-jtree: Typeset complex trees for linguists
pst-knot: PSTricks package for displaying knots
pst-labo: Draw objects for Chemistry laboratories
pst-layout: Page layout macros based on PSTricks packages
pst-lens: Lenses with PSTricks
pst-light3d: Three dimensional lighting effects (PSTricks)
pst-magneticfield: Plotting a magnetic field with PSTricks
pst-math: Enhancement of PostScript math operators to use with PSTricks
pst-mirror: Images on a spherical mirror
pst-node: Nodes and node connections in PSTricks
pst-ob3d: Three dimensional objects using PSTricks
pst-ode: Solving initial value problems for sets of Ordinary Differential Equations
pst-optexp: Drawing optical experimental setups
pst-optic: Drawing optics diagrams
pst-osci: Oscgons with PSTricks
pst-ovl: Create and manage graphical overlays
pst-pad: Draw simple attachment systems with PSTricks
pst-pdgr: Draw medical pedigrees using PSTricks
pst-perspective: Draw perspective views using PSTricks
pst-platon: Platonic solids in PSTricks
pst-plot: Plot data using PSTricks
pst-poly: Polygons with PSTricks
pst-pulley: Plot pulleys, using PSTricks
pst-qtree: Simple syntax for trees
pst-rubans: Draw three-dimensional ribbons
pst-sigsys: Support of signal processing-related disciplines
pst-slpe: Sophisticated colour gradients
pst-solarsystem: Plot the solar system for a specific date
pst-solides3d: Draw perspective views of 3D solids
pst-soroban: Draw a Soroban using PSTricks
pst-spectra: Draw continuum, emission and absorption spectra with PSTricks
pst-spirograph: Drawing hypotrochoids as with a spirograph
pst-stru: Civil engineering diagrams, using PSTricks
pst-support: Assorted support files for use with PSTricks
pst-text: Text and character manipulation in PSTricks
pst-thick: Drawing very thick lines and curves
pst-tools: PSTricks support functions
pst-tree: Trees, using PSTricks
pst-tvz: Draw trees with more than one root node, using PSTricks
pst-uml: UML diagrams with PSTricks
pst-vectorian: Printing ornaments
pst-vowel: Enable arrows showing diphthongs on vowel charts
pst-vue3d: Draw perspective views of three dimensional objects
pst2pdf: A script to compile PSTricks documents via pdfTeX
pstricks: PostScript macros for TeX
pstricks-add: A collection of add-ons and bugfixes for PSTricks
pstricks_calcnotes: Use of PSTricks in calculus lecture notes
uml: UML diagrams in LaTeX
vaucanson-g: PSTricks macros for drawing automata
vocaltract: Visualise the vocal tract using LaTeX and PSTricks

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

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

このパッケージは以下のようなパッケージ集です。
PSTricks: 
PSTricks core and all add-on packages.

このパッケージは以下の CTAN パッケージを含んでいます： 
auto-pst-pdf: Wrapper for pst-pdf (with some psfrag features)
bclogo: Creating colourful boxes with logos
dsptricks: Macros for Digital Signal Processing plots
makeplot: Easy plots from Matlab in LaTeX
pdftricks: Support for PSTricks in pdfTeX
pdftricks2: Use PSTricks in pdfTeX
pedigree-perl: Generate TeX pedigree files from CSV files
psbao: Draw Bao diagrams
pst-2dplot: A PSTricks package for drawing 2D curves
pst-3d: A PSTricks package for tilting and other pseudo-3D tricks
pst-3dplot: Draw 3D objects in parallel projection, using PSTricks
pst-abspos: Put objects at an absolute position
pst-am: Simulation of modulation and demodulation
pst-asr: Typeset autosegmental representations for linguists
pst-bar: Produces bar charts using PSTricks
pst-barcode: Print barcodes using PostScript
pst-bezier: Draw Bezier curves
pst-blur: PSTricks package for "blurred" shadows
pst-bspline: Draw cubic Bspline curves and interpolations
pst-calendar: Plot calendars in "fancy" ways
pst-cie: CIE color space
pst-circ: PSTricks package for drawing electric circuits
pst-coil: A PSTricks package for coils, etc
pst-cox: Drawing regular complex polytopes with PSTricks
pst-dbicons: Support for drawing ER diagrams
pst-diffraction: Print diffraction patterns from various apertures
pst-electricfield: Draw electric field and equipotential lines with PSTricks
pst-eps: Create EPS files from PSTricks figures
pst-eucl: Euclidian geometry with PSTricks
pst-exa: Typeset PSTricks examples, with code
pst-fill: Fill or tile areas with PSTricks
pst-fit: Macros for curve fitting
pst-fr3d: Draw 3-dimensional framed boxes using PSTricks
pst-fractal: Draw fractal sets using PSTricks
pst-fun: Draw "funny" objects with PSTricks
pst-func: PSTricks package for plotting mathematical functions
pst-gantt: Draw GANTT charts with PSTricks
pst-geo: Geographical Projections
pst-ghsb: 
pst-gr3d: Three dimensional grids with PSTricks
pst-grad: Filling with colour gradients, using PSTricks
pst-graphicx: A PSTricks-compatible graphicx for use with Plain TeX
pst-infixplot: Using PSTricks plotting capacities with infix expressions rather than RPN
pst-intersect: Compute intersections of arbitrary curves
pst-jtree: Typeset complex trees for linguists
pst-knot: PSTricks package for displaying knots
pst-labo: Draw objects for Chemistry laboratories
pst-layout: Page layout macros based on PSTricks packages
pst-lens: Lenses with PSTricks
pst-light3d: Three dimensional lighting effects (PSTricks)
pst-magneticfield: Plotting a magnetic field with PSTricks
pst-math: Enhancement of PostScript math operators to use with PSTricks
pst-mirror: Images on a spherical mirror
pst-node: Nodes and node connections in PSTricks
pst-ob3d: Three dimensional objects using PSTricks
pst-ode: Solving initial value problems for sets of Ordinary Differential Equations
pst-optexp: Drawing optical experimental setups
pst-optic: Drawing optics diagrams
pst-osci: Oscgons with PSTricks
pst-ovl: Create and manage graphical overlays
pst-pad: Draw simple attachment systems with PSTricks
pst-pdgr: Draw medical pedigrees using PSTricks
pst-perspective: Draw perspective views using PSTricks
pst-platon: Platonic solids in PSTricks
pst-plot: Plot data using PSTricks
pst-poly: Polygons with PSTricks
pst-pulley: Plot pulleys, using PSTricks
pst-qtree: Simple syntax for trees
pst-rubans: Draw three-dimensional ribbons
pst-sigsys: Support of signal processing-related disciplines
pst-slpe: Sophisticated colour gradients
pst-solarsystem: Plot the solar system for a specific date
pst-solides3d: Draw perspective views of 3D solids
pst-soroban: Draw a Soroban using PSTricks
pst-spectra: Draw continuum, emission and absorption spectra with PSTricks
pst-spirograph: Drawing hypotrochoids as with a spirograph
pst-stru: Civil engineering diagrams, using PSTricks
pst-support: Assorted support files for use with PSTricks
pst-text: Text and character manipulation in PSTricks
pst-thick: Drawing very thick lines and curves
pst-tools: PSTricks support functions
pst-tree: Trees, using PSTricks
pst-tvz: Draw trees with more than one root node, using PSTricks
pst-uml: UML diagrams with PSTricks
pst-vectorian: Printing ornaments
pst-vowel: Enable arrows showing diphthongs on vowel charts
pst-vue3d: Draw perspective views of three dimensional objects
pst2pdf: A script to compile PSTricks documents via pdfTeX
pstricks: PostScript macros for TeX
pstricks-add: A collection of add-ons and bugfixes for PSTricks
pstricks_calcnotes: Use of PSTricks in calculus lecture notes
uml: UML diagrams in LaTeX
vaucanson-g: PSTricks macros for drawing automata
vocaltract: Visualise the vocal tract using LaTeX and PSTricks

%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}
%__tar -xvf %{SOURCE145}
%__tar -xvf %{SOURCE146}
%__tar -xvf %{SOURCE147}
%__tar -xvf %{SOURCE148}
%__tar -xvf %{SOURCE149}
%__tar -xvf %{SOURCE150}
%__tar -xvf %{SOURCE151}
%__tar -xvf %{SOURCE152}
%__tar -xvf %{SOURCE153}
%__tar -xvf %{SOURCE154}
%__tar -xvf %{SOURCE155}
%__tar -xvf %{SOURCE156}
%__tar -xvf %{SOURCE157}
%__tar -xvf %{SOURCE158}
%__tar -xvf %{SOURCE159}
%__tar -xvf %{SOURCE160}
%__tar -xvf %{SOURCE161}
%__tar -xvf %{SOURCE162}
%__tar -xvf %{SOURCE163}
%__tar -xvf %{SOURCE164}
%__tar -xvf %{SOURCE165}
%__tar -xvf %{SOURCE166}
%__tar -xvf %{SOURCE167}
%__tar -xvf %{SOURCE168}
%__tar -xvf %{SOURCE169}
%__tar -xvf %{SOURCE170}
%__tar -xvf %{SOURCE171}
%__tar -xvf %{SOURCE172}
%__tar -xvf %{SOURCE173}
%__tar -xvf %{SOURCE174}
%__tar -xvf %{SOURCE175}
%__tar -xvf %{SOURCE176}
%__tar -xvf %{SOURCE177}
%__tar -xvf %{SOURCE178}
%__tar -xvf %{SOURCE179}
%__tar -xvf %{SOURCE180}
%__tar -xvf %{SOURCE181}
%__tar -xvf %{SOURCE182}
%__tar -xvf %{SOURCE183}
%__tar -xvf %{SOURCE184}
%__tar -xvf %{SOURCE185}
%__tar -xvf %{SOURCE186}
%__tar -xvf %{SOURCE187}
%__tar -xvf %{SOURCE188}
%__tar -xvf %{SOURCE189}
%__tar -xvf %{SOURCE190}
%__tar -xvf %{SOURCE191}
%__tar -xvf %{SOURCE192}
%__tar -xvf %{SOURCE193}
%__tar -xvf %{SOURCE194}
%__tar -xvf %{SOURCE195}
%__tar -xvf %{SOURCE196}
%__tar -xvf %{SOURCE197}
%__tar -xvf %{SOURCE198}
%__tar -xvf %{SOURCE199}
%__tar -xvf %{SOURCE200}
%__tar -xvf %{SOURCE201}
%__tar -xvf %{SOURCE202}
%__tar -xvf %{SOURCE203}
%__tar -xvf %{SOURCE204}
%__tar -xvf %{SOURCE205}
%__tar -xvf %{SOURCE206}
%__tar -xvf %{SOURCE207}
%__tar -xvf %{SOURCE208}
%__tar -xvf %{SOURCE209}
%__tar -xvf %{SOURCE210}
%__tar -xvf %{SOURCE211}
%__tar -xvf %{SOURCE212}
%__tar -xvf %{SOURCE213}
%__tar -xvf %{SOURCE214}
%__tar -xvf %{SOURCE215}
%__tar -xvf %{SOURCE216}
%__tar -xvf %{SOURCE217}
%__tar -xvf %{SOURCE218}
%__tar -xvf %{SOURCE219}
%__tar -xvf %{SOURCE220}
%__tar -xvf %{SOURCE221}
%__tar -xvf %{SOURCE222}
%__tar -xvf %{SOURCE223}
%__tar -xvf %{SOURCE224}
%__tar -xvf %{SOURCE225}
%__tar -xvf %{SOURCE226}

%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=(
dvipdfmx/dvipdfmx.cfg
scripts/context/stubs/unix/mtxrun
scripts/latexmk/latexmk.pl
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
#
scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
)
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
* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
- synced tlnet to 20160607 (TeX Live 2016)

* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
- synced tlnet to 20160514 (TeX Live 2016/pretest)

* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
- synced tlnet to 20160510 (TeX Live 2016/pretest)

* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
- TeX Live 2016/pretest
- synced tlnet to 20160428 (TeX Live 2016/pretest)

* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
- remove duplicated files from texlive-collection-*
- synced tlnet to 20160113 (TeX Live 2015)

* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
- TeX Live 2016/dev
- synced tlnet to 20160110 (TeX Live 2016/dev)

* 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
