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

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

%define aliasttfdir	%{texmfsysvar}/fonts/truetype/vine
%define texmfsysconfig	%{_sysconfdir}/texmf
%define texmfsysvar	%{_var}/lib/texmf
%define vartexfonts	%{texmfsysvar}/fonts

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

## use some macros for %post, %posttrans
%define touch_run(%1)	%{expand:( %__mkdir_p /var/run/texlive; touch /var/run/texlive/run-%1; )
}
%define exec_upddeffont	[ -x %{_sbindir}/update-defaultfont ] && \\\
    %{_sbindir}/update-defaultfont 2> /dev/null
%define exec_texhash	[ -e /var/run/texlive/run-texhash ] && ( \\\
    [ -x %{_bindir}/texhash ] && \\\
    echo -n "    "; echo -n "Running texhash... "; \\\
    %{_bindir}/texhash 2> /dev/null; \\\
    echo "done." ) && %__rm -f /var/run/texlive/run-texhash;
%define exec_mtxrun	[ -e /var/run/texlive/run-mtxrun ] && ( \\\
    [ -x %{_bindir}/mtxrun ] && \\\
    echo -n "    "; echo -n "Running mtxrun... "; \\\
    export TEXMF=%{texmf}-dist TEXMFCNF=%{texmf}/web2c TEXMFCACHE=%{texmfsysvar}; \\\
    %{_bindir}/mtxrun --generate &> /dev/null; \\\
    echo "done." ) && %__rm -f /var/run/texlive/run-mtxrun; 
%define exec_fmtutil	[ -e /var/run/texlive/run-fmtutil ] && ( \\\
    [ -x %{_bindir}/fmtutil-sys ] && \\\
    echo -n "    "; echo -n "Running fmtutil-sys... "; \\\
    %{_bindir}/fmtutil-sys --all &> /dev/null; \\\
    echo "done." ) && %__rm -f /var/run/texlive/run-fmtutil; 
%define exec_updmap	[ -e /var/run/texlive/run-updmap ] && ( \\\
    [ -x %{_bindir}/updmap-sys ] && \\\
    echo -n "    "; echo -n "Running updmap-sys... "; \\\
    %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\
    echo "done." ) && %__rm -f /var/run/texlive/run-updmap; 

Summary: TeX Live: Arabic
Summary(ja): TeX Live: Arabic
Name: texlive-collection-langarabic
Version: 2012
Release: 1%{?_dist_release}
License: OFSFLD, LPPL, LPPL 1.3
Group: Applications/Publishing
URL:http://www.tug.org/texlive/

