665 lines
21 KiB
RPMSpec
665 lines
21 KiB
RPMSpec
%define majver %(echo %{version} | cut -c1-4)
|
|
Name: texlive
|
|
Version: 20200406
|
|
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
|
|
Patch0: texlive-20190410-upstream-fixes.patch
|
|
License: GPL, LGPL, MIT, The LaTeX Project Public License
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: ghostscript-devel
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libXaw-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXi-devel
|
|
BuildRequires: libXmu-devel
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libXt-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libffcall-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libgd-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libjbig-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libperl
|
|
BuildRequires: libpixman-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpoppler-devel
|
|
BuildRequires: libreadline-devel
|
|
BuildRequires: libsigsegv-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libteckit-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libvpx-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: libzzip-devel
|
|
BuildRequires: perl-Tk
|
|
BuildRequires: perl-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libharfbuzz-devel >= 0.9.19-2mamba
|
|
BuildRequires: libffcall-devel >= 2.1
|
|
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::TLCrypto)
|
|
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}
|
|
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-latex
|
|
|
|
%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
|
|
|
|
# Don't want to keep 2.7+ GB source file in src.rpm
|
|
wget ftp://tug.org/texlive/historic/%{majver}/texlive-%{version}-texmf.tar.xz
|
|
tar xf texlive-%{version}-texmf.tar.xz
|
|
#tar xf %{SOURCE1}
|
|
#mv texlive-%{version}-texmf/texmf .
|
|
mv texlive-%{version}-texmf/texmf-dist .
|
|
rmdir texlive-%{version}-texmf
|
|
|
|
#%patch0 -p1
|
|
|
|
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
|
|
sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
|
|
|
|
# pdftex poppler compatibility
|
|
cp -pv texk/web2c/pdftexdir/pdftoepdf{-poppler0.86.0,}.cc
|
|
cp -pv texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc
|
|
|
|
%build
|
|
#:<< ___EOF
|
|
mkdir -p build
|
|
cd build
|
|
ln -sf ../configure .
|
|
|
|
%configure \
|
|
--disable-native-texlive-build \
|
|
--with-banner-add=" - openmamba" \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--with-system-zlib \
|
|
--with-system-zziplib \
|
|
--with-system-libpng \
|
|
--with-system-ncurses \
|
|
--with-system-t1lib \
|
|
--with-system-gd \
|
|
--with-system-poppler \
|
|
--with-system-xpdf \
|
|
--with-system-freetype2 \
|
|
--with-system-pixman \
|
|
--with-system-cairo \
|
|
--with-system-harfbuzz \
|
|
--with-system-graphite2 \
|
|
--with-system-fontconfig \
|
|
--with-system-icu \
|
|
--with-system-gmp \
|
|
--with-system-mpfr \
|
|
--with-system-potrace \
|
|
--with-system-libpaper \
|
|
--with-system-libgs \
|
|
--with-system-teckit \
|
|
--with-pic \
|
|
--with-xdvi-x-toolkit=xaw \
|
|
--with-freetype2-libdir=%{_libdir} \
|
|
--with-freetype2-include=%{_includedir}/freetype2 \
|
|
--disable-aleph \
|
|
--enable-luatex \
|
|
--with-clisp-runtime=default \
|
|
%ifnarch arm
|
|
--enable-xindy \
|
|
%else
|
|
--disable-xindy \
|
|
%endif
|
|
--disable-xz \
|
|
--disable-dump-share \
|
|
--disable-xindy-rules \
|
|
--disable-xindy-docs \
|
|
--disable-dvisvgm \
|
|
--disable-multiplatform \
|
|
--disable-dialog \
|
|
--disable-t1utils \
|
|
--disable-psutils \
|
|
--disable-bibtexu \
|
|
--disable-ptexenc \
|
|
--disable-largefile \
|
|
--disable-rpath
|
|
|
|
# --enable-build-in-source-tree \
|
|
# --with-system-xpdf \
|
|
# --with-system-poppler \
|
|
# --enable-mktextex-default \
|
|
# --disable-xz \
|
|
|
|
make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
cd build
|
|
%makeinstall
|
|
|
|
# create symlinks
|
|
../texk/texlive/linked_scripts/texlive-extra/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/pdftex-dvi.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 ../texk/tests/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
|
|
|
|
# Remove pdf from docs
|
|
find %{buildroot}%{_datadir}/texmf-dist/doc/* -name "*.pdf" -exec rm -f {} \;
|
|
|
|
%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}/texconfig-sys init >/dev/null 2>&1
|
|
fi
|
|
:
|
|
|
|
%preun
|
|
%uninstall_info dvipng.info
|
|
%uninstall_info kpathsea.info
|
|
%uninstall_info web2c.info
|
|
:
|
|
|
|
%posttrans
|
|
if [ $1 -ge 1 ]; then
|
|
%{_bindir}/texhash 2>/dev/null
|
|
%{_bindir}/mktexlsr 2>/dev/null
|
|
%{_bindir}/fmtutil-sys --all >/dev/null
|
|
%{_bindir}/updmap-sys >/dev/null
|
|
%{_bindir}/mtxrun --generate >/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
|
|
:
|
|
|
|
%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
|
|
:
|
|
|
|
%preun dvips
|
|
%uninstall_info dvips.info
|
|
:
|
|
|
|
%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/pdftex-dvi.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}/*
|
|
%exclude %{_bindir}/dvips
|
|
%exclude %{_bindir}/ht
|
|
%exclude %{_bindir}/htcontext
|
|
%exclude %{_bindir}/htlatex
|
|
%exclude %{_bindir}/htmex
|
|
%exclude %{_bindir}/httex
|
|
%exclude %{_bindir}/httexi
|
|
%exclude %{_bindir}/htxelatex
|
|
%exclude %{_bindir}/htxetex
|
|
%exclude %{_bindir}/t4ht
|
|
%exclude %{_bindir}/tex4ht
|
|
%exclude %{_bindir}/xdvi
|
|
%exclude %{_bindir}/xdvi-xaw
|
|
%exclude %{_bindir}/xdvipdfmx
|
|
%dir %{_datadir}/tlpkg
|
|
%dir %{_datadir}/tlpkg/TeXLive
|
|
%{_datadir}/tlpkg/TeXLive/TLConfig.pm
|
|
%{_datadir}/tlpkg/TeXLive/TLUtils.pm
|
|
%{_infodir}/dvipng.info*
|
|
%{_infodir}/kpathsea.info*
|
|
%{_infodir}/tlbuild.info*
|
|
%{_infodir}/web2c.info*
|
|
%{_mandir}/man1/*.1*
|
|
%exclude %{_mandir}/man1/dvips.1*
|
|
%exclude %{_mandir}/man1/xdvi.1*
|
|
%{_mandir}/man5/*.5*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libkpathsea.so.*
|
|
%{_libdir}/libptexenc.so.*
|
|
%{_libdir}/libsynctex.so.*
|
|
%{_libdir}/libtexlua53.so.*
|
|
%{_libdir}/libtexluajit.so.*
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/kpathsea
|
|
%{_includedir}/kpathsea/*.h
|
|
%dir %{_includedir}/ptexenc
|
|
%{_includedir}/ptexenc/*.h
|
|
%dir %{_includedir}/synctex
|
|
%{_includedir}/synctex/*
|
|
%dir %{_includedir}/texlua53
|
|
%{_includedir}/texlua53/*
|
|
%dir %{_includedir}/texluajit
|
|
%{_includedir}/texluajit/*
|
|
%{_libdir}/libkpathsea.la
|
|
%{_libdir}/libkpathsea.so
|
|
%{_libdir}/libptexenc.la
|
|
%{_libdir}/libptexenc.so
|
|
%{_libdir}/libsynctex.la
|
|
%{_libdir}/libsynctex.so
|
|
%{_libdir}/libtexlua53.la
|
|
%{_libdir}/libtexlua53.so
|
|
%{_libdir}/libtexluajit.la
|
|
%{_libdir}/libtexluajit.so
|
|
%{_libdir}/pkgconfig/kpathsea.pc
|
|
%{_libdir}/pkgconfig/ptexenc.pc
|
|
%{_libdir}/pkgconfig/synctex.pc
|
|
%{_libdir}/pkgconfig/texlua53.pc
|
|
%{_libdir}/pkgconfig/texluajit.pc
|
|
|
|
%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/psutils
|
|
%{_datadir}/texmf-dist/psutils/paper.cfg
|
|
%dir %{_datadir}/texmf-dist/scripts
|
|
%{_datadir}/texmf-dist/scripts/*
|
|
%dir %{_datadir}/texmf-dist/tex
|
|
%{_datadir}/texmf-dist/tex/*
|
|
%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 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
|
|
%{_datadir}/applications/xdvi.desktop
|
|
%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 latex
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/texmf-dist/tex/latex
|
|
%{_datadir}/texmf-dist/tex/latex/*
|
|
|
|
%files doc
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/texmf-dist/doc
|
|
%{_datadir}/texmf-dist/doc/*
|
|
#%doc ChangeLog README
|
|
|
|
%files source
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/texmf-dist/source
|
|
%{_datadir}/texmf-dist/source/*
|
|
|
|
%changelog
|
|
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20200406-1mamba
|
|
- update to 20200406
|
|
|
|
* Tue Jul 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20190410-1mamba
|
|
- update to 20190410
|
|
|
|
* Thu Aug 10 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20170524-1mamba
|
|
- update to 20170524
|
|
|
|
* Tue Jul 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140525-1mamba
|
|
- update to 20140525
|
|
|
|
* 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
|