update to 20190410 [release 20190410-1mamba;Tue Jul 16 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 18:27:44 +01:00
parent 8dc50b725e
commit a874e2f645
2 changed files with 4162 additions and 41 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
%define majver %(echo %{version} | cut -c1-4)
Name: texlive
Version: 20170524
Version: 20190410
Release: 1mamba
Summary: A comprehensive TeX document production system
Group: Applications/Publishing
@ -9,9 +9,10 @@ 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
#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
@ -61,6 +62,7 @@ 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}
@ -95,8 +97,7 @@ This package contains shared libraries for %{name}.
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
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
@ -189,8 +190,9 @@ xdvi tools from %{name}.
%debug_package
%prep
%setup -q -n %{name}-%{version}-source -D -T
:<< ___EOF
%setup -q -n %{name}-%{version}-source
#-D -T
#:<< ___EOF
# disable requires and provides for doc and source packages
%define _use_internal_dependency_generator 0
@ -212,35 +214,46 @@ grep -v %{buildroot}%{_datadir}/texmf-dist/source | \
_EOF
chmod +x %{_builddir}/texlive-%{version}-source/find_requires.sh
tar xf %{SOURCE1}
# 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
%build
:<< ___EOF
#:<< ___EOF
mkdir -p build
cd build
ln -sf ../configure .
%configure \
--disable-native-texlive-build \
--enable-build-in-source-tree \
--enable-shared \
--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 \
--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} \
@ -257,30 +270,34 @@ sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
--disable-xindy-rules \
--disable-xindy-docs \
--with-banner-add=" - openmamba" \
--disable-dvisvgm \
--disable-multiplatform \
--disable-dialog \
--disable-t1utils \
--disable-psutils \
--disable-bibtexu \
--disable-xz \
--disable-ptexenc \
--disable-largefile \
--disable-rpath \
--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/tl_scripts/texlinks.sh %{buildroot}%{_bindir}
../texk/texlive/tl_scripts/texlinks.sh %{buildroot}%{_bindir}
install -d -m0755 %{buildroot}%{_datadir}
cp -r texmf-dist %{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
@ -355,7 +372,7 @@ cat << EOF > %{buildroot}%{_sysconfdir}/rpm/macros.texlive
EOF
install -d -m0755 %{buildroot}%{_datadir}/tlpkg
cp -a texk/tests/TeXLive %{buildroot}%{_datadir}/tlpkg/
cp -a ../texk/tests/TeXLive %{buildroot}%{_datadir}/tlpkg/
# some fine cleanups
rm -f %{buildroot}%{_bindir}/man
@ -396,8 +413,10 @@ exit 0
%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
@ -436,10 +455,20 @@ exit 0
%config %{_sysconfdir}/texmf/xdvi/XDvi
%{_sysconfdir}/rpm/macros.texlive
%{_bindir}/*
%exclude %{_bindir}/ht*
%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
%exclude %{_bindir}/xdvi-xaw
%exclude %{_bindir}/xdvipdfmx
%dir %{_datadir}/tlpkg
%dir %{_datadir}/tlpkg/TeXLive
%{_datadir}/tlpkg/TeXLive/TLConfig.pm
@ -458,7 +487,7 @@ exit 0
%{_libdir}/libkpathsea.so.*
%{_libdir}/libptexenc.so.*
%{_libdir}/libsynctex.so.*
%{_libdir}/libtexlua52.so.*
%{_libdir}/libtexlua53.so.*
%{_libdir}/libtexluajit.so.*
%files -n lib%{name}-devel
@ -469,29 +498,24 @@ exit 0
%{_includedir}/ptexenc/*.h
%dir %{_includedir}/synctex
%{_includedir}/synctex/*
%dir %{_includedir}/texlua52
%{_includedir}/texlua52/*
%dir %{_includedir}/texlua53
%{_includedir}/texlua53/*
%dir %{_includedir}/texluajit
%{_includedir}/texluajit/*
%{_libdir}/libkpathsea.a
%{_libdir}/libkpathsea.la
%{_libdir}/libkpathsea.so
%{_libdir}/libptexenc.a
%{_libdir}/libptexenc.la
%{_libdir}/libptexenc.so
%{_libdir}/libsynctex.a
%{_libdir}/libsynctex.la
%{_libdir}/libsynctex.so
%{_libdir}/libtexlua52.a
%{_libdir}/libtexlua52.la
%{_libdir}/libtexlua52.so
%{_libdir}/libtexluajit.a
%{_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/texlua52.pc
%{_libdir}/pkgconfig/texlua53.pc
%{_libdir}/pkgconfig/texluajit.pc
%files core
@ -529,7 +553,6 @@ exit 0
%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
@ -544,8 +567,6 @@ exit 0
%{_datadir}/texmf-dist/xindy/*
%{_datadir}/texmf-dist/README
%dir %{_datadir}/texmf-local/
%dir %{_datadir}/texmf-dist/tex/latex
%{_datadir}/texmf-dist/tex/latex/*
%attr(0644, root, root) %verify(not md5 size mtime) %ghost %{_datadir}/texmf-local/ls-R
%dir %{_localstatedir}/lib/texmf
@ -567,6 +588,7 @@ exit 0
%{_bindir}/xdvi
%{_bindir}/xdvi-xaw
%{_bindir}/xdvipdfmx
%{_datadir}/applications/xdvi.desktop
%dir %{_datadir}/texmf-dist/xdvi
%{_datadir}/texmf-dist/xdvi/*
%{_mandir}/man1/xdvi.1*
@ -603,6 +625,9 @@ exit 0
%{_datadir}/texmf-dist/source/*
%changelog
* 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