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

%bcond_with firstbuild

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

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

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

Autoreq: 0

Summary: TeX Live: Omega
Summary(ja): TeX Live: Omega
Name: texlive-collection-omega
Version: 2009
Release: 3%{?_dist_release}
License: LPPL, No Info, GPL+
Group: Applications/Publishing
URL:http://www.tug.org/texlive/

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

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

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

Vendor:		Project Vine
Distribution:	Vine Linux
Packager:	munepi

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

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

This package is a collection of Omega: 
Omega, a 16-bit extended TeX by John Plaice and Yannis
Haralambous

This package contains the following CTAN packages: 
antomega: Alternative language support for Omega/Lambda.
lambda: 
mxd: Support for Mongolian "horizontal" (Xewtee Dorwoljin) script.
mxedruli: A pair of Georgian fonts.
omega: A wide-character-set extension of TeX.
aleph: Extended TeX.
omegaware: 

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

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

このパッケージは以下のようなパッケージ集です。
Omega: 
Omega, a 16-bit extended TeX by John Plaice and Yannis
Haralambous

このパッケージは以下の CTAN パッケージを含んでいます： 
antomega: Alternative language support for Omega/Lambda.
lambda: 
mxd: Support for Mongolian "horizontal" (Xewtee Dorwoljin) script.
mxedruli: A pair of Georgian fonts.
omega: A wide-character-set extension of TeX.
aleph: Extended TeX.
omegaware: 

