texlive/texlive.spec
Silvan Calarco 0e364b0ecb update to 20130530
texlive: require texi2html
texlive-fonts: require(post) texlive [release 20130530-1mamba;Mon Aug 19 2013]
2024-01-05 18:27:44 +01:00

923 lines
25 KiB
RPMSpec

%define majver %(echo %{version} | cut -c1-4)
Name: texlive
Version: 20130530
Release: 1mamba
Summary: A comprehensive TeX document production system
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.tug.org/texlive
Source: ftp://tug.org/texlive/historic/%{majver}/texlive-%{version}-source.tar.xz
Source1: ftp://tug.org/texlive/historic//%{majver}/texlive-%{version}-texmf.tar.xz
Source2: texlive-texmf.cnf-openmamba
Source3: texlive-fonts.conf
License: GPL, LGPL, MIT, The LaTeX Project Public License
## AUTOBUILDREQ-BEGIN
BuildRequires: ghostscript-devel
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libexpat-devel
BuildRequires: libffcall-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgd-devel
BuildRequires: libICE-devel
BuildRequires: libjpeg-devel
BuildRequires: libncurses-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libreadline-devel
BuildRequires: libsigsegv-devel
BuildRequires: libsilgraphite-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libt1-devel
BuildRequires: libteckit-devel
BuildRequires: libuuid-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXaw-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
BuildRequires: libzzip-devel
BuildRequires: perl-devel
BuildRequires: perl-Digest-SHA1
BuildRequires: perl-File-Which
BuildRequires: perl-HTML-Format
BuildRequires: perl-HTML-Tree
BuildRequires: perl-Spreadsheet-ParseExcel
BuildRequires: perl-TimeDate
BuildRequires: perl-Tk
BuildRequires: perl-WWW-Mechanize
## AUTOBUILDREQ-END
BuildRequires: libharfbuzz-devel >= 0.9.19-2mamba
BuildRequires: clisp
Requires: texi2html
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-fonts = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-core = %{?epoch:%epoch:}%{version}-%{release}
Requires(post): %{__install_info}
Requires(preun): %{__install_info}
Provides: tetex
Obsoletes: tetex
Provides: perl(Pedigree)
Provides: perl(TeXLive::TLConfFile)
Provides: perl(TeXLive::TLConfig)
Provides: perl(TeXLive::TLDownload)
Provides: perl(TeXLive::TLPaper)
Provides: perl(TeXLive::TLPDB)
Provides: perl(TeXLive::TLPOBJ)
Provides: perl(TeXLive::TLUtils)
Provides: perl(TeXLive::TLWinGoo)
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The TeX Live package is a comprehensive TeX document production system. It includes TEX, LaTeX2e, ConTEXt, Metafont, MetaPost, BibTeX and many other programs; an extensive collection of macros, fonts and documentation; and support for typesetting in many different scripts from around the world.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package core
Summary: Distribution indipendent files for the TeX Live text formatting system
Group: Applications/Publishing
%description core
Distribution indipendent files for the TeX Live text formatting system.
%package latex
Group: System/Libraries
Summary: The LaTeX front end for the TeX text formatting system
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-dvips = %{?epoch:%epoch:}%{version}-%{release}
Provides: tetex-latex
Obsoletes: tetex-latex
Provides: latex-ucs
Obsoletes: latex-ucs
Provides: jadetex
Obsoletes: jadetex
Provides: xmltex
Obsoletes: xmltex
%description latex
The LaTeX front end for the TeX text formatting system.
%package fonts
Summary: The font files for the TeX Live text formatting system
Group: Applications/Publishing
Provides: tetex-fonts
Obsoletes: tetex-fonts
Requires(post): texlive
%description fonts
The tetex-fonts package contains fonts used by both the dvi previewers and the TeX Live text formatting system.
%package doc
Summary: The documentation files for the TeX Live text formatting system
Group: Documentation
%description doc
The tetex-doc package contains documentation for the TeX Live text formatting system.
%package dvips
Group: System/Libraries
Summary: dvips tools from %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: psutils
Provides: tetex-dvips
Obsoletes: tetex-dvips
%description dvips
dvips tools from %{name}.
%package t1utils
Group: System/Libraries
Summary: PostScript utilities from %{name}
%description t1utils
PostScript utilities from %{name}.
%package source
Group: System/Libraries
Summary: texmf source files from %{name}
Requires: %{name}-core = %{?epoch:%epoch:}%{version}-%{release}
%description source
texmf source files from %{name}.
%package tex4ht
Group: System/Libraries
Summary: tex4ht utilities from %{name}
Requires: %{name}-core = %{?epoch:%epoch:}%{version}-%{release}
%description tex4ht
tex4ht utilities from %{name}.
%package xdvi
Group: System/Libraries
Summary: xdvi tools from %{name}
Requires: %{name}-core = %{?epoch:%epoch:}%{version}-%{release}
Provides: tetex-xdvi
Obsoletes: tetex-xdvi
%description xdvi
xdvi tools from %{name}.
%debug_package
%prep
%setup -q -n %{name}-%{version}-source
# -D -T
#:<< ___EOF
# disable requires and provides for doc and source packages
%define _use_internal_dependency_generator 0
%define __find_provides %{_builddir}/texlive-%{version}-source/find_provides.sh
cat > %{_builddir}/texlive-%{version}-source/find_provides.sh <<_EOF
#! /bin/sh
grep -v %{buildroot}%{_datadir}/texmf-dist/doc | \
grep -v %{buildroot}%{_datadir}/texmf-dist/source | \
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
_EOF
chmod +x %{_builddir}/texlive-%{version}-source/find_provides.sh
%define __find_requires %{_builddir}/texlive-%{version}-source/find_requires.sh
cat > %{_builddir}/texlive-%{version}-source/find_requires.sh <<_EOF
#! /bin/sh
grep -v %{buildroot}%{_datadir}/texmf-dist/doc | \
grep -v %{buildroot}%{_datadir}/texmf-dist/source | \
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu}
_EOF
chmod +x %{_builddir}/texlive-%{version}-source/find_requires.sh
tar xf %{SOURCE1}
#mv texlive-%{version}-texmf/texmf .
mv texlive-%{version}-texmf/texmf-dist .
rmdir texlive-%{version}-texmf
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
%build
%configure \
--disable-native-texlive-build \
--enable-build-in-source-tree \
--enable-shared \
--with-system-zlib \
--with-system-zziplib \
--with-system-libpng \
--with-system-xpdf \
--with-system-gd \
--with-system-t1lib \
--with-system-teckit \
--with-system-freetype2 \
--with-system-poppler \
--with-system-cairo \
--with-system-icu \
--with-system-harfbuzz \
--with-system-graphite2 \
--with-system-libgs \
--with-pic \
--with-xdvi-x-toolkit=xaw \
--with-freetype2-libdir=%{_libdir} \
--with-freetype2-include=%{_includedir}/freetype2 \
--disable-dump-share \
--enable-aleph \
--enable-luatex \
--with-clisp-runtime=default \
%ifnarch arm
--enable-xindy \
%else
--disable-xindy \
%endif
--disable-xindy-rules \
--disable-xindy-docs \
--with-banner-add=" - openmamba" \
--disable-multiplatform \
--disable-dialog \
--disable-t1utils \
--disable-psutils \
--disable-bibtexu \
--disable-xz \
--disable-ptexenc \
--disable-largefile \
--disable-rpath \
# --enable-mktextex-default \
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# create symlinks
texk/texlive/tl_scripts/texlinks.sh %{buildroot}%{_bindir}
install -d -m0755 %{buildroot}%{_datadir}
cp -r texmf-dist %{buildroot}%{_datadir}
install -d -m755 %{buildroot}%{_sysconfdir}/texmf/web2c
install -d -m755 %{buildroot}%{_sysconfdir}/texmf/chktex
install -d -m755 %{buildroot}%{_sysconfdir}/texmf/dvips/config
install -d -m755 %{buildroot}%{_sysconfdir}/texmf/dvipdfmx
install -d -m755 %{buildroot}%{_sysconfdir}/texmf/tex/generic/config
install -d -m755 %{buildroot}%{_sysconfdir}/texmf/ttf2pk
install -d -m755 %{buildroot}%{_sysconfdir}/texmf/xdvi
install -d -m755 %{buildroot}%{_sysconfdir}/fonts/conf.avail
install -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/fonts/conf.avail/09-texlive-fonts.conf
# copy config files to $TEXMFCONFIG tree
cp -a %{buildroot}%{_datadir}/texmf-dist/chktex/chktexrc \
%{buildroot}%{_sysconfdir}/texmf/chktex/
cp -a %{buildroot}%{_datadir}/texmf-dist/web2c/mktex.cnf \
%{buildroot}%{_sysconfdir}/texmf/web2c/
cp -a %{buildroot}%{_datadir}/texmf-dist/web2c/updmap.cfg \
%{buildroot}%{_sysconfdir}/texmf/web2c/
cp -a %{buildroot}%{_datadir}/texmf-dist/web2c/fmtutil.cnf \
%{buildroot}%{_sysconfdir}/texmf/web2c/
cp -a %{buildroot}%{_datadir}/texmf-dist/dvips/config/config.ps \
%{buildroot}%{_sysconfdir}/texmf/dvips/config/
cp -a %{buildroot}%{_datadir}/texmf-dist/dvipdfmx/dvipdfmx.cfg \
%{buildroot}%{_sysconfdir}/texmf/dvipdfmx/
cp -a %{buildroot}%{_datadir}/texmf-dist/tex/generic/config/pdftexconfig.tex \
%{buildroot}%{_sysconfdir}/texmf/tex/generic/config/
cp -a %{buildroot}%{_datadir}/texmf-dist/tex/generic/config/language.dat \
%{buildroot}%{_sysconfdir}/texmf/tex/generic/config/
cp -a %{buildroot}%{_datadir}/texmf-dist/tex/generic/config/language.def \
%{buildroot}%{_sysconfdir}/texmf/tex/generic/config/
cp -a %{buildroot}%{_datadir}/texmf-dist/ttf2pk/ttf2pk.cfg \
%{buildroot}%{_sysconfdir}/texmf/ttf2pk/
cp -a %{buildroot}%{_datadir}/texmf-dist/xdvi/XDvi \
%{buildroot}%{_sysconfdir}/texmf/xdvi/
## simple make install doesn't call run-texlinks
#make world DESTDIR=%{buildroot}
# replace upstream texmf.cnf with ours
rm -f %{buildroot}%{_datadir}/texmf-dist/web2c/texmf.cnf
install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/texmf/web2c/texmf.cnf
# since the location of texmf.cnf is hard-wired to be under /usr/share/texmf/web2c
# we make a symlink from /etc/texmf/web2c/texmf.cnf to the latter
ln -sf %{_sysconfdir}/texmf/web2c/texmf.cnf %{buildroot}%{_datadir}/texmf-dist/web2c/texmf.cnf
## remove aleph from fmtutil.cnf
sed -i -e '/aleph/d' %{buildroot}%{_datadir}/texmf-dist/web2c/fmtutil.cnf
rm -f %{buildroot}%{_mandir}/man1/latex.1*
rm -f %{buildroot}%{_mandir}/man1/pdflatex.1*
# touch ghosts
install -d -m0755 %{buildroot}%{_datadir}/texmf-local
#install -d -m0755 %{buildroot}%{_datadir}/texmf
#touch %{buildroot}%{_datadir}/texmf/ls-R
touch %{buildroot}%{_datadir}/texmf-local/ls-R
touch %{buildroot}%{_datadir}/texmf-dist/ls-R
# link config dir to the main tree and var dir to root
install -d -m0755 %{buildroot}%{_localstatedir}/lib/texmf
#ln -s %{_localstatedir}/lib/texmf %{buildroot}%{_datadir}/texmf-var
#install -d -m0755 %{buildroot}%{_datadir}/texmf-config
#install -d -m0755 %{buildroot}%{_datadir}/texmf-config/web2c
#ln -s ../../texmf/web2c/updmap.cfg %{buildroot}%{_datadir}/texmf-config/web2c/updmap.cfg
# create macro file for building texlive
mkdir -p %{buildroot}%{_sysconfdir}/rpm
cat << EOF > %{buildroot}%{_sysconfdir}/rpm/macros.texlive
# macros to keep trees in texlive consistent
%_texmf_main %{_datadir}/texmf
%_texmf_vendor %{_datadir}/texmf-dist
%_texmf_var %{_localstatedir}/lib/texmf
%_texmf_conf %{_sysconfdir}/texmf
EOF
install -d -m0755 %{buildroot}%{_datadir}/tlpkg
cp -a utils/biber/TeXLive %{buildroot}%{_datadir}/tlpkg/
# some fine cleanups
rm -f %{buildroot}%{_bindir}/man
rm -f %{buildroot}%{_mandir}/man1/aleph.1*
rm -f %{buildroot}%{_mandir}/man1/lamed.1*
# conflicting with psutils
for f in epsffit extractres fixdlsrps fixfmps fixpsditps fixpspps fixscribeps \
fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup \
psresize psselect pstops; do
rm -f %{buildroot}%{_mandir}/man1/$f.1*
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%post
if [ $1 -ge 1 ]; then
%install_info dvipng.info
%install_info kpathsea.info
%install_info web2c.info
%{_bindir}/texhash 2>/dev/null
%{_bindir}/fmtutil-sys --all >/dev/null
%{_bindir}/updmap-sys >/dev/null
# /usr/bin/kpsewhich --format='web2c files' updmap.cfg >/dev/null
sed -i "s|^TEXMFMAIN = .*|TEXMFMAIN = \$TEXMFROOT/texmf-dist|" %{_sysconfdir}/texmf/web2c/texmf.cnf
fi
:
exit 0
%preun
%uninstall_info dvipng.info
%uninstall_info kpathsea.info
%uninstall_info web2c.info
exit 0
%post latex
if [ $1 -ge 1 ]; then
%{_bindir}/texhash 2>/dev/null
%{_bindir}/texconfig-sys init >/dev/null 2>&1
fi
:
%post fonts
if [ $1 -ge 1 ]; then
%{_bindir}/texhash 2>/dev/null
%{_bindir}/fmtutil-sys --all >/dev/null
%{_bindir}/updmap-sys >/dev/null
fi
:
%post dvips
%install_info dvips.info
exit 0
%preun dvips
%uninstall_info dvips.info
exit 0
%files
%defattr(-,root,root)
%{_sysconfdir}/fonts/conf.avail/09-texlive-fonts.conf
%config %{_sysconfdir}/texmf/chktex/chktexrc
%config %{_sysconfdir}/texmf/dvipdfmx/dvipdfmx.cfg
%config %{_sysconfdir}/texmf/dvips/config/config.ps
%config %{_sysconfdir}/texmf/tex/generic/config/language.dat
%config %{_sysconfdir}/texmf/tex/generic/config/language.def
%config %{_sysconfdir}/texmf/tex/generic/config/pdftexconfig.tex
%config %{_sysconfdir}/texmf/ttf2pk/ttf2pk.cfg
%config %{_sysconfdir}/texmf/web2c/fmtutil.cnf
%config %{_sysconfdir}/texmf/web2c/mktex.cnf
%config %{_sysconfdir}/texmf/web2c/texmf.cnf
%config %{_sysconfdir}/texmf/web2c/updmap.cfg
%config %{_sysconfdir}/texmf/xdvi/XDvi
%{_sysconfdir}/rpm/macros.texlive
%{_bindir}/a2ping
%{_bindir}/a5toa4
%{_bindir}/adhocfilelist
%{_bindir}/afm2afm
%{_bindir}/afm2pl
%{_bindir}/afm2tfm
%{_bindir}/aleph
%{_bindir}/lamed
%{_bindir}/allcm
%{_bindir}/allec
%{_bindir}/allneeded
%{_bindir}/arara
%{_bindir}/arlatex
%{_bindir}/authorindex
%{_bindir}/autoinst
%{_bindir}/bbox
%{_bindir}/bg5+latex
%{_bindir}/bg5+pdflatex
%{_bindir}/bg5conv
%{_bindir}/bg5latex
%{_bindir}/bg5pdflatex
%ifnarch arm
%{_bindir}/biber
%endif
%{_bindir}/bibexport
%{_bindir}/bibtex
%{_bindir}/bibtex8
%{_bindir}/bibtexu
%{_bindir}/bundledoc
%{_bindir}/cachepic
%{_bindir}/cef5conv
%{_bindir}/cef5latex
%{_bindir}/cef5pdflatex
%{_bindir}/cefconv
%{_bindir}/ceflatex
%{_bindir}/cefpdflatex
%{_bindir}/cefsconv
%{_bindir}/cefslatex
%{_bindir}/cefspdflatex
%{_bindir}/cfftot1
%{_bindir}/checkcites
%{_bindir}/chktex
%{_bindir}/chkweb
%{_bindir}/context
%{_bindir}/convbkmk
%{_bindir}/ctangle
%{_bindir}/ctanify
%{_bindir}/ctanupload
%{_bindir}/ctie
%{_bindir}/ctxtools
%{_bindir}/cweave
%{_bindir}/de-macro
%{_bindir}/detex
%{_bindir}/devnag
%{_bindir}/deweb
%{_bindir}/disdvi
%{_bindir}/dosepsbin
%{_bindir}/dt2dv
%{_bindir}/dtxgen
%{_bindir}/dv2dt
%{_bindir}/dvi2fax
%{_bindir}/dvi2tty
%{_bindir}/dviasm
%{_bindir}/dvibook
%{_bindir}/dviconcat
%{_bindir}/dvicopy
%{_bindir}/dvidvi
%{_bindir}/dvigif
%{_bindir}/dvihp
%{_bindir}/dvilj
%{_bindir}/dvilj2p
%{_bindir}/dvilj4
%{_bindir}/dvilj4l
%{_bindir}/dvilj6
%{_bindir}/dvipdfm
%{_bindir}/dvipdfmx
%{_bindir}/dvipdft
%{_bindir}/dvipng
%{_bindir}/dvipos
%{_bindir}/dvired
%{_bindir}/dviselect
%{_bindir}/dvisvgm
%{_bindir}/dvitodvi
%{_bindir}/dvitomp
%{_bindir}/dvitype
%{_bindir}/e2pall
%{_bindir}/ebb
%{_bindir}/ebong
%{_bindir}/epspdf
%{_bindir}/epspdftk
%{_bindir}/epstopdf
%{_bindir}/eptex
%{_bindir}/euptex
%{_bindir}/exceltex
%{_bindir}/extconv
%{_bindir}/extractbb
%{_bindir}/fig4latex
%{_bindir}/findhyph
%{_bindir}/fmtutil
%{_bindir}/fmtutil-sys
%{_bindir}/fontinst
%{_bindir}/fragmaster
%{_bindir}/gbklatex
%{_bindir}/gbkpdflatex
%{_bindir}/gftodvi
%{_bindir}/gftopk
%{_bindir}/gftype
%{_bindir}/gsftopk
%{_bindir}/hbf2gf
%{_bindir}/inimf
%{_bindir}/initex
%{_bindir}/installfont-tl
%{_bindir}/kanji-config-updmap
%{_bindir}/kanji-config-updmap-sys
%{_bindir}/kanji-fontmap-creator
%{_bindir}/kpseaccess
%{_bindir}/kpsepath
%{_bindir}/kpsereadlink
%{_bindir}/kpsestat
%{_bindir}/kpsetool
%{_bindir}/kpsewhere
%{_bindir}/kpsewhich
%{_bindir}/kpsexpand
%{_bindir}/lacheck
%{_bindir}/latex2man
%{_bindir}/latexdiff
%{_bindir}/latexdiff-vc
%{_bindir}/latexfileversion
%{_bindir}/latexmk
%{_bindir}/latexrevise
%{_bindir}/listbib
%{_bindir}/listings-ext.sh
%{_bindir}/lua2dox_filter
%{_bindir}/luaotfload-tool
%{_bindir}/luatex
%{_bindir}/luatools
%{_bindir}/m-tx
%{_bindir}/mag
%{_bindir}/makeglossaries
%{_bindir}/makeindex
%{_bindir}/makejvf
%{_bindir}/match_parens
%{_bindir}/mathspic
%{_bindir}/mendex
#%ifarch arm
#%{_bindir}/metafun
#%endif
%{_bindir}/mf
%{_bindir}/mf-nowin
%{_bindir}/mf2pt1
%{_bindir}/mfplain
%{_bindir}/mft
%{_bindir}/mk4ht
%{_bindir}/mkgrkindex
%{_bindir}/mkindex
%{_bindir}/mkjobtexmf
%{_bindir}/mkluatexfontdb
%{_bindir}/mkocp
%{_bindir}/mkofm
%{_bindir}/mkt1font
%{_bindir}/mktexfmt
%{_bindir}/mktexlsr
%{_bindir}/mktexmf
%{_bindir}/mktexpk
%{_bindir}/mktextfm
%{_bindir}/mmafm
%{_bindir}/mmpfb
%{_bindir}/mpost
%{_bindir}/mptopdf
%{_bindir}/mtxrun
%{_bindir}/multibibliography
%{_bindir}/musixflx
%{_bindir}/musixtex
%{_bindir}/odvicopy
%{_bindir}/odvitype
%{_bindir}/ofm2opl
%{_bindir}/omfonts
%{_bindir}/opl2ofm
%{_bindir}/ot2kpx
%{_bindir}/otangle
%{_bindir}/otfinfo
%{_bindir}/otftotfm
%{_bindir}/otp2ocp
%{_bindir}/outocp
%{_bindir}/ovf2ovp
%{_bindir}/ovp2ovf
%{_bindir}/patgen
%{_bindir}/pbibtex
%{_bindir}/pdf180
%{_bindir}/pdf270
%{_bindir}/pdf90
%{_bindir}/pdfannotextractor
%{_bindir}/pdfatfi
%{_bindir}/pdfbook
%{_bindir}/pdfclose
%{_bindir}/pdfcrop
%{_bindir}/pdfflip
%{_bindir}/pdfjam
%{_bindir}/pdfjam-pocketmod
%{_bindir}/pdfjam-slides3up
%{_bindir}/pdfjam-slides6up
%{_bindir}/pdfjoin
%{_bindir}/pdfnup
%{_bindir}/pdfopen
%{_bindir}/pdfpun
%{_bindir}/pdftosrc
%{_bindir}/pdvitype
%{_bindir}/pedigree
%{_bindir}/perltex
%{_bindir}/pfarrei
%{_bindir}/pfb2pfa
%{_bindir}/pk2bm
%{_bindir}/pkfix
%{_bindir}/pkfix-helper
%{_bindir}/pktogf
%{_bindir}/pktype
%{_bindir}/pltotf
%{_bindir}/pmx2pdf
%{_bindir}/pmxab
%{_bindir}/pooltype
%{_bindir}/ppltotf
%{_bindir}/prepmx
%{_bindir}/ps2eps
%{_bindir}/ps2frag
%{_bindir}/ps2pk
%{_bindir}/ps4pdf
%{_bindir}/pslatex
%{_bindir}/pst2pdf
%{_bindir}/pstopdf
%{_bindir}/ptex
%{_bindir}/ptex2pdf
%{_bindir}/ptftopl
%{_bindir}/purifyeps
%{_bindir}/repstopdf
%{_bindir}/rpdfcrop
%{_bindir}/rubibtex
%{_bindir}/rumakeindex
%{_bindir}/rungs
%{_bindir}/scor2prt
%{_bindir}/simpdftex
%{_bindir}/sjisconv
%{_bindir}/sjislatex
%{_bindir}/sjispdflatex
%{_bindir}/splitindex
%{_bindir}/sty2dtx
%{_bindir}/svn-multi
%{_bindir}/synctex
%{_bindir}/t1dotlessj
%{_bindir}/t1lint
%{_bindir}/t1rawafm
%{_bindir}/t1reencode
%{_bindir}/t1testpage
%{_bindir}/tangle
%{_bindir}/tex
%{_bindir}/texconfig
%{_bindir}/texconfig-dialog
%{_bindir}/texconfig-sys
%{_bindir}/texcount
%{_bindir}/texdef
%{_bindir}/texdiff
%{_bindir}/texdirflatten
%{_bindir}/texdoc
%{_bindir}/texdoctk
%{_bindir}/texexec
%{_bindir}/texhash
%ifnarch arm
%{_bindir}/tex2xindy
%{_bindir}/texindy
%endif
%{_bindir}/texlinks
%{_bindir}/texliveonfly
%{_bindir}/texloganalyser
%{_bindir}/texlua
%{_bindir}/texluac
%{_bindir}/texmfstart
%{_bindir}/tftopl
%{_bindir}/thumbpdf
%{_bindir}/tie
%{_bindir}/tlmgr
%{_bindir}/tpic2pdftex
%{_bindir}/ttf2afm
%{_bindir}/ttf2pk
%{_bindir}/ttf2tfm
%{_bindir}/ttfdump
%{_bindir}/ttftotype42
%{_bindir}/typeoutfileinfo
%{_bindir}/ulqda
%{_bindir}/upbibtex
%{_bindir}/updmap
#%{_bindir}/updmap-setup-kanji
%{_bindir}/updmap-sys
%{_bindir}/updvitype
%{_bindir}/uppltotf
%{_bindir}/uptex
%{_bindir}/uptftopl
%{_bindir}/urlbst
%{_bindir}/vftovp
%{_bindir}/vlna
%{_bindir}/vpe
%{_bindir}/vpl2ovp
%{_bindir}/vpl2vpl
%{_bindir}/vptovf
%{_bindir}/weave
%{_bindir}/wovp2ovf
%{_bindir}/xetex
%ifnarch arm
%{_bindir}/xindy
%{_bindir}/xindy.mem
%{_bindir}/xindy.run
%endif
%dir %{_datadir}/tlpkg
%dir %{_datadir}/tlpkg/TeXLive
%{_datadir}/tlpkg/TeXLive/TLConfig.pm
%{_datadir}/tlpkg/TeXLive/TLUtils.pm
%{_infodir}/dvipng.info.gz
%{_infodir}/kpathsea.info.gz
%{_infodir}/web2c.info.gz
%{_mandir}/man1/*.1*
%exclude %{_mandir}/man1/dvips.1.gz
%exclude %{_mandir}/man1/xdvi.1*
%{_mandir}/man5/*.5*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libkpathsea.so.*
%{_libdir}/libptexenc.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/kpathsea
%{_includedir}/kpathsea/*.h
%dir %{_includedir}/ptexenc
%{_includedir}/ptexenc/*.h
%{_libdir}/libkpathsea.a
%{_libdir}/libkpathsea.la
%{_libdir}/libkpathsea.so
%{_libdir}/libptexenc.a
%{_libdir}/libptexenc.la
%{_libdir}/libptexenc.so
%files core
%defattr(-,root,root)
%dir %{_datadir}/texmf-dist
%attr(0644, root, root) %verify(not md5 size mtime) %ghost %{_datadir}/texmf-dist/ls-R
%dir %{_datadir}/texmf-dist/asymptote
%{_datadir}/texmf-dist/asymptote/*
%dir %{_datadir}/texmf-dist/bibtex
%{_datadir}/texmf-dist/bibtex/*
%dir %{_datadir}/texmf-dist/chktex
%{_datadir}/texmf-dist/chktex/*
%dir %{_datadir}/texmf-dist/context
%{_datadir}/texmf-dist/context/*
%dir %{_datadir}/texmf-dist/dvipdfmx
%{_datadir}/texmf-dist/dvipdfmx/*
%dir %{_datadir}/texmf-dist/hbf2gf
%{_datadir}/texmf-dist/hbf2gf/*
%dir %{_datadir}/texmf-dist/makeindex
%{_datadir}/texmf-dist/makeindex/*
%dir %{_datadir}/texmf-dist/metafont
%{_datadir}/texmf-dist/metafont/*
%dir %{_datadir}/texmf-dist/metapost
%{_datadir}/texmf-dist/metapost/*
%dir %{_datadir}/texmf-dist/mft
%{_datadir}/texmf-dist/mft/*
%dir %{_datadir}/texmf-dist/omega
%{_datadir}/texmf-dist/omega/*
%dir %{_datadir}/texmf-dist/pbibtex
%{_datadir}/texmf-dist/pbibtex/*
%dir %{_datadir}/texmf-dist/scripts
%{_datadir}/texmf-dist/scripts/*
%dir %{_datadir}/texmf-dist/tex
%{_datadir}/texmf-dist/tex/*
%exclude %{_datadir}/texmf-dist/tex/latex
%exclude %{_datadir}/texmf-dist/tex/latex/*
%dir %{_datadir}/texmf-dist/texconfig
%{_datadir}/texmf-dist/texconfig/*
%dir %{_datadir}/texmf-dist/texdoc
%{_datadir}/texmf-dist/texdoc/*
%dir %{_datadir}/texmf-dist/texdoctk
%{_datadir}/texmf-dist/texdoctk/*
%dir %{_datadir}/texmf-dist/ttf2pk
%{_datadir}/texmf-dist/ttf2pk/*
%dir %{_datadir}/texmf-dist/web2c
%{_datadir}/texmf-dist/web2c/*
%dir %{_datadir}/texmf-dist/xindy
%{_datadir}/texmf-dist/xindy/*
%{_datadir}/texmf-dist/README
%dir %{_datadir}/texmf-local/
%attr(0644, root, root) %verify(not md5 size mtime) %ghost %{_datadir}/texmf-local/ls-R
%dir %{_localstatedir}/lib/texmf
%files fonts
%defattr(-,root,root)
%dir %{_datadir}/texmf-dist/fonts
%{_datadir}/texmf-dist/fonts/*
%files latex
%defattr(-,root,root)
%{_bindir}/latexpand
%{_bindir}/ltxfileinfo
%{_bindir}/pdftex
%{_bindir}/amstex
%{_bindir}/cslatex
%{_bindir}/csplain
%{_bindir}/dvilualatex
%{_bindir}/dviluatex
%{_bindir}/eplain
%{_bindir}/etex
%{_bindir}/jadetex
%{_bindir}/latex
%{_bindir}/lualatex
%{_bindir}/mex
%{_bindir}/mllatex
%{_bindir}/mltex
%{_bindir}/pdfcslatex
%{_bindir}/pdfcsplain
%{_bindir}/pdfetex
%{_bindir}/pdfjadetex
%{_bindir}/pdflatex
%{_bindir}/pdfmex
%{_bindir}/pdfxmltex
%{_bindir}/platex
%{_bindir}/texsis
%{_bindir}/uplatex
%{_bindir}/utf8mex
%{_bindir}/xelatex
%{_bindir}/xmltex
%dir %{_datadir}/texmf-dist/tex/latex
%{_datadir}/texmf-dist/tex/latex/*
%files dvips
%defattr(-,root,root)
%{_bindir}/dvips
%{_mandir}/man1/dvips.1.gz
%dir %{_datadir}/texmf-dist/dvips
%{_datadir}/texmf-dist/dvips/*
%{_infodir}/dvips.info.gz
%files xdvi
%defattr(-,root,root)
%{_bindir}/xdvi
%{_bindir}/xdvi-xaw
%{_bindir}/xdvipdfmx
%dir %{_datadir}/texmf-dist/xdvi
%{_datadir}/texmf-dist/xdvi/*
%{_mandir}/man1/xdvi.1*
%files tex4ht
%defattr(-,root,root)
%{_bindir}/ht
%{_bindir}/htcontext
%{_bindir}/htlatex
%{_bindir}/htmex
%{_bindir}/httex
%{_bindir}/httexi
%{_bindir}/htxelatex
%{_bindir}/htxetex
%{_bindir}/t4ht
%{_bindir}/tex4ht
%dir %{_datadir}/texmf-dist/tex4ht
%{_datadir}/texmf-dist/tex4ht/*
%files doc
%defattr(-,root,root)
%dir %{_datadir}/texmf-dist/doc
%{_datadir}/texmf-dist/doc/*
%doc ChangeLog README README.coding README.config README.cross README.distro README.hacking README.layout
%files source
%defattr(-,root,root)
%dir %{_datadir}/texmf-dist/source
%{_datadir}/texmf-dist/source/*
%changelog
* Mon Aug 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20130530-1mamba
- update to 20130530
- texlive: require texi2html
- texlive-fonts: require(post) texlive
* Mon Aug 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20120701-3mamba
- texlive-fonts: obsolete tetex-fonts
* Mon Apr 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20120701-2mamba
- included fonts package
- source edit (next build): also run updmap-sys after font and core packages installation
- source edit (next build): increase pool-size from 3500000 to 20000000 in texmf.cnf
* Sat Mar 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20120701-1mamba
- package created by silvan using the webbuild interface