update to 20230313 [release 20230313-1mamba;Tue Mar 28 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:27:46 +01:00
parent 41e1663a3f
commit 08b9a6bac6

View File

@ -1,14 +1,15 @@
%define majver %(echo %{version} | cut -c1-4)
Name: texlive
Version: 20210325
Release: 2mamba
Version: 20230313
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
URL: https://tug.org/texlive/
Source: https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/%{majver}/texlive-%{version}-source.tar.xz
#Source: https://ctan.mirror.garr.it/mirrors/ctan/systems/texlive/Source/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
@ -19,19 +20,15 @@ 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: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffcall-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
@ -44,40 +41,38 @@ BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel
BuildRequires: liblzma-devel
BuildRequires: libmpfr-devel
BuildRequires: libpaper-devel
BuildRequires: libpcre-devel
BuildRequires: libperl
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpotrace-devel
BuildRequires: libreadline-devel
BuildRequires: libsigsegv-devel
BuildRequires: libstdc++6-devel
BuildRequires: libteckit-devel
BuildRequires: libtermcap-devel
BuildRequires: libtiff-devel
BuildRequires: libunistring-devel
BuildRequires: libuuid-devel
BuildRequires: libwebp-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
BuildRequires: libzzip-devel
BuildRequires: perl-Digest-SHA1
BuildRequires: perl-Encode
BuildRequires: perl-File-Copy-Recursive
BuildRequires: perl-File-HomeDir
BuildRequires: perl-File-Which
BuildRequires: perl-HTML-Formatter
BuildRequires: perl-HTML-Format
BuildRequires: perl-HTML-Tree
BuildRequires: perl-HTTP-Message
BuildRequires: perl-IPC-System-Simple
BuildRequires: perl-LWP-Protocol-https
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-Spreadsheet-ParseExcel
BuildRequires: perl-TimeDate
BuildRequires: perl-Tk
BuildRequires: perl-URI
BuildRequires: perl-Unicode-LineBreak
BuildRequires: perl-WWW-Mechanize
BuildRequires: perl-YAML-Tiny
BuildRequires: perl-devel
@ -212,13 +207,15 @@ xdvi tools from %{name}.
%debug_package
# Don't clean build at the end
%global __spec_rmbuild_cmd /bin/true
# Fix a build-id conflict with clisp
%define _build_id_links none
%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
@ -241,7 +238,7 @@ _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
wget https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/%{majver}/texlive-%{version}-texmf.tar.xz
tar xf texlive-%{version}-texmf.tar.xz
#tar xf %{SOURCE1}
#mv texlive-%{version}-texmf/texmf .
@ -258,9 +255,9 @@ sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
#cp -pv texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc
%build
#:<< ___EOF
mkdir -p build
cd build
:<< ___EOF
ln -sf ../configure .
%configure \
@ -318,9 +315,12 @@ ln -sf ../configure .
# --enable-build-in-source-tree \
# --enable-mktextex-default \
# --disable-xz \
___EOF
make
# KPATHSEA_LIBS="-L../kpathsea/.libs/ -lkpathsea"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd build
@ -535,15 +535,10 @@ fi
%{_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
@ -658,6 +653,9 @@ fi
%{_datadir}/texmf-dist/source/*
%changelog
* Tue Mar 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 20230313-1mamba
- update to 20230313
* Sun Jul 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20210325-2mamba
- rebuilt to remove build_id_links conflict with clisp and fix texlive-fonts checksum invalid