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

%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: Music typesetting
Summary(ja): TeX Live: Music typesetting
Name: texlive-collection-music
Version: 2009
Release: 3%{?_dist_release}
License: LPPL, GPL+, No Info
Group: Applications/Publishing
URL:http://www.tug.org/texlive/

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

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

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

Vendor:		Project Vine
Distribution:	Vine Linux
Packager:	munepi

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

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

This package is a collection of Music typesetting: 
Music-related fonts and packages.

This package contains the following CTAN packages: 
abc: Support ABC music notation in LaTeX.
figbas: Mini-fonts for figured-bass notation in music.
gchords: Typeset guitar chords.
guitar: Guitar chords and song texts.
harmony: Typeset harmony symbols, etc., for musicology.
musictex: Typesetting music with TeX.
musixlyr: MusiXTeX Extension Package for Lyrics Handling.
musixps: 
musixtex: Sophisticated music typesetting
songbook: Package for typesetting song lyrics and chord books.
musixflx: A helper application for MusixTeX

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

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

このパッケージは以下のようなパッケージ集です。
Music typesetting: 
Music-related fonts and packages.

このパッケージは以下の CTAN パッケージを含んでいます： 
abc: Support ABC music notation in LaTeX.
figbas: Mini-fonts for figured-bass notation in music.
gchords: Typeset guitar chords.
guitar: Guitar chords and song texts.
harmony: Typeset harmony symbols, etc., for musicology.
musictex: Typesetting music with TeX.
musixlyr: MusiXTeX Extension Package for Lyrics Handling.
musixps: 
musixtex: Sophisticated music typesetting
songbook: Package for typesetting song lyrics and chord books.
musixflx: A helper application for MusixTeX

%package doc
Summary: TeX Live: Documentation files of %{name}
Group: Applications/Publishing
Requires: %{name} = %{version}-%{release}

%description doc
This package contains documentation files of %{name}.

%prep

%build

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

PREF=%{buildroot}%{tex_destdir}