Requires: texlive = %{version}
Requires: texlive-collection-basic = %{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 Arabic: 
Support for typesetting Arabic.

This package contains the following CTAN packages: 
amiri: A classical Arabic typeface, Naskh style.
arabi: (La)TeX support for Arabic and Farsi, compliant with Babel.
arabtex: Macros and fonts for typesetting Arabic.
bidi: Support for bidirectional typesetting in plain TeX and LaTeX.
hyphen-arabic: (No) Arabic hyphenation patterns.
hyphen-farsi: (No) Persian hyphenation patterns.
persian-bib: Persian translations of classic BibTeX styles.
persian-modern: The "Persian Modern" family of fonts.

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

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

このパッケージは以下のようなパッケージ集です。
Arabic: 
Support for typesetting Arabic.

このパッケージは以下の CTAN パッケージを含んでいます： 
amiri: A classical Arabic typeface, Naskh style.
arabi: (La)TeX support for Arabic and Farsi, compliant with Babel.
arabtex: Macros and fonts for typesetting Arabic.
bidi: Support for bidirectional typesetting in plain TeX and LaTeX.
hyphen-arabic: (No) Arabic hyphenation patterns.
hyphen-farsi: (No) Persian hyphenation patterns.
persian-bib: Persian translations of classic BibTeX styles.
persian-modern: The "Persian Modern" family of fonts.

%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/fonts/amiri/Makefile
texmf-dist/doc/fonts/amiri/OFL-FAQ.txt
texmf-dist/doc/fonts/amiri/OFL.txt
texmf-dist/doc/fonts/amiri/README.txt
texmf-dist/doc/fonts/amiri/documentation/NEWS-Arabic.txt
texmf-dist/doc/fonts/amiri/documentation/NEWS.txt
texmf-dist/doc/fonts/amiri/documentation/README-Arabic.txt
texmf-dist/doc/fonts/amiri/documentation/README.txt
texmf-dist/doc/fonts/amiri/documentation/amiri-table.pdf
texmf-dist/doc/fonts/amiri/sources/amiri-bold.fea
texmf-dist/doc/fonts/amiri/sources/amiri-bold.sfd
texmf-dist/doc/fonts/amiri/sources/amiri-regular.fea
texmf-dist/doc/fonts/amiri/sources/amiri-regular.sfd
texmf-dist/doc/fonts/amiri/sources/basic.fea
texmf-dist/doc/fonts/amiri/sources/classes.fea
texmf-dist/doc/fonts/amiri/sources/contextuals.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/Crimson-Bold.sfd
texmf-dist/doc/fonts/amiri/sources/crimson/sources/Crimson-BoldItalic.sfd
texmf-dist/doc/fonts/amiri/sources/crimson/sources/Crimson-Italic.sfd
texmf-dist/doc/fonts/amiri/sources/crimson/sources/Crimson-Roman-edits.sfd
texmf-dist/doc/fonts/amiri/sources/crimson/sources/Crimson-Roman.sfd
texmf-dist/doc/fonts/amiri/sources/crimson/sources/Crimson-Semibold.sfd
texmf-dist/doc/fonts/amiri/sources/crimson/sources/Crimson-SemiboldItalic.sfd
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/calt.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/calt_italic.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/crimson.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/crimson_italic.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/fractions.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/italic_glyphclasses.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/ligatures.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/locl.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/numbers.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/numbers_italic.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/roman_glyphclasses.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/smallcaps.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/subs_sups.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/variants.fea
texmf-dist/doc/fonts/amiri/sources/crimson/sources/OT-featurefiles/variants_italic.fea
texmf-dist/doc/fonts/amiri/sources/enclosing.fea
texmf-dist/doc/fonts/amiri/sources/italic_ltra.fea
texmf-dist/doc/fonts/amiri/sources/italic_rtla.fea
texmf-dist/doc/fonts/amiri/sources/kashida.fea
texmf-dist/doc/fonts/amiri/sources/kerning.fea
texmf-dist/doc/fonts/amiri/sources/lang.fea
texmf-dist/doc/fonts/amiri/sources/lang_arabic.fea
texmf-dist/doc/fonts/amiri/sources/lang_latin.fea
texmf-dist/doc/fonts/amiri/sources/latin_gsub.fea
texmf-dist/doc/fonts/amiri/sources/lellah.fea
texmf-dist/doc/fonts/amiri/sources/local.fea
texmf-dist/doc/fonts/amiri/sources/quran.fea
texmf-dist/doc/fonts/amiri/sources/rtlm.fea
texmf-dist/doc/fonts/amiri/sources/stylisticsets.fea
texmf-dist/doc/fonts/amiri/test-suite/basic.test
texmf-dist/doc/fonts/amiri/test-suite/enclosing.ptest
texmf-dist/doc/fonts/amiri/test-suite/extendedmeem.test
texmf-dist/doc/fonts/amiri/test-suite/high_baa.test
texmf-dist/doc/fonts/amiri/test-suite/lellah.test
texmf-dist/doc/fonts/amiri/test-suite/local.test
texmf-dist/doc/fonts/amiri/tools/build.py
texmf-dist/doc/fonts/amiri/tools/runtest.py
texmf-dist/fonts/truetype/public/amiri/amiri-bold.ttf
texmf-dist/fonts/truetype/public/amiri/amiri-boldslanted.ttf
texmf-dist/fonts/truetype/public/amiri/amiri-regular.ttf
texmf-dist/fonts/truetype/public/amiri/amiri-slanted.ttf
texmf-dist/doc/latex/arabi/README
texmf-dist/doc/latex/arabi/bblopts.cfg
texmf-dist/doc/latex/arabi/big2.pdf
texmf-dist/doc/latex/arabi/big2.tex
texmf-dist/doc/latex/arabi/fontchart_arabic.pdf
texmf-dist/doc/latex/arabi/fontchart_farsi.pdf
texmf-dist/doc/latex/arabi/lion.pdf
texmf-dist/doc/latex/arabi/lppl.tex
texmf-dist/doc/latex/arabi/samplebook.css
texmf-dist/doc/latex/arabi/samplebook.html
texmf-dist/doc/latex/arabi/samplebook.pdf
texmf-dist/doc/latex/arabi/samplebook.tex
texmf-dist/doc/latex/arabi/test_beamer.pdf
texmf-dist/doc/latex/arabi/testplaintex.pdf
texmf-dist/doc/latex/arabi/testplaintex.tex
texmf-dist/doc/latex/arabi/user_guide.pdf
texmf-dist/fonts/afm/arabi/arabeyes/ae_almohanad_boldItalitalic.afm
texmf-dist/fonts/afm/arabi/arabeyes/ae_almohanad_thin.afm
texmf-dist/fonts/afm/arabi/arabeyes/ae_almohanad_xxbold.afm
texmf-dist/fonts/enc/dvips/arabi/ararabeyes.enc
texmf-dist/fonts/enc/dvips/arabi/ardtpnaskh.enc
texmf-dist/fonts/enc/dvips/arabi/ardtpthuluth.enc
texmf-dist/fonts/enc/dvips/arabi/armonotype.enc
texmf-dist/fonts/enc/dvips/arabi/aromega.enc
texmf-dist/fonts/enc/dvips/arabi/arsimplified.enc
texmf-dist/fonts/enc/dvips/arabi/arunicode.enc
texmf-dist/fonts/enc/dvips/arabi/farsitex.enc
texmf-dist/fonts/enc/dvips/arabi/farsiwebencoding.enc
texmf-dist/fonts/enc/dvips/arabi/frmonotype.enc
texmf-dist/fonts/enc/dvips/arabi/frsimple.enc
texmf-dist/fonts/enc/dvips/arabi/frsimplified.enc
texmf-dist/fonts/enc/dvips/arabi/frunicode.enc
texmf-dist/fonts/map/dvips/arabi/arabi.map
texmf-dist/fonts/tfm/arabi/arabeyes/ae_almohanad_xxbold.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/ae_alyermook.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/ae_arab.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/ae_tholoth.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aealbattar.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aealmateen.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aealmohanadb.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aealmohanadbolditalic.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aealmothnna.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aealyermook.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aearab.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aecortoba.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aedimnah.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aefurat.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aegranada.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aegraph.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aehani.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aehor.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aekayrawan.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aekhalid.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aemashq.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aemetal.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aenada.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aenagham.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aenice.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aeostorah.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aeouhod.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aepetra.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aerehan.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aesalem.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aeshado.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aesharjah.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aesindibad.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aetarablus.tfm
texmf-dist/fonts/tfm/arabi/arabeyes/aetholoth.tfm
texmf-dist/fonts/tfm/arabi/farsiweb/homa.tfm
texmf-dist/fonts/tfm/arabi/farsiweb/nazli.tfm
texmf-dist/fonts/tfm/arabi/farsiweb/nazlib.tfm
texmf-dist/fonts/tfm/arabi/farsiweb/nazlibout.tfm
texmf-dist/fonts/tfm/arabi/farsiweb/nazliout.tfm
texmf-dist/fonts/tfm/arabi/farsiweb/titr.tfm
texmf-dist/fonts/tfm/arabi/farsiweb/titrout.tfm
texmf-dist/fonts/type1/arabi/arabeyes/ae_albattar.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_almateen.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_almohanad_bold.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_almohanad_boldItalitalic.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_almohanad_thin.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_almohanad_xxbold.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_almothnna.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_alyermook.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_arab.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_cortoba.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_dimnah.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_furat.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_granada.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_graph.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_hani.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_hor.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_kayrawan.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_khalid.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_mashq.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_metal.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_nada.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_nagham.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_nice.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_ostorah.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_ouhod.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_petra.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_rehan.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_salem.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_shado.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_sharjah.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_sindibad.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_tarablus.pfb
texmf-dist/fonts/type1/arabi/arabeyes/ae_tholoth.pfb
texmf-dist/fonts/type1/arabi/farsiweb/homa.pfb
texmf-dist/fonts/type1/arabi/farsiweb/nazli.pfb
texmf-dist/fonts/type1/arabi/farsiweb/nazlib.pfb
texmf-dist/fonts/type1/arabi/farsiweb/titr.pfb
texmf-dist/tex/latex/arabi/8859-6.def
texmf-dist/tex/latex/arabi/PPRarabic.sty
texmf-dist/tex/latex/arabi/arabi4ht.cfg
texmf-dist/tex/latex/arabi/arabic.cfg
texmf-dist/tex/latex/arabi/arabic.ldf
texmf-dist/tex/latex/arabi/arabicfnt.sty
texmf-dist/tex/latex/arabi/arabicore.sty
texmf-dist/tex/latex/arabi/arabiftoday.sty
texmf-dist/tex/latex/arabi/arabnovowel.sty
texmf-dist/tex/latex/arabi/arfonts.sty
texmf-dist/tex/latex/arabi/calendrierfpar.sty
texmf-dist/tex/latex/arabi/calendrierfpmodified.sty
texmf-dist/tex/latex/arabi/cp1256.def
texmf-dist/tex/latex/arabi/farsi.ldf
texmf-dist/tex/latex/arabi/farsifnt.sty
texmf-dist/tex/latex/arabi/fmultico.sty
texmf-dist/tex/latex/arabi/fnum.sty
texmf-dist/tex/latex/arabi/frfonts.sty
texmf-dist/tex/latex/arabi/haparabica.sty
texmf-dist/tex/latex/arabi/laeaealbattar.fd
texmf-dist/tex/latex/arabi/laeaealmateen.fd
texmf-dist/tex/latex/arabi/laeaealmohanadb.fd
texmf-dist/tex/latex/arabi/laeaealmothnna.fd
texmf-dist/tex/latex/arabi/laeaealyermook.fd
texmf-dist/tex/latex/arabi/laeaearab.fd
texmf-dist/tex/latex/arabi/laeaecortoba.fd
texmf-dist/tex/latex/arabi/laeaedimnah.fd
texmf-dist/tex/latex/arabi/laeaefurat.fd
texmf-dist/tex/latex/arabi/laeaegranada.fd
texmf-dist/tex/latex/arabi/laeaegraph.fd
texmf-dist/tex/latex/arabi/laeaehani.fd
texmf-dist/tex/latex/arabi/laeaehor.fd
texmf-dist/tex/latex/arabi/laeaekayrawan.fd
texmf-dist/tex/latex/arabi/laeaekhalid.fd
texmf-dist/tex/latex/arabi/laeaemashq.fd
texmf-dist/tex/latex/arabi/laeaemetal.fd
texmf-dist/tex/latex/arabi/laeaenada.fd
texmf-dist/tex/latex/arabi/laeaenagham.fd
texmf-dist/tex/latex/arabi/laeaenice.fd
texmf-dist/tex/latex/arabi/laeaeostorah.fd
texmf-dist/tex/latex/arabi/laeaeouhod.fd
texmf-dist/tex/latex/arabi/laeaepetra.fd
texmf-dist/tex/latex/arabi/laeaerehan.fd
texmf-dist/tex/latex/arabi/laeaesalem.fd
texmf-dist/tex/latex/arabi/laeaeshado.fd
texmf-dist/tex/latex/arabi/laeaesharjah.fd
texmf-dist/tex/latex/arabi/laeaesindibad.fd
texmf-dist/tex/latex/arabi/laeaetarablus.fd
texmf-dist/tex/latex/arabi/laeaetholoth.fd
texmf-dist/tex/latex/arabi/laeandlso.fd
texmf-dist/tex/latex/arabi/laeararial.fd
texmf-dist/tex/latex/arabi/laearcour.fd
texmf-dist/tex/latex/arabi/laearomega.fd
texmf-dist/tex/latex/arabi/laearsimpo.fd
texmf-dist/tex/latex/arabi/laeartimes.fd
texmf-dist/tex/latex/arabi/laeasv.fd
texmf-dist/tex/latex/arabi/laecmr.fd
texmf-dist/tex/latex/arabi/laecmss.fd
texmf-dist/tex/latex/arabi/laecmtt.fd
texmf-dist/tex/latex/arabi/laedthuluth.fd
texmf-dist/tex/latex/arabi/laedtpn.fd
texmf-dist/tex/latex/arabi/laedtpnsp.fd
texmf-dist/tex/latex/arabi/laeenc.def
texmf-dist/tex/latex/arabi/laeenc.dfu
texmf-dist/tex/latex/arabi/laekacstbook.fd
texmf-dist/tex/latex/arabi/laemaghribi.fd
texmf-dist/tex/latex/arabi/laenaskhi.fd
texmf-dist/tex/latex/arabi/laereqaa.fd
texmf-dist/tex/latex/arabi/laetraditionalarabic.fd
texmf-dist/tex/latex/arabi/lagally.sty
texmf-dist/tex/latex/arabi/lfecmr.fd
texmf-dist/tex/latex/arabi/lfecmss.fd
texmf-dist/tex/latex/arabi/lfecmtt.fd
texmf-dist/tex/latex/arabi/lfeelham.fd
texmf-dist/tex/latex/arabi/lfeenc.def
texmf-dist/tex/latex/arabi/lfefandlso.fd
texmf-dist/tex/latex/arabi/lfefarsismpl.fd
texmf-dist/tex/latex/arabi/lfefrarial.fd
texmf-dist/tex/latex/arabi/lfefrtimes.fd
texmf-dist/tex/latex/arabi/lfeftraditionalarabic.fd
texmf-dist/tex/latex/arabi/lfehoma.fd
texmf-dist/tex/latex/arabi/lfekoodak.fd
texmf-dist/tex/latex/arabi/lfenazli.fd
texmf-dist/tex/latex/arabi/lfenazliout.fd
texmf-dist/tex/latex/arabi/lferoya.fd
texmf-dist/tex/latex/arabi/lfesmplarabic.fd
texmf-dist/tex/latex/arabi/lfeterafik.fd
texmf-dist/tex/latex/arabi/lfetitr.fd
texmf-dist/tex/latex/arabi/lfetitrout.fd
texmf-dist/tex/latex/arabi/mosq.def
texmf-dist/tex/latex/arabi/poetry.sty
texmf-dist/tex/latex/arabi/puenc-ar.def
texmf-dist/tex/latex/arabi/transcmr.fd
texmf-dist/tex/latex/arabi/translit.sty
texmf-dist/doc/latex/arabtex/announce.txt
texmf-dist/doc/latex/arabtex/arabtex-doc.pdf
texmf-dist/doc/latex/arabtex/arabtex.doc
texmf-dist/doc/latex/arabtex/arabtex.faq
texmf-dist/doc/latex/arabtex/arabtex.gif
texmf-dist/doc/latex/arabtex/arabtex.htm
texmf-dist/doc/latex/arabtex/arabtex1.htm
texmf-dist/doc/latex/arabtex/arabtex2.htm
texmf-dist/doc/latex/arabtex/changes.htm
texmf-dist/doc/latex/arabtex/changes.txt
texmf-dist/doc/latex/arabtex/changes2.txt
texmf-dist/doc/latex/arabtex/chg311.htm
texmf-dist/doc/latex/arabtex/chg311a.htm
texmf-dist/doc/latex/arabtex/chg311b.htm
texmf-dist/doc/latex/arabtex/chg311c.htm
texmf-dist/doc/latex/arabtex/chg311d.htm
texmf-dist/doc/latex/arabtex/guha.ps
texmf-dist/doc/latex/arabtex/hebrew.305
texmf-dist/doc/latex/arabtex/install.txt
texmf-dist/doc/latex/arabtex/lppl.txt
texmf-dist/doc/latex/arabtex/malay.ps
texmf-dist/doc/latex/arabtex/manifest.txt
texmf-dist/doc/latex/arabtex/miktex.htm
texmf-dist/doc/latex/arabtex/miktex.mai
texmf-dist/doc/latex/arabtex/new1.gif
texmf-dist/doc/latex/arabtex/new2.gif
texmf-dist/doc/latex/arabtex/readme.305
texmf-dist/doc/latex/arabtex/readme.txt
texmf-dist/doc/latex/arabtex/refer.htm
texmf-dist/doc/latex/arabtex/sindhi.ps
texmf-dist/doc/latex/arabtex/tetex.txt
texmf-dist/doc/latex/arabtex/uighur.ps
texmf-dist/doc/latex/arabtex/xarbsymb.dat
texmf-dist/fonts/map/dvips/arabtex/arabtex.map
texmf-dist/fonts/source/public/arabtex/arabsymb.mf
texmf-dist/fonts/source/public/arabtex/hcaption.mf
texmf-dist/fonts/source/public/arabtex/hcbase.mf
texmf-dist/fonts/source/public/arabtex/hclassic.mf
texmf-dist/fonts/source/public/arabtex/nash.mf
texmf-dist/fonts/source/public/arabtex/nash14.mf
texmf-dist/fonts/source/public/arabtex/nash14bf.mf
texmf-dist/fonts/source/public/arabtex/nashbase.mf
texmf-dist/fonts/source/public/arabtex/nashchar.mf
texmf-dist/fonts/source/public/arabtex/nashdia.mf
texmf-dist/fonts/source/public/arabtex/nashdig.mf
texmf-dist/fonts/source/public/arabtex/nashlig.mf
texmf-dist/fonts/source/public/arabtex/nashspec.mf
texmf-dist/fonts/source/public/arabtex/xarbsymb.mf
texmf-dist/fonts/source/public/arabtex/xnsh.mf
texmf-dist/fonts/source/public/arabtex/xnsh14.mf
texmf-dist/fonts/source/public/arabtex/xnsh14bf.mf
texmf-dist/fonts/source/public/arabtex/xnshbase.mf
texmf-dist/fonts/source/public/arabtex/xnshchar.mf
texmf-dist/fonts/source/public/arabtex/xnshdia.mf
texmf-dist/fonts/source/public/arabtex/xnshdig.mf
texmf-dist/fonts/source/public/arabtex/xnshlig.mf
texmf-dist/fonts/source/public/arabtex/xnshspec.mf
texmf-dist/fonts/tfm/public/arabtex/hcaption.tfm
texmf-dist/fonts/tfm/public/arabtex/hclassic.tfm
texmf-dist/fonts/tfm/public/arabtex/nash14.tfm
texmf-dist/fonts/tfm/public/arabtex/nash14bf.tfm
texmf-dist/fonts/tfm/public/arabtex/xnsh14.tfm
texmf-dist/fonts/tfm/public/arabtex/xnsh14bf.tfm
texmf-dist/fonts/tfm/public/arabtex/yarborn.tfm
texmf-dist/fonts/type1/public/arabtex/hcaption-4.pfb
texmf-dist/fonts/type1/public/arabtex/hclassic-4.pfb
texmf-dist/fonts/type1/public/arabtex/xnsh14.pfb
texmf-dist/fonts/type1/public/arabtex/xnsh14bf.pfb
texmf-dist/tex/latex/arabtex/Uxnsh.fd
texmf-dist/tex/latex/arabtex/abidir.sty
texmf-dist/tex/latex/arabtex/abjad.sty
texmf-dist/tex/latex/arabtex/aboxes.sty
texmf-dist/tex/latex/arabtex/acjk.sty
texmf-dist/tex/latex/arabtex/acmd.sty
texmf-dist/tex/latex/arabtex/aconfig.sty
texmf-dist/tex/latex/arabtex/aedpatch.sty
texmf-dist/tex/latex/arabtex/afonts.sty
texmf-dist/tex/latex/arabtex/afonts0.sty
texmf-dist/tex/latex/arabtex/afonts1.sty
texmf-dist/tex/latex/arabtex/afonts2.sty
texmf-dist/tex/latex/arabtex/afoot.sty
texmf-dist/tex/latex/arabtex/alatex.sty
texmf-dist/tex/latex/arabtex/aligs.sty
texmf-dist/tex/latex/arabtex/alists.sty
texmf-dist/tex/latex/arabtex/alocal.sty
texmf-dist/tex/latex/arabtex/altxext.sty
texmf-dist/tex/latex/arabtex/amac.sty
texmf-dist/tex/latex/arabtex/aoutput.sty
texmf-dist/tex/latex/arabtex/aparse.sty
texmf-dist/tex/latex/arabtex/apatch.sty
texmf-dist/tex/latex/arabtex/arababel.sty
texmf-dist/tex/latex/arabtex/arabart.cls
texmf-dist/tex/latex/arabtex/arabaux.sty
texmf-dist/tex/latex/arabtex/arabbook.cls
texmf-dist/tex/latex/arabtex/arabchrs.sty
texmf-dist/tex/latex/arabtex/arabext.sty
texmf-dist/tex/latex/arabtex/arabrep.cls
texmf-dist/tex/latex/arabtex/arabrep1.cls
texmf-dist/tex/latex/arabtex/arabskel.sty
texmf-dist/tex/latex/arabtex/arabsymb.sty
texmf-dist/tex/latex/arabtex/arabtex-doc.tex
texmf-dist/tex/latex/arabtex/arabtex.sty
texmf-dist/tex/latex/arabtex/arabtex.tex
texmf-dist/tex/latex/arabtex/arabtoks.sty
texmf-dist/tex/latex/arabtex/arwindoc.tex
texmf-dist/tex/latex/arabtex/ascan.sty
texmf-dist/tex/latex/arabtex/asect.sty
texmf-dist/tex/latex/arabtex/asize10.clo
texmf-dist/tex/latex/arabtex/asize11.clo
texmf-dist/tex/latex/arabtex/asize12.clo
texmf-dist/tex/latex/arabtex/asmo449.sty
texmf-dist/tex/latex/arabtex/asmo449a.sty
texmf-dist/tex/latex/arabtex/atabg.sty
texmf-dist/tex/latex/arabtex/atrans.sty
texmf-dist/tex/latex/arabtex/awrite.sty
texmf-dist/tex/latex/arabtex/bhs.sty
texmf-dist/tex/latex/arabtex/bhslabel.sty
texmf-dist/tex/latex/arabtex/buck.sty
texmf-dist/tex/latex/arabtex/captions.def
texmf-dist/tex/latex/arabtex/cp1256.sty
texmf-dist/tex/latex/arabtex/etrans.sty
texmf-dist/tex/latex/arabtex/gedalin.sty
texmf-dist/tex/latex/arabtex/guha.tex
texmf-dist/tex/latex/arabtex/hebchrs.sty
texmf-dist/tex/latex/arabtex/hebsymb.sty
texmf-dist/tex/latex/arabtex/hebtex.sty
texmf-dist/tex/latex/arabtex/hebtex.tex
texmf-dist/tex/latex/arabtex/hecmd.sty
texmf-dist/tex/latex/arabtex/hefonts.sty
texmf-dist/tex/latex/arabtex/hefonts0.sty
texmf-dist/tex/latex/arabtex/hefonts1.sty
texmf-dist/tex/latex/arabtex/hefonts2.sty
texmf-dist/tex/latex/arabtex/heparse.sty
texmf-dist/tex/latex/arabtex/hepatch.sty
texmf-dist/tex/latex/arabtex/hescan.sty
texmf-dist/tex/latex/arabtex/hetrans.sty
texmf-dist/tex/latex/arabtex/hewrite.sty
texmf-dist/tex/latex/arabtex/hmac.sty
texmf-dist/tex/latex/arabtex/isiri.sty
texmf-dist/tex/latex/arabtex/iso88596.sty
texmf-dist/tex/latex/arabtex/kashmiri.tex
texmf-dist/tex/latex/arabtex/ligtable.tex
texmf-dist/tex/latex/arabtex/malay.tex
texmf-dist/tex/latex/arabtex/nashbf.sty
texmf-dist/tex/latex/arabtex/omar.tex
texmf-dist/tex/latex/arabtex/raw.sty
texmf-dist/tex/latex/arabtex/saw.sty
texmf-dist/tex/latex/arabtex/sindhi.tex
texmf-dist/tex/latex/arabtex/sotoku.sty
texmf-dist/tex/latex/arabtex/twoblks.sty
texmf-dist/tex/latex/arabtex/uheb.fd
texmf-dist/tex/latex/arabtex/uighur.tex
texmf-dist/tex/latex/arabtex/unash.fd
texmf-dist/tex/latex/arabtex/utf8.sty
texmf-dist/tex/latex/arabtex/utfcode.sty
texmf-dist/tex/latex/arabtex/verses.sty
texmf-dist/tex/latex/arabtex/witbhs.sty
texmf-dist/tex/latex/arabtex/xarbskel.sty
texmf-dist/tex/latex/arabtex/xarbsymb.sty
texmf-dist/tex/latex/arabtex/yiddish.sty
texmf-dist/doc/latex/bidi/README
texmf-dist/doc/latex/bidi/bidi-logo.pdf
texmf-dist/doc/latex/bidi/bidi-logo.tex
texmf-dist/doc/latex/bidi/bidi.pdf
texmf-dist/doc/latex/bidi/bidisample2e.tex
texmf-dist/doc/latex/bidi/bidismall2e.tex
texmf-dist/doc/latex/bidi/gull.jpg
texmf-dist/doc/latex/bidi/picture.jpg
texmf-dist/doc/latex/bidi/presentation-sample.tex
texmf-dist/doc/latex/bidi/test-arydshln.tex
texmf-dist/doc/latex/bidi/test-bidi.tex
texmf-dist/doc/latex/bidi/test-brochure.tex
texmf-dist/doc/latex/bidi/test-casualcv.tex
texmf-dist/doc/latex/bidi/test-classiccv.tex
texmf-dist/doc/latex/bidi/test-color.tex
texmf-dist/doc/latex/bidi/test-supertabular.tex
texmf-dist/doc/latex/bidi/test-tabular.tex
texmf-dist/doc/latex/bidi/test-tabularx.tex
texmf-dist/doc/latex/bidi/test-tabulary.tex
texmf-dist/doc/latex/bidi/test1-colortbl.tex
texmf-dist/doc/latex/bidi/test1-wrapfig.tex
texmf-dist/doc/latex/bidi/test2-colortbl.tex
texmf-dist/doc/latex/bidi/test2-wrapfig.tex
texmf-dist/doc/latex/bidi/test3-wrapfig.tex
texmf-dist/source/latex/bidi/bidi.dtx
texmf-dist/source/latex/bidi/bidi.ins
texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def
texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def
texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
texmf-dist/tex/latex/bidi/amsthm-xetex-bidi.def
texmf-dist/tex/latex/bidi/array-xetex-bidi.def
texmf-dist/tex/latex/bidi/article-xetex-bidi.def
texmf-dist/tex/latex/bidi/artikel1-xetex-bidi.def
texmf-dist/tex/latex/bidi/artikel2-xetex-bidi.def
texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def
texmf-dist/tex/latex/bidi/arydshln-xetex-bidi.def
texmf-dist/tex/latex/bidi/bibitem.pdf
texmf-dist/tex/latex/bidi/bidi.sty
texmf-dist/tex/latex/bidi/bidi.tex
texmf-dist/tex/latex/bidi/bidi2in1.sty
texmf-dist/tex/latex/bidi/bidicode.sty
texmf-dist/tex/latex/bidi/bidiftnxtra.sty
texmf-dist/tex/latex/bidi/bidimoderncv.cls
texmf-dist/tex/latex/bidi/bidipoem.sty
texmf-dist/tex/latex/bidi/bidipresentation.cls
texmf-dist/tex/latex/bidi/biditools.sty
texmf-dist/tex/latex/bidi/biditufte-book.cls
texmf-dist/tex/latex/bidi/biditufte-handout.cls
texmf-dist/tex/latex/bidi/bidituftefloat.sty
texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
texmf-dist/tex/latex/bidi/bidituftehyperref.sty
texmf-dist/tex/latex/bidi/bidituftesidenote.sty
texmf-dist/tex/latex/bidi/bidituftetitle.sty
texmf-dist/tex/latex/bidi/bidituftetoc.sty
texmf-dist/tex/latex/bidi/boek-xetex-bidi.def
texmf-dist/tex/latex/bidi/boek3-xetex-bidi.def
texmf-dist/tex/latex/bidi/book-xetex-bidi.def
texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def
texmf-dist/tex/latex/bidi/breqn-xetex-bidi.def
texmf-dist/tex/latex/bidi/caption-xetex-bidi.def
texmf-dist/tex/latex/bidi/color-xetex-bidi.def
texmf-dist/tex/latex/bidi/colortbl-xetex-bidi.def
texmf-dist/tex/latex/bidi/combine-xetex-bidi.def
texmf-dist/tex/latex/bidi/crop-xetex-bidi.def
texmf-dist/tex/latex/bidi/cutwin-xetex-bidi.def
texmf-dist/tex/latex/bidi/cvthemebidicasual.sty
texmf-dist/tex/latex/bidi/cvthemebidiclassic.sty
texmf-dist/tex/latex/bidi/dblfnote-xetex-bidi.def
texmf-dist/tex/latex/bidi/draftwatermark-xetex-bidi.def
texmf-dist/tex/latex/bidi/empheq-xetex-bidi.def
texmf-dist/tex/latex/bidi/extarticle-xetex-bidi.def
texmf-dist/tex/latex/bidi/extbook-xetex-bidi.def
texmf-dist/tex/latex/bidi/extletter-xetex-bidi.def
texmf-dist/tex/latex/bidi/extrafootnotefeatures.def
texmf-dist/tex/latex/bidi/extreport-xetex-bidi.def
texmf-dist/tex/latex/bidi/fancyhdr-xetex-bidi.def
texmf-dist/tex/latex/bidi/fleqn-xetex-bidi.def
texmf-dist/tex/latex/bidi/float-xetex-bidi.def
texmf-dist/tex/latex/bidi/flowfram-xetex-bidi.def
texmf-dist/tex/latex/bidi/footnote-luatex-bidi.def
texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def
texmf-dist/tex/latex/bidi/framed-xetex-bidi.def
texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def
texmf-dist/tex/latex/bidi/hvfloat-xetex-bidi.def
texmf-dist/tex/latex/bidi/hyperref-xetex-bidi.def
texmf-dist/tex/latex/bidi/leqno-xetex-bidi.def
texmf-dist/tex/latex/bidi/letter-xetex-bidi.def
texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def
texmf-dist/tex/latex/bidi/listings-xetex-bidi.def
texmf-dist/tex/latex/bidi/loadingorder-bidi.def
texmf-dist/tex/latex/bidi/longtable-xetex-bidi.def
texmf-dist/tex/latex/bidi/luatex-bidi.def
texmf-dist/tex/latex/bidi/memoir-xetex-bidi.def
texmf-dist/tex/latex/bidi/minitoc-xetex-bidi.def
texmf-dist/tex/latex/bidi/multicol-xetex-bidi.def
texmf-dist/tex/latex/bidi/multienum-xetex-bidi.def
texmf-dist/tex/latex/bidi/natbib-xetex-bidi.def
texmf-dist/tex/latex/bidi/ntheorem-hyper-xetex-bidi.def
texmf-dist/tex/latex/bidi/ntheorem-xetex-bidi.def
texmf-dist/tex/latex/bidi/pdfpages-xetex-bidi.def
texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def
texmf-dist/tex/latex/bidi/picinpar-xetex-bidi.def
texmf-dist/tex/latex/bidi/plain-luatex-bidi.def
texmf-dist/tex/latex/bidi/plain-xetex-bidi.def
texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def
texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def
texmf-dist/tex/latex/bidi/ragged2e-xetex-bidi.def
texmf-dist/tex/latex/bidi/rapport1-xetex-bidi.def
texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def
texmf-dist/tex/latex/bidi/report-xetex-bidi.def
texmf-dist/tex/latex/bidi/scrartcl-xetex-bidi.def
texmf-dist/tex/latex/bidi/scrbook-xetex-bidi.def
texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def
texmf-dist/tex/latex/bidi/scrreprt-xetex-bidi.def
texmf-dist/tex/latex/bidi/sidecap-xetex-bidi.def
texmf-dist/tex/latex/bidi/stabular-xetex-bidi.def
texmf-dist/tex/latex/bidi/subfigure-xetex-bidi.def
texmf-dist/tex/latex/bidi/tabls-xetex-bidi.def
texmf-dist/tex/latex/bidi/tabulary-xetex-bidi.def
texmf-dist/tex/latex/bidi/tikz-xetex-bidi.def
texmf-dist/tex/latex/bidi/titlesec-xetex-bidi.def
texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def
texmf-dist/tex/latex/bidi/tocloft-xetex-bidi.def
texmf-dist/tex/latex/bidi/tocstyle-xetex-bidi.def
texmf-dist/tex/latex/bidi/wrapfig-xetex-bidi.def
texmf-dist/tex/latex/bidi/xcolor-xetex-bidi.def
texmf-dist/tex/latex/bidi/xetex-bidi.def
texmf-dist/tex/latex/bidi/xltxtra-xetex-bidi.def
texmf-dist/doc/xelatex/persian-bib/MyReferences.bib
texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.pdf
texmf-dist/doc/xelatex/persian-bib/Persian-bib-userguide.tex
texmf-dist/doc/xelatex/persian-bib/README
texmf-dist/doc/xelatex/persian-bib/bibtex-example.pdf
texmf-dist/doc/xelatex/persian-bib/bibtex-example.tex
texmf-dist/doc/xelatex/persian-bib/gen_pdf.pl
texmf-dist/bibtex/bst/persian-bib/acm-fa.bst
texmf-dist/bibtex/bst/persian-bib/asa-fa.bst
texmf-dist/bibtex/bst/persian-bib/chicago-fa.bst
texmf-dist/bibtex/bst/persian-bib/ieeetr-fa.bst
texmf-dist/bibtex/bst/persian-bib/plain-fa.bst
texmf-dist/bibtex/bst/persian-bib/plainnat-fa.bst
texmf-dist/bibtex/bst/persian-bib/unsrt-fa.bst
texmf-dist/bibtex/csf/persian-bib/cp1256fa.csf
texmf-dist/doc/fonts/persian-modern/OFL-FAQ.txt
texmf-dist/doc/fonts/persian-modern/OFL.txt
texmf-dist/doc/fonts/persian-modern/README
texmf-dist/source/fonts/persian-modern/persian-modern-bold.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-bolditalic.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-boldoblique.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-italic.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-italicoutline.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-italicshadow.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-oblique.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-obliqueoutline.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-obliqueshadow.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-outline.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-regular.sfd
texmf-dist/source/fonts/persian-modern/persian-modern-shadow.sfd
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-bold.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-bolditalic.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-boldoblique.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-italic.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-italicoutline.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-italicshadow.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-oblique.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-obliqueoutline.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-obliqueshadow.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-outline.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-regular.ttf
texmf-dist/fonts/truetype/public/persian-modern/persian-modern-shadow.ttf
)