%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/omega/antomega/README
texmf-dist/doc/omega/antomega/antomega.pdf
texmf-dist/source/lambda/antomega/antenc.dtx
texmf-dist/source/lambda/antomega/antenc.ins
texmf-dist/source/lambda/antomega/antomega.dtx
texmf-dist/source/lambda/antomega/antomega.ins
texmf-dist/omega/ocp/antomega/babel2de.ocp
texmf-dist/omega/ocp/antomega/babel2es.ocp
texmf-dist/omega/ocp/antomega/babel2la.ocp
texmf-dist/omega/ocp/antomega/babel2pl.ocp
texmf-dist/omega/ocp/antomega/babel2punct.ocp
texmf-dist/omega/ocp/antomega/babel2ru.ocp
texmf-dist/omega/ocp/antomega/bblgrk2uni.ocp
texmf-dist/omega/ocp/antomega/dosrus2uni.ocp
texmf-dist/omega/ocp/antomega/greek2punct.ocp
texmf-dist/omega/ocp/antomega/iso2uni.ocp
texmf-dist/omega/ocp/antomega/isobaltic2uni.ocp
texmf-dist/omega/ocp/antomega/isoce2uni.ocp
texmf-dist/omega/ocp/antomega/isocyr2uni.ocp
texmf-dist/omega/ocp/antomega/isogrk2uni.ocp
texmf-dist/omega/ocp/antomega/koirus2uni.ocp
texmf-dist/omega/ocp/antomega/latcyr2uni.ocp
texmf-dist/omega/ocp/antomega/latin/la-lig.ocp
texmf-dist/omega/ocp/antomega/latin/la-longs.ocp
texmf-dist/omega/ocp/antomega/latin/la-noj.ocp
texmf-dist/omega/ocp/antomega/latin/la-nouv.ocp
texmf-dist/omega/ocp/antomega/oldstyle.ocp
texmf-dist/omega/ocp/antomega/rhobre.ocp
texmf-dist/omega/ocp/antomega/rhonobre.ocp
texmf-dist/omega/ocp/antomega/tex2punct.ocp
texmf-dist/omega/ocp/antomega/texgrk2uni.ocp
texmf-dist/omega/ocp/antomega/uni2accents.ocp
texmf-dist/omega/ocp/antomega/uni2lgr.ocp
texmf-dist/omega/ocp/antomega/uni2lig.ocp
texmf-dist/omega/ocp/antomega/uni2omega.ocp
texmf-dist/omega/ocp/antomega/uni2t1.ocp
texmf-dist/omega/ocp/antomega/uni2t2a.ocp
texmf-dist/omega/ocp/antomega/uniutf2uni.ocp
texmf-dist/omega/ocp/antomega/uppercase-dflt.ocp
texmf-dist/omega/ocp/antomega/win2uni.ocp
texmf-dist/omega/ocp/antomega/winbaltic2uni.ocp
texmf-dist/omega/ocp/antomega/wince2uni.ocp
texmf-dist/omega/ocp/antomega/wincyr2uni.ocp
texmf-dist/omega/otp/antomega/babel2de.otp
texmf-dist/omega/otp/antomega/babel2es.otp
texmf-dist/omega/otp/antomega/babel2la.otp
texmf-dist/omega/otp/antomega/babel2pl.otp
texmf-dist/omega/otp/antomega/babel2punct.otp
texmf-dist/omega/otp/antomega/babel2ru.otp
texmf-dist/omega/otp/antomega/bblgrk2uni.otp
texmf-dist/omega/otp/antomega/dosrus2uni.otp
texmf-dist/omega/otp/antomega/greek2punct.otp
texmf-dist/omega/otp/antomega/iso2uni.otp
texmf-dist/omega/otp/antomega/isobaltic2uni.otp
texmf-dist/omega/otp/antomega/isoce2uni.otp
texmf-dist/omega/otp/antomega/isocyr2uni.otp
texmf-dist/omega/otp/antomega/isogrk2uni.otp
texmf-dist/omega/otp/antomega/koirus2uni.otp
texmf-dist/omega/otp/antomega/latcyr2uni.otp
texmf-dist/omega/otp/antomega/latin/la-lig.otp
texmf-dist/omega/otp/antomega/latin/la-longs.otp
texmf-dist/omega/otp/antomega/latin/la-noj.otp
texmf-dist/omega/otp/antomega/latin/la-nouv.otp
texmf-dist/omega/otp/antomega/rhobre.otp
texmf-dist/omega/otp/antomega/rhonobre.otp
texmf-dist/omega/otp/antomega/tex2punct.otp
texmf-dist/omega/otp/antomega/texgrk2uni.otp
texmf-dist/omega/otp/antomega/uni2accents.otp
texmf-dist/omega/otp/antomega/uni2lgr.otp
texmf-dist/omega/otp/antomega/uni2lig.otp
texmf-dist/omega/otp/antomega/uni2omega.otp
texmf-dist/omega/otp/antomega/uni2t1.otp
texmf-dist/omega/otp/antomega/uni2t2a.otp
texmf-dist/omega/otp/antomega/uniutf2uni.otp
texmf-dist/omega/otp/antomega/uppercase-dflt.otp
texmf-dist/omega/otp/antomega/win2uni.otp
texmf-dist/omega/otp/antomega/winbaltic2uni.otp
texmf-dist/omega/otp/antomega/wince2uni.otp
texmf-dist/omega/otp/antomega/wincyr2uni.otp
texmf-dist/tex/lambda/antomega/antomega.cfg
texmf-dist/tex/lambda/antomega/antomega.sty
texmf-dist/tex/lambda/antomega/grhyph16.tex
texmf-dist/tex/lambda/antomega/hyphen.cfg
texmf-dist/tex/lambda/antomega/language.dat.sample
texmf-dist/tex/lambda/antomega/lgc0700.def
texmf-dist/tex/lambda/antomega/lgrenc-antomega.def
texmf-dist/tex/lambda/antomega/ograhyph4.tex
texmf-dist/tex/lambda/antomega/ogrmhyph4.tex
texmf-dist/tex/lambda/antomega/ogrphyph4.tex
texmf-dist/tex/lambda/antomega/omega-english.ldf
texmf-dist/tex/lambda/antomega/omega-french.ldf
texmf-dist/tex/lambda/antomega/omega-german.ldf
texmf-dist/tex/lambda/antomega/omega-greek.ldf
texmf-dist/tex/lambda/antomega/omega-latin.ldf
texmf-dist/tex/lambda/antomega/omega-latvian.ldf
texmf-dist/tex/lambda/antomega/omega-polish.ldf
texmf-dist/tex/lambda/antomega/omega-russian.ldf
texmf-dist/tex/lambda/antomega/omega-spanish.ldf
texmf-dist/tex/lambda/antomega/ruhyph16.tex
texmf-dist/tex/lambda/antomega/t1enc-antomega.def
texmf-dist/tex/lambda/antomega/t2aenc-antomega.def
texmf-dist/tex/lambda/antomega/uni0100.def
texmf-dist/tex/lambda/antomega/uni0370.def
texmf-dist/tex/lambda/antomega/uni0400.def
texmf-dist/tex/lambda/antomega/uni1f00.def
texmf-dist/tex/lambda/antomega/ut1enc-antomega.def
texmf-dist/tex/lambda/base/UT1cmr.fd
texmf-dist/tex/lambda/base/UT1omlgc.fd
texmf-dist/tex/lambda/base/elhyph16.tex
texmf-dist/tex/lambda/base/french.bgd
texmf-dist/tex/lambda/base/french.lay
texmf-dist/tex/lambda/base/grcodes.tex
texmf-dist/tex/lambda/base/greek.bgd
texmf-dist/tex/lambda/base/greek.lay
texmf-dist/tex/lambda/base/grmhyph.tex
texmf-dist/tex/lambda/base/inuit.hpn
texmf-dist/tex/lambda/base/lambda.tex
texmf-dist/tex/lambda/base/lchcmr.fd
texmf-dist/tex/lambda/base/lchenc.def
texmf-dist/tex/lambda/base/litcmr.fd
texmf-dist/tex/lambda/base/litenc.def
texmf-dist/tex/lambda/base/ocherokee.sty
texmf-dist/tex/lambda/base/odev.sty
texmf-dist/tex/lambda/base/ojapan.sty
texmf-dist/tex/lambda/base/omarab.cfg
texmf-dist/tex/lambda/base/omega.sty
texmf-dist/tex/lambda/base/omlgc.cfg
texmf-dist/tex/lambda/base/ot1omarb.fd
texmf-dist/tex/lambda/base/ot1omlgc.fd
texmf-dist/tex/lambda/base/ot1uctt.fd
texmf-dist/tex/lambda/base/usenglish.bgd
texmf-dist/tex/lambda/base/usenglish.lay
texmf-dist/tex/lambda/base/ut1enc.def
texmf-dist/tex/lambda/config/lambda.ini
texmf-dist/tex/lambda/config/language.dat
texmf-dist/doc/latex/mxd/README
texmf-dist/doc/latex/mxd/mxd4tex.dvi
texmf-dist/doc/latex/mxd/mxd4tex.tex
texmf-dist/source/latex/mxd/INSTALL
texmf-dist/fonts/source/public/mxd/mxdatoms.mf
texmf-dist/fonts/source/public/mxd/mxdcodes.mf
texmf-dist/fonts/source/public/mxd/mxdglyph.mf
texmf-dist/fonts/source/public/mxd/mxdligs.mf
texmf-dist/fonts/source/public/mxd/mxdparmb.mf
texmf-dist/fonts/source/public/mxd/mxdparmr.mf
texmf-dist/fonts/source/public/mxd/mxdrb.mf
texmf-dist/fonts/source/public/mxd/mxdrm.mf
texmf-dist/fonts/source/public/mxd/mxdsb.mf
texmf-dist/fonts/source/public/mxd/mxdsm.mf
texmf-dist/fonts/tfm/public/mxd/mxdrb.tfm
texmf-dist/fonts/tfm/public/mxd/mxdrm.tfm
texmf-dist/fonts/tfm/public/mxd/mxdsb.tfm
texmf-dist/fonts/tfm/public/mxd/mxdsm.tfm
texmf-dist/tex/latex/mxd/lmxenc.def
texmf-dist/tex/latex/mxd/lmxmxd.fd
texmf-dist/tex/latex/mxd/mxd.sty
texmf-dist/doc/fonts/mxedruli/README
texmf-dist/doc/fonts/mxedruli/alphabets.tex
texmf-dist/doc/fonts/mxedruli/mxeddoc.pdf
texmf-dist/doc/fonts/mxedruli/mxeddoc.tex
texmf-dist/doc/fonts/mxedruli/ossetic.tex
texmf-dist/doc/fonts/mxedruli/vepxis.tex
texmf-dist/fonts/source/public/mxedruli/mxed.mf
texmf-dist/fonts/source/public/mxedruli/mxed10.mf
texmf-dist/fonts/source/public/mxedruli/mxedacc.mf
texmf-dist/fonts/source/public/mxedruli/mxedbase.mf
texmf-dist/fonts/source/public/mxedruli/mxedbf10.mf
texmf-dist/fonts/source/public/mxedruli/mxedc10.mf
texmf-dist/fonts/source/public/mxedruli/mxedcaps.mf
texmf-dist/fonts/source/public/mxedruli/mxedd.mf
texmf-dist/fonts/source/public/mxedruli/mxedfont.mf
texmf-dist/fonts/source/public/mxedruli/mxedi10.mf
texmf-dist/fonts/source/public/mxedruli/mxedp.mf
texmf-dist/fonts/source/public/mxedruli/xuc.mf
texmf-dist/fonts/source/public/mxedruli/xuc10.mf
texmf-dist/fonts/source/public/mxedruli/xucbase.mf
texmf-dist/fonts/source/public/mxedruli/xucd.mf
texmf-dist/fonts/source/public/mxedruli/xucfont.mf
texmf-dist/fonts/source/public/mxedruli/xucl.mf
texmf-dist/fonts/source/public/mxedruli/xucp.mf
texmf-dist/fonts/tfm/public/mxedruli/mxed10.tfm
texmf-dist/fonts/tfm/public/mxedruli/mxedbf10.tfm
texmf-dist/fonts/tfm/public/mxedruli/mxedc10.tfm
texmf-dist/fonts/tfm/public/mxedruli/mxedi10.tfm
texmf-dist/fonts/tfm/public/mxedruli/xuc10.tfm
texmf-dist/tex/latex/mxedruli/mxedruli.sty
texmf-dist/tex/latex/mxedruli/umxed.fd
texmf-dist/tex/latex/mxedruli/uxuc.fd
texmf-dist/tex/latex/mxedruli/xucuri.sty
texmf-dist/doc/omega/base/doc-1.8.tex
texmf-dist/doc/omega/base/torture.ps
texmf-dist/doc/omega/base/torture.tex
texmf-dist/dvips/omega/config.omega
texmf-dist/dvips/omega/omega.cfg
texmf-dist/fonts/afm/public/omega/omsea1.afm
texmf-dist/fonts/afm/public/omega/omsea1b.afm
texmf-dist/fonts/afm/public/omega/omsea2.afm
texmf-dist/fonts/afm/public/omega/omsea2b.afm
texmf-dist/fonts/afm/public/omega/omsea3.afm
texmf-dist/fonts/afm/public/omega/omsea3b.afm
texmf-dist/fonts/afm/public/omega/omseco.afm
texmf-dist/fonts/afm/public/omega/omsecob.afm
texmf-dist/fonts/afm/public/omega/omsecobi.afm
texmf-dist/fonts/afm/public/omega/omsecoi.afm
texmf-dist/fonts/afm/public/omega/omsecx.afm
texmf-dist/fonts/afm/public/omega/omsecy.afm
texmf-dist/fonts/afm/public/omega/omsegr.afm
texmf-dist/fonts/afm/public/omega/omsegrb.afm
texmf-dist/fonts/afm/public/omega/omsegrbi.afm
texmf-dist/fonts/afm/public/omega/omsegri.afm
texmf-dist/fonts/afm/public/omega/omseha.afm
texmf-dist/fonts/afm/public/omega/omsehe.afm
texmf-dist/fonts/afm/public/omega/omseip.afm
texmf-dist/fonts/afm/public/omega/omsela.afm
texmf-dist/fonts/afm/public/omega/omselab.afm
texmf-dist/fonts/afm/public/omega/omselabi.afm
texmf-dist/fonts/afm/public/omega/omselai.afm
texmf-dist/fonts/afm/public/omega/omseti.afm
texmf-dist/fonts/map/dvips/omega/omega.map
texmf-dist/fonts/ofm/public/omega/omarab.ofm
texmf-dist/fonts/ofm/public/omega/omarabb.ofm
texmf-dist/fonts/ofm/public/omega/omlgc.ofm
texmf-dist/fonts/ofm/public/omega/omlgcb.ofm
texmf-dist/fonts/ofm/public/omega/omlgcbi.ofm
texmf-dist/fonts/ofm/public/omega/omlgci.ofm
texmf-dist/fonts/ofm/public/omega/ucitt10.ofm
texmf-dist/fonts/ofm/public/omega/ucsltt10.ofm
texmf-dist/fonts/ofm/public/omega/uctt10.ofm
texmf-dist/fonts/ofm/public/omega/uctt12.ofm
texmf-dist/fonts/ofm/public/omega/uctt8.ofm
texmf-dist/fonts/ofm/public/omega/uctt9.ofm
texmf-dist/fonts/ofm/public/omega/ucvtt10.ofm
texmf-dist/fonts/ovf/public/omega/omarab.ovf
texmf-dist/fonts/ovf/public/omega/omarabb.ovf
texmf-dist/fonts/ovf/public/omega/omlgc.ovf
texmf-dist/fonts/ovf/public/omega/omlgcb.ovf
texmf-dist/fonts/ovf/public/omega/omlgcbi.ovf
texmf-dist/fonts/ovf/public/omega/omlgci.ovf
texmf-dist/fonts/ovf/public/omega/ucitt10.ovf
texmf-dist/fonts/ovf/public/omega/ucsltt10.ovf
texmf-dist/fonts/ovf/public/omega/uctt10.ovf
texmf-dist/fonts/ovf/public/omega/uctt12.ovf
texmf-dist/fonts/ovf/public/omega/uctt8.ovf
texmf-dist/fonts/ovf/public/omega/uctt9.ovf
texmf-dist/fonts/ovf/public/omega/ucvtt10.ovf
texmf-dist/fonts/ovp/public/omega/omarab.ovp
texmf-dist/fonts/ovp/public/omega/omarabb.ovp
texmf-dist/fonts/ovp/public/omega/omlgc.ovp
texmf-dist/fonts/ovp/public/omega/omlgcb.ovp
texmf-dist/fonts/ovp/public/omega/omlgcbi.ovp
texmf-dist/fonts/ovp/public/omega/omlgci.ovp
texmf-dist/fonts/ovp/public/omega/ucitt10.ovp
texmf-dist/fonts/ovp/public/omega/ucsltt10.ovp
texmf-dist/fonts/ovp/public/omega/uctt10.ovp
texmf-dist/fonts/ovp/public/omega/uctt12.ovp
texmf-dist/fonts/ovp/public/omega/uctt8.ovp
texmf-dist/fonts/ovp/public/omega/uctt9.ovp
texmf-dist/fonts/ovp/public/omega/ucvtt10.ovp
texmf-dist/fonts/tfm/public/omega/omding.tfm
texmf-dist/fonts/tfm/public/omega/omsea1.tfm
texmf-dist/fonts/tfm/public/omega/omsea1b.tfm
texmf-dist/fonts/tfm/public/omega/omsea2.tfm
texmf-dist/fonts/tfm/public/omega/omsea2b.tfm
texmf-dist/fonts/tfm/public/omega/omsea3.tfm
texmf-dist/fonts/tfm/public/omega/omsea3b.tfm
texmf-dist/fonts/tfm/public/omega/omseco.tfm
texmf-dist/fonts/tfm/public/omega/omsecob.tfm
texmf-dist/fonts/tfm/public/omega/omsecobi.tfm
texmf-dist/fonts/tfm/public/omega/omsecoi.tfm
texmf-dist/fonts/tfm/public/omega/omsecx.tfm
texmf-dist/fonts/tfm/public/omega/omsecy.tfm
texmf-dist/fonts/tfm/public/omega/omsegr.tfm
texmf-dist/fonts/tfm/public/omega/omsegrb.tfm
texmf-dist/fonts/tfm/public/omega/omsegrbi.tfm
texmf-dist/fonts/tfm/public/omega/omsegri.tfm
texmf-dist/fonts/tfm/public/omega/omseha.tfm
texmf-dist/fonts/tfm/public/omega/omseip.tfm
texmf-dist/fonts/tfm/public/omega/omsela.tfm
texmf-dist/fonts/tfm/public/omega/omselab.tfm
texmf-dist/fonts/tfm/public/omega/omselabi.tfm
texmf-dist/fonts/tfm/public/omega/omselai.tfm
texmf-dist/fonts/tfm/public/omega/omseti.tfm
texmf-dist/fonts/tfm/public/omega/omssti.tfm
texmf-dist/fonts/type1/public/omega/omding.pfb
texmf-dist/fonts/type1/public/omega/omsea1.pfb
texmf-dist/fonts/type1/public/omega/omsea1b.pfb
texmf-dist/fonts/type1/public/omega/omsea2.pfb
texmf-dist/fonts/type1/public/omega/omsea2b.pfb
texmf-dist/fonts/type1/public/omega/omsea3.pfb
texmf-dist/fonts/type1/public/omega/omsea3b.pfb
texmf-dist/fonts/type1/public/omega/omseco.pfb
texmf-dist/fonts/type1/public/omega/omsecob.pfb
texmf-dist/fonts/type1/public/omega/omsecobi.pfb
texmf-dist/fonts/type1/public/omega/omsecoi.pfb
texmf-dist/fonts/type1/public/omega/omsecx.pfb
texmf-dist/fonts/type1/public/omega/omsecy.pfb
texmf-dist/fonts/type1/public/omega/omsecyb.pfb
texmf-dist/fonts/type1/public/omega/omsecyi.pfb
texmf-dist/fonts/type1/public/omega/omsegr.pfb
texmf-dist/fonts/type1/public/omega/omsegrb.pfb
texmf-dist/fonts/type1/public/omega/omsegrbi.pfb
texmf-dist/fonts/type1/public/omega/omsegri.pfb
texmf-dist/fonts/type1/public/omega/omseha.pfb
texmf-dist/fonts/type1/public/omega/omsehe.pfb
texmf-dist/fonts/type1/public/omega/omseip.pfb
texmf-dist/fonts/type1/public/omega/omsela.pfb
texmf-dist/fonts/type1/public/omega/omselab.pfb
texmf-dist/fonts/type1/public/omega/omselabi.pfb
texmf-dist/fonts/type1/public/omega/omselai.pfb
texmf-dist/fonts/type1/public/omega/omseti.pfb
texmf-dist/fonts/type1/public/omega/omssti.pfb
texmf-dist/omega/ocp/char2uni/in646.ocp
texmf-dist/omega/ocp/char2uni/in88591.ocp
texmf-dist/omega/ocp/char2uni/in88592.ocp
texmf-dist/omega/ocp/char2uni/in88593.ocp
texmf-dist/omega/ocp/char2uni/in88594.ocp
texmf-dist/omega/ocp/char2uni/in88595.ocp
texmf-dist/omega/ocp/char2uni/in88596.ocp
texmf-dist/omega/ocp/char2uni/in88597.ocp
texmf-dist/omega/ocp/char2uni/in88598.ocp
texmf-dist/omega/ocp/char2uni/in88599.ocp
texmf-dist/omega/ocp/char2uni/in8859a.ocp
texmf-dist/omega/ocp/char2uni/in8859d.ocp
texmf-dist/omega/ocp/char2uni/in8859e.ocp
texmf-dist/omega/ocp/char2uni/in8859f.ocp
texmf-dist/omega/ocp/char2uni/in8859g.ocp
texmf-dist/omega/ocp/char2uni/inatari.ocp
texmf-dist/omega/ocp/char2uni/inav.ocp
texmf-dist/omega/ocp/char2uni/inbig5.ocp
texmf-dist/omega/ocp/char2uni/incp1250.ocp
texmf-dist/omega/ocp/char2uni/incp1251.ocp
texmf-dist/omega/ocp/char2uni/incp1252.ocp
texmf-dist/omega/ocp/char2uni/incp1253.ocp
texmf-dist/omega/ocp/char2uni/incp1254.ocp
texmf-dist/omega/ocp/char2uni/incp1255.ocp
texmf-dist/omega/ocp/char2uni/incp1256.ocp
texmf-dist/omega/ocp/char2uni/incp1257.ocp
texmf-dist/omega/ocp/char2uni/incp1258.ocp
texmf-dist/omega/ocp/char2uni/incp866.ocp
texmf-dist/omega/ocp/char2uni/incp874.ocp
texmf-dist/omega/ocp/char2uni/inebcdic.ocp
texmf-dist/omega/ocp/char2uni/ingb.ocp
texmf-dist/omega/ocp/char2uni/inkoi8.ocp
texmf-dist/omega/ocp/char2uni/inmac.ocp
texmf-dist/omega/ocp/char2uni/inmsdos.ocp
texmf-dist/omega/ocp/char2uni/inmsdos2.ocp
texmf-dist/omega/ocp/char2uni/innext.ocp
texmf-dist/omega/ocp/char2uni/inov.ocp
texmf-dist/omega/ocp/char2uni/inps2.ocp
texmf-dist/omega/ocp/char2uni/insf1.ocp
texmf-dist/omega/ocp/char2uni/insf2.ocp
texmf-dist/omega/ocp/char2uni/intis620.ocp
texmf-dist/omega/ocp/char2uni/inucode.ocp
texmf-dist/omega/ocp/char2uni/inutf8.ocp
texmf-dist/omega/ocp/char2uni/inviet1.ocp
texmf-dist/omega/ocp/char2uni/inviet2.ocp
texmf-dist/omega/ocp/char2uni/inviscii.ocp
texmf-dist/omega/ocp/omega/7arb2uni.ocp
texmf-dist/omega/ocp/omega/7ber2uni.ocp
texmf-dist/omega/ocp/omega/7cyr2uni.ocp
texmf-dist/omega/ocp/omega/7hma2uni.ocp
texmf-dist/omega/ocp/omega/7in88593.ocp
texmf-dist/omega/ocp/omega/7lbe2uni.ocp
texmf-dist/omega/ocp/omega/7pap2uni.ocp
texmf-dist/omega/ocp/omega/7pas2uni.ocp
texmf-dist/omega/ocp/omega/7snd2uni.ocp
texmf-dist/omega/ocp/omega/7syr2uni.ocp
texmf-dist/omega/ocp/omega/7tbe2uni.ocp
texmf-dist/omega/ocp/omega/7urd2uni.ocp
texmf-dist/omega/ocp/omega/8mac-arb2uni.ocp
texmf-dist/omega/ocp/omega/8mac-cyr2uni.ocp
texmf-dist/omega/ocp/omega/apostr2psili.ocp
texmf-dist/omega/ocp/omega/cuni2acad.ocp
texmf-dist/omega/ocp/omega/cuni2amal.ocp
texmf-dist/omega/ocp/omega/cuni2arab.ex.ocp
texmf-dist/omega/ocp/omega/cuni2arab.ocp
texmf-dist/omega/ocp/omega/cuni2asv.ocp
texmf-dist/omega/ocp/omega/cuni2bout.ocp
texmf-dist/omega/ocp/omega/cuni2mona.ocp
texmf-dist/omega/ocp/omega/cuni2nar.ocp
texmf-dist/omega/ocp/omega/cuni2nva.ocp
texmf-dist/omega/ocp/omega/cuni2oar-novow.ocp
texmf-dist/omega/ocp/omega/cuni2oar.ocp
texmf-dist/omega/ocp/omega/cunioara.ocp
texmf-dist/omega/ocp/omega/dblquote-point.ocp
texmf-dist/omega/ocp/omega/destroy.ocp
texmf-dist/omega/ocp/omega/french2uni.ocp
texmf-dist/omega/ocp/omega/greek.ocp
texmf-dist/omega/ocp/omega/grpo2uni.ocp
texmf-dist/omega/ocp/omega/grpotilde2uni.ocp
texmf-dist/omega/ocp/omega/inverted-iota-upsilon.ocp
texmf-dist/omega/ocp/omega/isogr2uni-verbatim.ocp
texmf-dist/omega/ocp/omega/isogr2uni.ocp
texmf-dist/omega/ocp/omega/lat2uni.ocp
texmf-dist/omega/ocp/omega/lowercase.ocp
texmf-dist/omega/ocp/omega/lunatesigma.ocp
texmf-dist/omega/ocp/omega/macgr2uni.ocp
texmf-dist/omega/ocp/omega/medbeta.ocp
texmf-dist/omega/ocp/omega/mixedgreek2uni.ocp
texmf-dist/omega/ocp/omega/tarauni.ocp
texmf-dist/omega/ocp/omega/test1.ocp
texmf-dist/omega/ocp/omega/test3.ocp
texmf-dist/omega/ocp/omega/tiqwah.ocp
texmf-dist/omega/ocp/omega/tiqwah2.ocp
texmf-dist/omega/ocp/omega/tsinduni.ocp
texmf-dist/omega/ocp/omega/turduuni.ocp
texmf-dist/omega/ocp/omega/uni2cuni.ocp
texmf-dist/omega/ocp/omega/uni2greek-verbatim.ocp
texmf-dist/omega/ocp/omega/uni2greek.ocp
texmf-dist/omega/ocp/omega/uni2lat-noffi.ocp
texmf-dist/omega/ocp/omega/uni2lat.ocp
texmf-dist/omega/ocp/omega/unicuni.ocp
texmf-dist/omega/ocp/omega/uppercase-no-accents.ocp
texmf-dist/omega/ocp/omega/uppercase.ocp
texmf-dist/omega/ocp/uni2char/out88591.ocp
texmf-dist/omega/ocp/uni2char/oututf8.ocp
texmf-dist/omega/otp/char2uni/in646.otp
texmf-dist/omega/otp/char2uni/in88591.otp
texmf-dist/omega/otp/char2uni/in88592.otp
texmf-dist/omega/otp/char2uni/in88593.otp
texmf-dist/omega/otp/char2uni/in88594.otp
texmf-dist/omega/otp/char2uni/in88595.otp
texmf-dist/omega/otp/char2uni/in88596.otp
texmf-dist/omega/otp/char2uni/in88597.otp
texmf-dist/omega/otp/char2uni/in88598.otp
texmf-dist/omega/otp/char2uni/in88599.otp
texmf-dist/omega/otp/char2uni/in8859a.otp
texmf-dist/omega/otp/char2uni/in8859d.otp
texmf-dist/omega/otp/char2uni/in8859e.otp
texmf-dist/omega/otp/char2uni/in8859f.otp
texmf-dist/omega/otp/char2uni/in8859g.otp
texmf-dist/omega/otp/char2uni/inatari.otp
texmf-dist/omega/otp/char2uni/inav.otp
texmf-dist/omega/otp/char2uni/inbig5.otp
texmf-dist/omega/otp/char2uni/incp1250.otp
texmf-dist/omega/otp/char2uni/incp1251.otp
texmf-dist/omega/otp/char2uni/incp1252.otp
texmf-dist/omega/otp/char2uni/incp1253.otp
texmf-dist/omega/otp/char2uni/incp1254.otp
texmf-dist/omega/otp/char2uni/incp1255.otp
texmf-dist/omega/otp/char2uni/incp1256.otp
texmf-dist/omega/otp/char2uni/incp1257.otp
texmf-dist/omega/otp/char2uni/incp1258.otp
texmf-dist/omega/otp/char2uni/incp866.otp
texmf-dist/omega/otp/char2uni/incp874.otp
texmf-dist/omega/otp/char2uni/inebcdic.otp
texmf-dist/omega/otp/char2uni/ingb.otp
texmf-dist/omega/otp/char2uni/inkoi8.otp
texmf-dist/omega/otp/char2uni/inmac.otp
texmf-dist/omega/otp/char2uni/inmsdos.otp
texmf-dist/omega/otp/char2uni/inmsdos2.otp
texmf-dist/omega/otp/char2uni/innext.otp
texmf-dist/omega/otp/char2uni/inov.otp
texmf-dist/omega/otp/char2uni/inps2.otp
texmf-dist/omega/otp/char2uni/insf1.otp
texmf-dist/omega/otp/char2uni/insf2.otp
texmf-dist/omega/otp/char2uni/intis620.otp
texmf-dist/omega/otp/char2uni/inucode.otp
texmf-dist/omega/otp/char2uni/inutf8.otp
texmf-dist/omega/otp/char2uni/inviet1.otp
texmf-dist/omega/otp/char2uni/inviet2.otp
texmf-dist/omega/otp/char2uni/inviscii.otp
texmf-dist/omega/otp/omega/7arb2uni.otp
texmf-dist/omega/otp/omega/7ber2uni.otp
texmf-dist/omega/otp/omega/7cyr2uni.otp
texmf-dist/omega/otp/omega/7hma2uni.otp
texmf-dist/omega/otp/omega/7in88593.otp
texmf-dist/omega/otp/omega/7lbe2uni.otp
texmf-dist/omega/otp/omega/7pap2uni.otp
texmf-dist/omega/otp/omega/7pas2uni.otp
texmf-dist/omega/otp/omega/7snd2uni.otp
texmf-dist/omega/otp/omega/7syr2uni.otp
texmf-dist/omega/otp/omega/7tbe2uni.otp
texmf-dist/omega/otp/omega/7urd2uni.otp
texmf-dist/omega/otp/omega/8mac-arb2uni.otp
texmf-dist/omega/otp/omega/8mac-cyr2uni.otp
texmf-dist/omega/otp/omega/apostr2psili.otp
texmf-dist/omega/otp/omega/cuni2acad.otp
texmf-dist/omega/otp/omega/cuni2amal.otp
texmf-dist/omega/otp/omega/cuni2arab.ex.otp
texmf-dist/omega/otp/omega/cuni2asv.otp
texmf-dist/omega/otp/omega/cuni2bout.otp
texmf-dist/omega/otp/omega/cuni2mona.otp
texmf-dist/omega/otp/omega/cuni2nar.otp
texmf-dist/omega/otp/omega/cuni2nva.otp
texmf-dist/omega/otp/omega/cuni2oar-novow.otp
texmf-dist/omega/otp/omega/cuni2oar.otp
texmf-dist/omega/otp/omega/dblquote-point.otp
texmf-dist/omega/otp/omega/destroy.otp
texmf-dist/omega/otp/omega/french2uni.otp
texmf-dist/omega/otp/omega/grpo2uni.otp
texmf-dist/omega/otp/omega/grpotilde2uni.otp
texmf-dist/omega/otp/omega/inverted-iota-upsilon.otp
texmf-dist/omega/otp/omega/isogr2uni-verbatim.otp
texmf-dist/omega/otp/omega/isogr2uni.otp
texmf-dist/omega/otp/omega/lat2uni.otp
texmf-dist/omega/otp/omega/lowercase.otp
texmf-dist/omega/otp/omega/lunatesigma.otp
texmf-dist/omega/otp/omega/macgr2uni.otp
texmf-dist/omega/otp/omega/medbeta.otp
texmf-dist/omega/otp/omega/mixedgreek2uni.otp
texmf-dist/omega/otp/omega/uni2cuni.otp
texmf-dist/omega/otp/omega/uni2greek-verbatim.otp
texmf-dist/omega/otp/omega/uni2greek.otp
texmf-dist/omega/otp/omega/uni2lat-noffi.otp
texmf-dist/omega/otp/omega/uni2lat.otp
texmf-dist/omega/otp/omega/uppercase-no-accents.otp
texmf-dist/omega/otp/omega/uppercase.otp
texmf-dist/omega/otp/uni2char/out88591.otp
texmf-dist/omega/otp/uni2char/oututf8.otp
texmf-dist/tex/generic/encodings/cmbsy.onm
texmf-dist/tex/generic/encodings/cmbx.onm
texmf-dist/tex/generic/encodings/cmcsc.onm
texmf-dist/tex/generic/encodings/cmex.onm
texmf-dist/tex/generic/encodings/cmmi.onm
texmf-dist/tex/generic/encodings/cmmib.onm
texmf-dist/tex/generic/encodings/cmr.onm
texmf-dist/tex/generic/encodings/cmr1.onm
texmf-dist/tex/generic/encodings/cmsl.onm
texmf-dist/tex/generic/encodings/cmsy.onm
texmf-dist/tex/generic/encodings/cmti.onm
texmf-dist/tex/generic/encodings/cmtt.onm
texmf-dist/tex/generic/encodings/ecrm.onm
texmf-dist/tex/generic/encodings/euex.onm
texmf-dist/tex/generic/encodings/eufb.onm
texmf-dist/tex/generic/encodings/eufm.onm
texmf-dist/tex/generic/encodings/eurb.onm
texmf-dist/tex/generic/encodings/eurm.onm
texmf-dist/tex/generic/encodings/eusb.onm
texmf-dist/tex/generic/encodings/eusm.onm
texmf-dist/tex/generic/encodings/msam.onm
texmf-dist/tex/generic/encodings/msbm.onm
texmf-dist/tex/generic/omegahyph/bghyph.tex
texmf-dist/tex/generic/omegahyph/lthyph.tex
texmf-dist/tex/generic/omegahyph/srhyph.tex
texmf-dist/tex/plain/omega/grlccode.tex
texmf-dist/tex/plain/omega/omega.tex
texmf-dist/doc/aleph/base/News
texmf-dist/doc/aleph/base/readme.txt
)

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

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

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

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

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

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

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

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

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

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

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

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

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

%clean
%__rm -rf %{buildroot}

%post
%{exec_texhash}

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

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

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

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

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

echo -n "    "
echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done."

exit 0


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

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

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

fi

exit 0

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

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

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

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