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) %define majver %(echo %{version} | cut -c1-4)
Name: texlive Name: texlive
Version: 20210325 Version: 20230313
Release: 2mamba Release: 1mamba
Summary: A comprehensive TeX document production system Summary: A comprehensive TeX document production system
Group: Applications/Publishing Group: Applications/Publishing
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.tug.org/texlive/ URL: https://tug.org/texlive/
Source: ftp://tug.org/texlive/historic/%{majver}/texlive-%{version}-source.tar.xz 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 #Source1: ftp://tug.org/texlive/historic/%{majver}/texlive-%{version}-texmf.tar.xz
Source2: texlive-texmf.cnf-openmamba Source2: texlive-texmf.cnf-openmamba
Source3: texlive-fonts.conf Source3: texlive-fonts.conf
@ -19,19 +20,15 @@ BuildRequires: glibc-devel
BuildRequires: libICE-devel BuildRequires: libICE-devel
BuildRequires: libSM-devel BuildRequires: libSM-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXaw-devel BuildRequires: libXaw-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: libXmu-devel BuildRequires: libXmu-devel
BuildRequires: libXpm-devel BuildRequires: libXpm-devel
BuildRequires: libXt-devel BuildRequires: libXt-devel
BuildRequires: libbrotli-devel BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffcall-devel BuildRequires: libffcall-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
@ -44,40 +41,38 @@ BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel BuildRequires: libicu-devel
BuildRequires: libjbig-devel BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: liblzma-devel
BuildRequires: libmpfr-devel BuildRequires: libmpfr-devel
BuildRequires: libpaper-devel BuildRequires: libpaper-devel
BuildRequires: libpcre-devel BuildRequires: libpcre-devel
BuildRequires: libperl BuildRequires: libperl
BuildRequires: libpixman-devel BuildRequires: libpixman-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libpotrace-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: libsigsegv-devel BuildRequires: libsigsegv-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libteckit-devel BuildRequires: libteckit-devel
BuildRequires: libtermcap-devel BuildRequires: libtermcap-devel
BuildRequires: libtiff-devel
BuildRequires: libunistring-devel BuildRequires: libunistring-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libwebp-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel BuildRequires: libzstd-devel
BuildRequires: libzzip-devel BuildRequires: libzzip-devel
BuildRequires: perl-Digest-SHA1 BuildRequires: perl-Digest-SHA1
BuildRequires: perl-Encode
BuildRequires: perl-File-Copy-Recursive BuildRequires: perl-File-Copy-Recursive
BuildRequires: perl-File-HomeDir BuildRequires: perl-File-HomeDir
BuildRequires: perl-File-Which BuildRequires: perl-File-Which
BuildRequires: perl-HTML-Formatter BuildRequires: perl-HTML-Format
BuildRequires: perl-HTML-Tree BuildRequires: perl-HTML-Tree
BuildRequires: perl-HTTP-Message BuildRequires: perl-HTTP-Message
BuildRequires: perl-IPC-System-Simple BuildRequires: perl-IPC-System-Simple
BuildRequires: perl-LWP-Protocol-https BuildRequires: perl-LWP-Protocol-https
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-Spreadsheet-ParseExcel BuildRequires: perl-Spreadsheet-ParseExcel
BuildRequires: perl-TimeDate BuildRequires: perl-TimeDate
BuildRequires: perl-Tk BuildRequires: perl-Tk
BuildRequires: perl-URI BuildRequires: perl-URI
BuildRequires: perl-Unicode-LineBreak
BuildRequires: perl-WWW-Mechanize BuildRequires: perl-WWW-Mechanize
BuildRequires: perl-YAML-Tiny BuildRequires: perl-YAML-Tiny
BuildRequires: perl-devel BuildRequires: perl-devel
@ -212,13 +207,15 @@ xdvi tools from %{name}.
%debug_package %debug_package
# Don't clean build at the end
%global __spec_rmbuild_cmd /bin/true
# Fix a build-id conflict with clisp # Fix a build-id conflict with clisp
%define _build_id_links none %define _build_id_links none
%prep %prep
%setup -q -n %{name}-%{version}-source %setup -q -n %{name}-%{version}-source -D -T
#-D -T :<< ___EOF
#:<< ___EOF
# disable requires and provides for doc and source packages # disable requires and provides for doc and source packages
%define _use_internal_dependency_generator 0 %define _use_internal_dependency_generator 0
@ -241,7 +238,7 @@ _EOF
chmod +x %{_builddir}/texlive-%{version}-source/find_requires.sh chmod +x %{_builddir}/texlive-%{version}-source/find_requires.sh
# Don't want to keep 2.7+ GB source file in src.rpm # 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 texlive-%{version}-texmf.tar.xz
#tar xf %{SOURCE1} #tar xf %{SOURCE1}
#mv texlive-%{version}-texmf/texmf . #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 #cp -pv texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc
%build %build
#:<< ___EOF
mkdir -p build mkdir -p build
cd build cd build
:<< ___EOF
ln -sf ../configure . ln -sf ../configure .
%configure \ %configure \
@ -318,9 +315,12 @@ ln -sf ../configure .
# --enable-build-in-source-tree \ # --enable-build-in-source-tree \
# --enable-mktextex-default \ # --enable-mktextex-default \
# --disable-xz \ # --disable-xz \
___EOF
make make
# KPATHSEA_LIBS="-L../kpathsea/.libs/ -lkpathsea"
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd build cd build
@ -535,15 +535,10 @@ fi
%{_includedir}/texlua53/* %{_includedir}/texlua53/*
%dir %{_includedir}/texluajit %dir %{_includedir}/texluajit
%{_includedir}/texluajit/* %{_includedir}/texluajit/*
%{_libdir}/libkpathsea.la
%{_libdir}/libkpathsea.so %{_libdir}/libkpathsea.so
%{_libdir}/libptexenc.la
%{_libdir}/libptexenc.so %{_libdir}/libptexenc.so
%{_libdir}/libsynctex.la
%{_libdir}/libsynctex.so %{_libdir}/libsynctex.so
%{_libdir}/libtexlua53.la
%{_libdir}/libtexlua53.so %{_libdir}/libtexlua53.so
%{_libdir}/libtexluajit.la
%{_libdir}/libtexluajit.so %{_libdir}/libtexluajit.so
%{_libdir}/pkgconfig/kpathsea.pc %{_libdir}/pkgconfig/kpathsea.pc
%{_libdir}/pkgconfig/ptexenc.pc %{_libdir}/pkgconfig/ptexenc.pc
@ -658,6 +653,9 @@ fi
%{_datadir}/texmf-dist/source/* %{_datadir}/texmf-dist/source/*
%changelog %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 * 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 - rebuilt to remove build_id_links conflict with clisp and fix texlive-fonts checksum invalid