update to 20200406 [release 20200406-1mamba;Fri Nov 27 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:27:44 +01:00
parent a874e2f645
commit 0b2f97bc9c

View File

@ -1,6 +1,6 @@
%define majver %(echo %{version} | cut -c1-4)
Name: texlive
Version: 20190410
Version: 20200406
Release: 1mamba
Summary: A comprehensive TeX document production system
Group: Applications/Publishing
@ -75,6 +75,7 @@ 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)
@ -222,11 +223,15 @@ tar xf texlive-%{version}-texmf.tar.xz
mv texlive-%{version}-texmf/texmf-dist .
rmdir texlive-%{version}-texmf
%patch0 -p1
#%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
@ -235,31 +240,35 @@ ln -sf ../configure .
%configure \
--disable-native-texlive-build \
--enable-shared \
--with-banner-add=" - openmamba" \
--disable-static \
--with-system-cairo \
--with-system-fontconfig \
--with-system-freetype2 \
--with-system-gmp \
--with-system-graphite2 \
--with-system-harfbuzz \
--with-system-icu \
--with-system-libgs \
--with-system-libpaper \
--with-system-libpng \
--with-system-mpfr \
--with-system-pixman \
--enable-shared \
--with-system-zlib \
--with-system-zziplib \
--with-system-gd \
--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-dump-share \
--enable-aleph \
--disable-aleph \
--enable-luatex \
--with-clisp-runtime=default \
%ifnarch arm
@ -267,9 +276,10 @@ ln -sf ../configure .
%else
--disable-xindy \
%endif
--disable-xz \
--disable-dump-share \
--disable-xindy-rules \
--disable-xindy-docs \
--with-banner-add=" - openmamba" \
--disable-dvisvgm \
--disable-multiplatform \
--disable-dialog \
@ -286,7 +296,7 @@ ln -sf ../configure .
# --enable-mktextex-default \
# --disable-xz \
%make
make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -294,7 +304,7 @@ cd build
%makeinstall
# create symlinks
../texk/texlive/tl_scripts/texlinks.sh %{buildroot}%{_bindir}
../texk/texlive/linked_scripts/texlive-extra/texlinks.sh %{buildroot}%{_bindir}
install -d -m0755 %{buildroot}%{_datadir}
cp -r ../texmf-dist %{buildroot}%{_datadir}
@ -408,7 +418,7 @@ fi
%uninstall_info dvipng.info
%uninstall_info kpathsea.info
%uninstall_info web2c.info
exit 0
:
%posttrans
if [ $1 -ge 1 ]; then
@ -432,11 +442,11 @@ fi
%post dvips
%install_info dvips.info
exit 0
:
%preun dvips
%uninstall_info dvips.info
exit 0
:
%files
%defattr(-,root,root)
@ -625,6 +635,9 @@ exit 0
%{_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