%__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-bibtexextra,/usr/bin/listbib,/usr/share/texmf-dist/scripts/listbib/listbib
texlive-collection-bibtexextra,/usr/bin/urlbst,/usr/share/texmf-dist/scripts/urlbst/urlbst
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/ctanify,/usr/share/texmf-dist/scripts/ctanify/ctanify
texlive-collection-binextra,/usr/bin/ctanupload,/usr/share/texmf-dist/scripts/ctanupload/ctanupload.pl
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/latexfileversion,/usr/share/texmf-dist/scripts/latexfileversion/latexfileversion
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/match_parens,/usr/share/texmf-dist/scripts/match_parens/match_parens
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/texliveonfly,/usr/share/texmf-dist/scripts/texliveonfly/texliveonfly.py
texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
texlive-collection-binextra,/usr/bin/typeoutfileinfo,/usr/share/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
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/dosepsbin,/usr/share/texmf-dist/scripts/dosepsbin/dosepsbin.pl
texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
texlive-collection-fontutils,/usr/bin/mf2pt1,/usr/share/texmf-dist/scripts/mf2pt1/mf2pt1.pl
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/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-langcjk,/usr/bin/convbkmk,/usr/share/texmf-dist/scripts/uptex/convbkmk.rb
texlive-collection-langcjk,/usr/bin/updmap-setup-kanji,/usr/share/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.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/exceltex,/usr/share/texmf-dist/scripts/exceltex/exceltex
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/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
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/checkcites,/usr/share/texmf-dist/scripts/checkcites/checkcites.lua
texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
texlive-collection-music,/usr/bin/m-tx,/usr/share/texmf-dist/scripts/m-tx/m-tx.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-music,/usr/bin/pmx2pdf,/usr/share/texmf-dist/scripts/pmx/pmx2pdf.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/pedigree,/usr/share/texmf-dist/scripts/pedigree-perl/pedigree.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=$(/bin/echo $i | cut -f 1 -d",")
        lnk=$(/bin/echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
        rlnk=$(/bin/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
%touch_run texhash
%touch_run mtxrun

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

%{_bindir}/updmap-sys --nomkmap --nohash --quiet --enable Map arabi.map >/dev/null 2>&1 && %touch_run updmap
%{_bindir}/updmap-sys --nomkmap --nohash --quiet --enable MixedMap arabtex.map >/dev/null 2>&1 && %touch_run updmap

%touch_run fmtutil

exit 0


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

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

    %{_bindir}/updmap-sys --nomkmap --nohash --quiet --disable arabi.map >/dev/null 2>&1 && %touch_run updmap
    %{_bindir}/updmap-sys --nomkmap --nohash --quiet --disable arabtex.map >/dev/null 2>&1 && %touch_run updmap

fi

exit 0

%posttrans
%{exec_texhash}
%{exec_mtxrun}
%{exec_updmap}
%{exec_fmtutil}
exit 0


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

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

%changelog
* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-langarabic

* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-langarabic
- set external dependencies (texlive-collection-binextra, 
  texlive-collection-fontutils)

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

* Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-langarabic
- 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-langarabic
- improved %%post

* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langarabic
- 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-langarabic