manifest=(
texmf-dist/doc/latex/abc/README
texmf-dist/doc/latex/abc/abc.pdf
texmf-dist/doc/latex/abc/example.tex
texmf-dist/doc/latex/abc/mupexa.tex
texmf-dist/doc/latex/abc/poll.abc
texmf-dist/doc/latex/abc/simple.mup
texmf-dist/source/latex/abc/abc.dtx
texmf-dist/source/latex/abc/abc.ins
texmf-dist/tex/latex/abc/abc.sty
texmf-dist/tex/latex/abc/mup.sty
texmf-dist/fonts/afm/public/figbas/cmrj.afm
texmf-dist/fonts/afm/public/figbas/cmssj.afm
texmf-dist/fonts/afm/public/figbas/plrj.afm
texmf-dist/fonts/map/dvips/figbas/figbas.map
texmf-dist/fonts/tfm/public/figbas/cmrj.tfm
texmf-dist/fonts/tfm/public/figbas/cmssj.tfm
texmf-dist/fonts/tfm/public/figbas/plrj.tfm
texmf-dist/fonts/type1/public/figbas/cmrj.pfb
texmf-dist/fonts/type1/public/figbas/cmssj.pfb
texmf-dist/fonts/type1/public/figbas/plrj.pfb
texmf-dist/doc/latex/gchords/README
texmf-dist/doc/latex/gchords/chordbox.tcl
texmf-dist/doc/latex/gchords/gchords_doc.pdf
texmf-dist/doc/latex/gchords/gchords_doc.tex
texmf-dist/doc/latex/gchords/get2knowu.tex
texmf-dist/tex/latex/gchords/gchords.sty
texmf-dist/doc/latex/guitar/guitar.tex
texmf-dist/doc/latex/guitar/guitar.txt
texmf-dist/source/latex/guitar/guitar.dtx
texmf-dist/source/latex/guitar/guitar.ins
texmf-dist/tex/latex/guitar/guitar.sty
texmf-dist/doc/latex/harmony/README
texmf-dist/doc/latex/harmony/harmony.pdf
texmf-dist/doc/latex/harmony/harmony.tex
texmf-dist/tex/latex/harmony/harmony.sty
texmf-dist/doc/generic/musictex/aa_readm.tex
texmf-dist/doc/generic/musictex/adagio.tex
texmf-dist/doc/generic/musictex/aria.tex
texmf-dist/doc/generic/musictex/avemario.tex
texmf-dist/doc/generic/musictex/carillon.tex
texmf-dist/doc/generic/musictex/choral.tex
texmf-dist/doc/generic/musictex/euromtex.dvi
texmf-dist/doc/generic/musictex/euromtex.tex
texmf-dist/doc/generic/musictex/extras.tex
texmf-dist/doc/generic/musictex/fantaisc.tex
texmf-dist/doc/generic/musictex/fantaisd.tex
texmf-dist/doc/generic/musictex/fantaisi.tex
texmf-dist/doc/generic/musictex/fugue.tex
texmf-dist/doc/generic/musictex/gymnoman.tex
texmf-dist/doc/generic/musictex/howtoget.tex
texmf-dist/doc/generic/musictex/lines.tex
texmf-dist/doc/generic/musictex/magnific.tex
texmf-dist/doc/generic/musictex/marcellx.tex
texmf-dist/doc/generic/musictex/musicdoc.bat
texmf-dist/doc/generic/musictex/musicdoc.dvi
texmf-dist/doc/generic/musictex/musicdoc.idx
texmf-dist/doc/generic/musictex/musicdoc.ilg
texmf-dist/doc/generic/musictex/musicdoc.ind
texmf-dist/doc/generic/musictex/musicdoc.inx
texmf-dist/doc/generic/musictex/musicdoc.ist
texmf-dist/doc/generic/musictex/musicref.dvi
texmf-dist/doc/generic/musictex/musictex.ins
texmf-dist/doc/generic/musictex/ostinato.tex
texmf-dist/doc/generic/musictex/pacifiqb.tex
texmf-dist/doc/generic/musictex/pacifiqn.tex
texmf-dist/doc/generic/musictex/praetori.tex
texmf-dist/doc/generic/musictex/praetorx.tex
texmf-dist/doc/generic/musictex/prelude.tex
texmf-dist/doc/generic/musictex/purcellx.tex
texmf-dist/doc/generic/musictex/racine.tex
texmf-dist/doc/generic/musictex/recit.tex
texmf-dist/doc/generic/musictex/recueil.tex
texmf-dist/doc/generic/musictex/reves.tex
texmf-dist/doc/generic/musictex/romances.tex
texmf-dist/doc/generic/musictex/screatim.tex
texmf-dist/doc/generic/musictex/souvenir.tex
texmf-dist/doc/generic/musictex/souvenix.tex
texmf-dist/doc/generic/musictex/tierce.tex
texmf-dist/fonts/source/public/musictex/beamd20.mf
texmf-dist/fonts/source/public/musictex/beamn11.mf
texmf-dist/fonts/source/public/musictex/beamn13.mf
texmf-dist/fonts/source/public/musictex/beamn16.mf
texmf-dist/fonts/source/public/musictex/beamn20.mf
texmf-dist/fonts/source/public/musictex/beamngen.mf
texmf-dist/fonts/source/public/musictex/beamq20.mf
texmf-dist/fonts/source/public/musictex/beamt20.mf
texmf-dist/fonts/source/public/musictex/beamv20.mf
texmf-dist/fonts/source/public/musictex/musicbra.mf
texmf-dist/fonts/source/public/musictex/musicbrb.mf
texmf-dist/fonts/source/public/musictex/musicbrg.mf
texmf-dist/fonts/source/public/musictex/musicbrh.mf
texmf-dist/fonts/source/public/musictex/musicd11.mf
texmf-dist/fonts/source/public/musictex/musicd13.mf
texmf-dist/fonts/source/public/musictex/musicd16.mf
texmf-dist/fonts/source/public/musictex/musicd20.mf
texmf-dist/fonts/source/public/musictex/musicdef.mf
texmf-dist/fonts/source/public/musictex/musicg16.mf
texmf-dist/fonts/source/public/musictex/musicgen.mf
texmf-dist/fonts/source/public/musictex/musicn11.mf
texmf-dist/fonts/source/public/musictex/musicn13.mf
texmf-dist/fonts/source/public/musictex/musicn16.mf
texmf-dist/fonts/source/public/musictex/musicn20.mf
texmf-dist/fonts/source/public/musictex/musikd11.mf
texmf-dist/fonts/source/public/musictex/musikd13.mf
texmf-dist/fonts/source/public/musictex/musikd16.mf
texmf-dist/fonts/source/public/musictex/musikd20.mf
texmf-dist/fonts/source/public/musictex/musikgen.mf
texmf-dist/fonts/source/public/musictex/musikn11.mf
texmf-dist/fonts/source/public/musictex/musikn13.mf
texmf-dist/fonts/source/public/musictex/musikn16.mf
texmf-dist/fonts/source/public/musictex/musikn20.mf
texmf-dist/fonts/source/public/musictex/slur16.mf
texmf-dist/fonts/source/public/musictex/slurdd16.mf
texmf-dist/fonts/source/public/musictex/slurdu16.mf
texmf-dist/fonts/source/public/musictex/slurgen.mf
texmf-dist/fonts/source/public/musictex/slurn16.mf
texmf-dist/fonts/source/public/musictex/slurn20.mf
texmf-dist/fonts/source/public/musictex/slurud16.mf
texmf-dist/fonts/source/public/musictex/sluruu16.mf
texmf-dist/fonts/tfm/public/musictex/beamn11.tfm
texmf-dist/fonts/tfm/public/musictex/beamn13.tfm
texmf-dist/fonts/tfm/public/musictex/beamn16.tfm
texmf-dist/fonts/tfm/public/musictex/beamn20.tfm
texmf-dist/fonts/tfm/public/musictex/musicbra.tfm
texmf-dist/fonts/tfm/public/musictex/musicbrb.tfm
texmf-dist/fonts/tfm/public/musictex/musicn11.tfm
texmf-dist/fonts/tfm/public/musictex/musicn13.tfm
texmf-dist/fonts/tfm/public/musictex/musicn16.tfm
texmf-dist/fonts/tfm/public/musictex/musicn20.tfm
texmf-dist/fonts/tfm/public/musictex/musikn11.tfm
texmf-dist/fonts/tfm/public/musictex/musikn13.tfm
texmf-dist/fonts/tfm/public/musictex/musikn16.tfm
texmf-dist/fonts/tfm/public/musictex/musikn20.tfm
texmf-dist/fonts/tfm/public/musictex/slurdd16.tfm
texmf-dist/fonts/tfm/public/musictex/slurdu16.tfm
texmf-dist/fonts/tfm/public/musictex/slurn16.tfm
texmf-dist/fonts/tfm/public/musictex/slurn20.tfm
texmf-dist/fonts/tfm/public/musictex/slurud16.tfm
texmf-dist/fonts/tfm/public/musictex/sluruu16.tfm
texmf-dist/tex/generic/musictex/musicadd.tex
texmf-dist/tex/generic/musictex/musicdoc.tex
texmf-dist/tex/generic/musictex/musicext.tex
texmf-dist/tex/generic/musictex/musicnew.tex
texmf-dist/tex/generic/musictex/musicnft.tex
texmf-dist/tex/generic/musictex/musicper.tex
texmf-dist/tex/generic/musictex/musicpln.tex
texmf-dist/tex/generic/musictex/musicpos.tex
texmf-dist/tex/generic/musictex/musicpre.tex
texmf-dist/tex/generic/musictex/musicref.tex
texmf-dist/tex/generic/musictex/musicsix.tex
texmf-dist/tex/generic/musictex/musicsty.tex
texmf-dist/tex/generic/musictex/musictex.tex
texmf-dist/tex/generic/musictex/musictrp.tex
texmf-dist/tex/generic/musictex/musicvbm.tex
texmf-dist/tex/latex/musictex/a4report.sty
texmf-dist/tex/latex/musictex/bigmusic.sty
texmf-dist/tex/latex/musictex/musicper.sty
texmf-dist/tex/latex/musictex/musictex.sty
texmf-dist/tex/latex/musictex/musictrp.sty
texmf-dist/tex/latex/musictex/musicvbm.sty
texmf-dist/doc/latex/musixlyr/COPYING
texmf-dist/doc/latex/musixlyr/README
texmf-dist/doc/latex/musixlyr/mxlyrdoc.dvi
texmf-dist/doc/latex/musixlyr/mxlyrdoc.mx1
texmf-dist/doc/latex/musixlyr/mxlyrdoc.tex
texmf-dist/tex/generic/musixlyr/musixlyr.tex
texmf-dist/doc/generic/musixps/readme.txt
texmf-dist/dvips/musixps/psslurs.pro
texmf-dist/fonts/source/public/musixps/mxsk.mf
texmf-dist/fonts/tfm/public/musixps/mxsk.tfm
texmf-dist/tex/generic/musixps/musixps.tex
texmf-dist/tex/generic/musixps/slurs.tex
texmf-dist/doc/generic/musixtex/CHANGES
texmf-dist/doc/generic/musixtex/README
texmf-dist/doc/generic/musixtex/README.psfonts
texmf-dist/doc/generic/musixtex/backgrnd.sty
texmf-dist/doc/generic/musixtex/examples/adagio.tex
texmf-dist/doc/generic/musixtex/examples/albinoni.tex
texmf-dist/doc/generic/musixtex/examples/angescam.tex
texmf-dist/doc/generic/musixtex/examples/angescao.tex
texmf-dist/doc/generic/musixtex/examples/angescax.tex
texmf-dist/doc/generic/musixtex/examples/avemaria.tex
texmf-dist/doc/generic/musixtex/examples/avemarid.tex
texmf-dist/doc/generic/musixtex/examples/avemaril.tex
texmf-dist/doc/generic/musixtex/examples/avemario.tex
texmf-dist/doc/generic/musixtex/examples/avemarix.tex
texmf-dist/doc/generic/musixtex/examples/avemaroo.tex
texmf-dist/doc/generic/musixtex/examples/aveverch.tex
texmf-dist/doc/generic/musixtex/examples/aveverdd.tex
texmf-dist/doc/generic/musixtex/examples/aveveruc.tex
texmf-dist/doc/generic/musixtex/examples/aveverud.tex
texmf-dist/doc/generic/musixtex/examples/aveverum.tex
texmf-dist/doc/generic/musixtex/examples/canticor.tex
texmf-dist/doc/generic/musixtex/examples/canticox.tex
texmf-dist/doc/generic/musixtex/examples/chanson.tex
texmf-dist/doc/generic/musixtex/examples/dissonan.tex
texmf-dist/doc/generic/musixtex/examples/fantaisc.tex
texmf-dist/doc/generic/musixtex/examples/fantaisd.tex
texmf-dist/doc/generic/musixtex/examples/fantaisi.tex
texmf-dist/doc/generic/musixtex/examples/fantcmol.tex
texmf-dist/doc/generic/musixtex/examples/fantfuga.tex
texmf-dist/doc/generic/musixtex/examples/fugcmoll.tex
texmf-dist/doc/generic/musixtex/examples/fugue.tex
texmf-dist/doc/generic/musixtex/examples/gloriab.tex
texmf-dist/doc/generic/musixtex/examples/glorias.tex
texmf-dist/doc/generic/musixtex/examples/gloriax.tex
texmf-dist/doc/generic/musixtex/examples/gymnoman.tex
texmf-dist/doc/generic/musixtex/examples/ilestne.tex
texmf-dist/doc/generic/musixtex/examples/ilestnex.tex
texmf-dist/doc/generic/musixtex/examples/ilfaitda.tex
texmf-dist/doc/generic/musixtex/examples/ilfaitdx.tex
texmf-dist/doc/generic/musixtex/examples/kv315.tex
texmf-dist/doc/generic/musixtex/examples/kv315f.tex
texmf-dist/doc/generic/musixtex/examples/kv315h.tex
texmf-dist/doc/generic/musixtex/examples/kv315o.tex
texmf-dist/doc/generic/musixtex/examples/marcello.tex
texmf-dist/doc/generic/musixtex/examples/marcon1.tex
texmf-dist/doc/generic/musixtex/examples/marcon2.tex
texmf-dist/doc/generic/musixtex/examples/marcon3.tex
texmf-dist/doc/generic/musixtex/examples/marconf.tex
texmf-dist/doc/generic/musixtex/examples/marconh.tex
texmf-dist/doc/generic/musixtex/examples/marcono.tex
texmf-dist/doc/generic/musixtex/examples/onuitbri.tex
texmf-dist/doc/generic/musixtex/examples/onuitbrr.tex
texmf-dist/doc/generic/musixtex/examples/onuitbrx.tex
texmf-dist/doc/generic/musixtex/examples/ostinato.tex
texmf-dist/doc/generic/musixtex/examples/pacifiqc.tex
texmf-dist/doc/generic/musixtex/examples/pacifiqn.tex
texmf-dist/doc/generic/musixtex/examples/parnasum.tex
texmf-dist/doc/generic/musixtex/examples/prelfug.tex
texmf-dist/doc/generic/musixtex/examples/prelude.tex
texmf-dist/doc/generic/musixtex/examples/recit.tex
texmf-dist/doc/generic/musixtex/examples/recueil.tex
texmf-dist/doc/generic/musixtex/examples/romances.tex
texmf-dist/doc/generic/musixtex/examples/souvenir.tex
texmf-dist/doc/generic/musixtex/examples/souvenix.tex
texmf-dist/doc/generic/musixtex/examples/tierce.tex
texmf-dist/doc/generic/musixtex/examples/traeumer.tex
texmf-dist/doc/generic/musixtex/examples/widor.tex
texmf-dist/doc/generic/musixtex/examples/widor_16.tex
texmf-dist/doc/generic/musixtex/examples/widor_20.tex
texmf-dist/doc/generic/musixtex/license.txt
texmf-dist/doc/generic/musixtex/musixdoc.bat
texmf-dist/doc/generic/musixtex/musixdoc.mx1
texmf-dist/doc/generic/musixtex/musixdoc.mx2
texmf-dist/doc/generic/musixtex/musixdoc.pdf
texmf-dist/doc/generic/musixtex/musixdoc.sty
texmf-dist/doc/generic/musixtex/musixdoc.tex
texmf-dist/doc/generic/musixtex/musixflx.1
texmf-dist/dvips/musixtex/config.musixtex
texmf-dist/fonts/map/dvips/musixtex/musix.map
texmf-dist/fonts/source/public/musixtex/musexgen.mf
texmf-dist/fonts/source/public/musixtex/musix11.mf
texmf-dist/fonts/source/public/musixtex/musix13.mf
texmf-dist/fonts/source/public/musixtex/musix16.mf
texmf-dist/fonts/source/public/musixtex/musix20.mf
texmf-dist/fonts/source/public/musixtex/musix24.mf
texmf-dist/fonts/source/public/musixtex/musix25.mf
texmf-dist/fonts/source/public/musixtex/musix29.mf
texmf-dist/fonts/source/public/musixtex/musixgen.mf
texmf-dist/fonts/source/public/musixtex/musixsps.mf
texmf-dist/fonts/source/public/musixtex/musixspx.mf
texmf-dist/fonts/source/public/musixtex/xdrawsl.mf
texmf-dist/fonts/source/public/musixtex/xdrawzl.mf
texmf-dist/fonts/source/public/musixtex/xgreg11.mf
texmf-dist/fonts/source/public/musixtex/xgreg13.mf
texmf-dist/fonts/source/public/musixtex/xgreg16.mf
texmf-dist/fonts/source/public/musixtex/xgreg20.mf
texmf-dist/fonts/source/public/musixtex/xgreg24.mf
texmf-dist/fonts/source/public/musixtex/xgreg25.mf
texmf-dist/fonts/source/public/musixtex/xgreg29.mf
texmf-dist/fonts/source/public/musixtex/xgreggen.mf
texmf-dist/fonts/source/public/musixtex/xsld11.mf
texmf-dist/fonts/source/public/musixtex/xsld11d.mf
texmf-dist/fonts/source/public/musixtex/xsld13.mf
texmf-dist/fonts/source/public/musixtex/xsld13d.mf
texmf-dist/fonts/source/public/musixtex/xsld16.mf
texmf-dist/fonts/source/public/musixtex/xsld16d.mf
texmf-dist/fonts/source/public/musixtex/xsld20.mf
texmf-dist/fonts/source/public/musixtex/xsld20d.mf
texmf-dist/fonts/source/public/musixtex/xsld24.mf
texmf-dist/fonts/source/public/musixtex/xsld24d.mf
texmf-dist/fonts/source/public/musixtex/xsld29.mf
texmf-dist/fonts/source/public/musixtex/xsld29d.mf
texmf-dist/fonts/source/public/musixtex/xsldd20.mf
texmf-dist/fonts/source/public/musixtex/xsldu20.mf
texmf-dist/fonts/source/public/musixtex/xslgen.mf
texmf-dist/fonts/source/public/musixtex/xslgend.mf
texmf-dist/fonts/source/public/musixtex/xslgenu.mf
texmf-dist/fonts/source/public/musixtex/xslhd.mf
texmf-dist/fonts/source/public/musixtex/xslhd11.mf
texmf-dist/fonts/source/public/musixtex/xslhd11d.mf
texmf-dist/fonts/source/public/musixtex/xslhd13.mf
texmf-dist/fonts/source/public/musixtex/xslhd13d.mf
texmf-dist/fonts/source/public/musixtex/xslhd16.mf
texmf-dist/fonts/source/public/musixtex/xslhd16d.mf
texmf-dist/fonts/source/public/musixtex/xslhd20.mf
texmf-dist/fonts/source/public/musixtex/xslhd20d.mf
texmf-dist/fonts/source/public/musixtex/xslhd24.mf
texmf-dist/fonts/source/public/musixtex/xslhd24d.mf
texmf-dist/fonts/source/public/musixtex/xslhd29.mf
texmf-dist/fonts/source/public/musixtex/xslhd29d.mf
texmf-dist/fonts/source/public/musixtex/xslhu.mf
texmf-dist/fonts/source/public/musixtex/xslhu11.mf
texmf-dist/fonts/source/public/musixtex/xslhu11d.mf
texmf-dist/fonts/source/public/musixtex/xslhu13.mf
texmf-dist/fonts/source/public/musixtex/xslhu13d.mf
texmf-dist/fonts/source/public/musixtex/xslhu16.mf
texmf-dist/fonts/source/public/musixtex/xslhu16d.mf
texmf-dist/fonts/source/public/musixtex/xslhu20.mf
texmf-dist/fonts/source/public/musixtex/xslhu20d.mf
texmf-dist/fonts/source/public/musixtex/xslhu24.mf
texmf-dist/fonts/source/public/musixtex/xslhu24d.mf
texmf-dist/fonts/source/public/musixtex/xslhu29.mf
texmf-dist/fonts/source/public/musixtex/xslhu29d.mf
texmf-dist/fonts/source/public/musixtex/xslhz-o.mf
texmf-dist/fonts/source/public/musixtex/xslhz.mf
texmf-dist/fonts/source/public/musixtex/xslhz20.mf
texmf-dist/fonts/source/public/musixtex/xslhz20d.mf
texmf-dist/fonts/source/public/musixtex/xslu11.mf
texmf-dist/fonts/source/public/musixtex/xslu11d.mf
texmf-dist/fonts/source/public/musixtex/xslu13.mf
texmf-dist/fonts/source/public/musixtex/xslu13d.mf
texmf-dist/fonts/source/public/musixtex/xslu16.mf
texmf-dist/fonts/source/public/musixtex/xslu16d.mf
texmf-dist/fonts/source/public/musixtex/xslu20.mf
texmf-dist/fonts/source/public/musixtex/xslu20d.mf
texmf-dist/fonts/source/public/musixtex/xslu24.mf
texmf-dist/fonts/source/public/musixtex/xslu24d.mf
texmf-dist/fonts/source/public/musixtex/xslu29.mf
texmf-dist/fonts/source/public/musixtex/xslu29d.mf
texmf-dist/fonts/source/public/musixtex/xslud20.mf
texmf-dist/fonts/source/public/musixtex/xslup20.mf
texmf-dist/fonts/source/public/musixtex/xslz.mf
texmf-dist/fonts/source/public/musixtex/xslz20.mf
texmf-dist/fonts/source/public/musixtex/xslz20d.mf
texmf-dist/fonts/source/public/musixtex/xtie20.mf
texmf-dist/fonts/tfm/public/musixtex/musix11.tfm
texmf-dist/fonts/tfm/public/musixtex/musix13.tfm
texmf-dist/fonts/tfm/public/musixtex/musix16.tfm
texmf-dist/fonts/tfm/public/musixtex/musix20.tfm
texmf-dist/fonts/tfm/public/musixtex/musix24.tfm
texmf-dist/fonts/tfm/public/musixtex/musix25.tfm
texmf-dist/fonts/tfm/public/musixtex/musix29.tfm
texmf-dist/fonts/tfm/public/musixtex/musixsps.tfm
texmf-dist/fonts/tfm/public/musixtex/musixspx.tfm
texmf-dist/fonts/tfm/public/musixtex/xgreg11.tfm
texmf-dist/fonts/tfm/public/musixtex/xgreg13.tfm
texmf-dist/fonts/tfm/public/musixtex/xgreg16.tfm
texmf-dist/fonts/tfm/public/musixtex/xgreg20.tfm
texmf-dist/fonts/tfm/public/musixtex/xgreg24.tfm
texmf-dist/fonts/tfm/public/musixtex/xgreg29.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld11.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld11d.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld13.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld13d.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld16.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld16d.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld20.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld20d.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld24.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld24d.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld29.tfm
texmf-dist/fonts/tfm/public/musixtex/xsld29d.tfm
texmf-dist/fonts/tfm/public/musixtex/xsldd20.tfm
texmf-dist/fonts/tfm/public/musixtex/xsldu20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd11.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd11d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd13.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd13d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd16.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd16d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd20d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd24.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd24d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd29.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhd29d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu11.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu11d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu13.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu13d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu16.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu16d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu20d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu20m.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu24.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu24d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu29.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhu29d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhz20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslhz20d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu11.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu11d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu13.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu13d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu16.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu16d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu20d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu24.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu24d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu29.tfm
texmf-dist/fonts/tfm/public/musixtex/xslu29d.tfm
texmf-dist/fonts/tfm/public/musixtex/xslud20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslup20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslz20.tfm
texmf-dist/fonts/tfm/public/musixtex/xslz20d.tfm
texmf-dist/fonts/tfm/public/musixtex/xtie20.tfm
texmf-dist/fonts/type1/public/musixtex/musix11.pfb
texmf-dist/fonts/type1/public/musixtex/musix13.pfb
texmf-dist/fonts/type1/public/musixtex/musix16.pfb
texmf-dist/fonts/type1/public/musixtex/musix20.pfb
texmf-dist/fonts/type1/public/musixtex/musix24.pfb
texmf-dist/fonts/type1/public/musixtex/musix29.pfb
texmf-dist/fonts/type1/public/musixtex/musixsps.pfb
texmf-dist/fonts/type1/public/musixtex/musixspx.pfb
texmf-dist/fonts/type1/public/musixtex/xgreg11.pfb
texmf-dist/fonts/type1/public/musixtex/xgreg13.pfb
texmf-dist/fonts/type1/public/musixtex/xgreg16.pfb
texmf-dist/fonts/type1/public/musixtex/xgreg20.pfb
texmf-dist/fonts/type1/public/musixtex/xgreg24.pfb
texmf-dist/fonts/type1/public/musixtex/xgreg29.pfb
texmf-dist/fonts/type1/public/musixtex/xsld11.pfb
texmf-dist/fonts/type1/public/musixtex/xsld11d.pfb
texmf-dist/fonts/type1/public/musixtex/xsld13.pfb
texmf-dist/fonts/type1/public/musixtex/xsld13d.pfb
texmf-dist/fonts/type1/public/musixtex/xsld16.pfb
texmf-dist/fonts/type1/public/musixtex/xsld16d.pfb
texmf-dist/fonts/type1/public/musixtex/xsld20.pfb
texmf-dist/fonts/type1/public/musixtex/xsld20d.pfb
texmf-dist/fonts/type1/public/musixtex/xsld24.pfb
texmf-dist/fonts/type1/public/musixtex/xsld24d.pfb
texmf-dist/fonts/type1/public/musixtex/xsld29.pfb
texmf-dist/fonts/type1/public/musixtex/xsld29d.pfb
texmf-dist/fonts/type1/public/musixtex/xsldd20.pfb
texmf-dist/fonts/type1/public/musixtex/xsldu20.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd11.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd11d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd13.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd13d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd16.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd16d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd20.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd20d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd24.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd24d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd29.pfb
texmf-dist/fonts/type1/public/musixtex/xslhd29d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu11.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu11d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu13.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu13d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu16.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu16d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu20.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu20d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu24.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu24d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu29.pfb
texmf-dist/fonts/type1/public/musixtex/xslhu29d.pfb
texmf-dist/fonts/type1/public/musixtex/xslhz20.pfb
texmf-dist/fonts/type1/public/musixtex/xslhz20d.pfb
texmf-dist/fonts/type1/public/musixtex/xslu11.pfb
texmf-dist/fonts/type1/public/musixtex/xslu11d.pfb
texmf-dist/fonts/type1/public/musixtex/xslu13.pfb
texmf-dist/fonts/type1/public/musixtex/xslu13d.pfb
texmf-dist/fonts/type1/public/musixtex/xslu16.pfb
texmf-dist/fonts/type1/public/musixtex/xslu16d.pfb
texmf-dist/fonts/type1/public/musixtex/xslu20.pfb
texmf-dist/fonts/type1/public/musixtex/xslu20d.pfb
texmf-dist/fonts/type1/public/musixtex/xslu24.pfb
texmf-dist/fonts/type1/public/musixtex/xslu24d.pfb
texmf-dist/fonts/type1/public/musixtex/xslu29.pfb
texmf-dist/fonts/type1/public/musixtex/xslu29d.pfb
texmf-dist/fonts/type1/public/musixtex/xslud20.pfb
texmf-dist/fonts/type1/public/musixtex/xslup20.pfb
texmf-dist/fonts/type1/public/musixtex/xslz20.pfb
texmf-dist/fonts/type1/public/musixtex/xslz20d.pfb
texmf-dist/fonts/type1/public/musixtex/xtie20.pfb
texmf-dist/tex/generic/musixtex/musixadd.tex
texmf-dist/tex/generic/musixtex/musixbar.tex
texmf-dist/tex/generic/musixtex/musixbbm.tex
texmf-dist/tex/generic/musixtex/musixblx.tex
texmf-dist/tex/generic/musixtex/musixbm.tex
texmf-dist/tex/generic/musixtex/musixcho.tex
texmf-dist/tex/generic/musixtex/musixcpt.sty
texmf-dist/tex/generic/musixtex/musixcpt.tex
texmf-dist/tex/generic/musixtex/musixdat.tex
texmf-dist/tex/generic/musixtex/musixdia.tex
texmf-dist/tex/generic/musixtex/musixeng.tex
texmf-dist/tex/generic/musixtex/musixevo.tex
texmf-dist/tex/generic/musixtex/musixext.tex
texmf-dist/tex/generic/musixtex/musixfll.sty
texmf-dist/tex/generic/musixtex/musixfll.tex
texmf-dist/tex/generic/musixtex/musixgre.tex
texmf-dist/tex/generic/musixtex/musixgui.tex
texmf-dist/tex/generic/musixtex/musixhor.tex
texmf-dist/tex/generic/musixtex/musixhou.tex
texmf-dist/tex/generic/musixtex/musixinv.tex
texmf-dist/tex/generic/musixtex/musixlit.tex
texmf-dist/tex/generic/musixtex/musixltx.tex
texmf-dist/tex/generic/musixtex/musixmad.tex
texmf-dist/tex/generic/musixtex/musixper.tex
texmf-dist/tex/generic/musixtex/musixpoi.tex
texmf-dist/tex/generic/musixtex/musixref.tex
texmf-dist/tex/generic/musixtex/musixslu.tex
texmf-dist/tex/generic/musixtex/musixsqr.tex
texmf-dist/tex/generic/musixtex/musixste.tex
texmf-dist/tex/generic/musixtex/musixstf.tex
texmf-dist/tex/generic/musixtex/musixstr.tex
texmf-dist/tex/generic/musixtex/musixsty.tex
texmf-dist/tex/generic/musixtex/musixtex.ins
texmf-dist/tex/generic/musixtex/musixtex.sty
texmf-dist/tex/generic/musixtex/musixtex.tex
texmf-dist/tex/generic/musixtex/musixtri.tex
texmf-dist/doc/latex/songbook/LesserGPL.txt
texmf-dist/doc/latex/songbook/README
texmf-dist/doc/latex/songbook/contrib/CarolBook/CarolBook.tex
texmf-dist/doc/latex/songbook/contrib/CarolBook/CarolBookOH.pdf
texmf-dist/doc/latex/songbook/contrib/CarolBook/CarolBookWB.pdf
texmf-dist/doc/latex/songbook/contrib/README
texmf-dist/doc/latex/songbook/contrib/crd2sb/NothingButTheBlood.crd
texmf-dist/doc/latex/songbook/contrib/crd2sb/crd2sb
texmf-dist/doc/latex/songbook/contrib/crd2sb/crd2sb.txt
texmf-dist/doc/latex/songbook/contrib/modulate
texmf-dist/doc/latex/songbook/contrib/texchord.sty
texmf-dist/doc/latex/songbook/install.txt
texmf-dist/doc/latex/songbook/mksbadx
texmf-dist/doc/latex/songbook/mksbkdx
texmf-dist/doc/latex/songbook/mksbtdx
texmf-dist/doc/latex/songbook/sample-sb.tex
texmf-dist/doc/latex/songbook/sampleAdx.pdf
texmf-dist/doc/latex/songbook/sampleAdx.tex
texmf-dist/doc/latex/songbook/sampleCBK.pdf
texmf-dist/doc/latex/songbook/sampleCSBK.pdf
texmf-dist/doc/latex/songbook/sampleKdx.pdf
texmf-dist/doc/latex/songbook/sampleKdx.tex
texmf-dist/doc/latex/songbook/sampleOH.pdf
texmf-dist/doc/latex/songbook/sampleTdx.pdf
texmf-dist/doc/latex/songbook/sampleTdx.tex
texmf-dist/doc/latex/songbook/sampleToc.pdf
texmf-dist/doc/latex/songbook/sampleToc.tex
texmf-dist/doc/latex/songbook/sampleWBK.pdf
texmf-dist/doc/latex/songbook/songbook.pdf
texmf-dist/source/latex/songbook/songbook.dtx
texmf-dist/source/latex/songbook/songbook.ins
texmf-dist/makeindex/songbook/songbook.ist
texmf-dist/tex/latex/songbook/conditionals.sty
texmf-dist/tex/latex/songbook/songbook.sty
)

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

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

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

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

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

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

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

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

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

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

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

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

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

%clean
%__rm -rf %{buildroot}

%post
%{exec_texhash}

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

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

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

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

exit 0


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

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

    %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^MixedMap musix.map" && \
        echo -n "    " && \
        echo -n "Running updmap: disable musix.map ... " && \
        %{exec_updmap} --nomkmap --disable musix.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-music
- improved %%post

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