%global tl_version 2025 %global revision 362 # mathtime-ltx is part of texlive, but it lives in their contrib archive. # ... but stuff in texlive still depends on it, so I've packaged it. # Epoch inherits from texlive for consistency. Name: texlive-mathtime-ltx Epoch: 12 Version: svn%{revision} Release: 2%{?dist} Summary: LaTeX macros for using MathTime and MathTime Plus License: LPPL-1.3c URL: http://tug.org/texlive/ BuildArch: noarch # Main collection source Source0: https://ctan.math.illinois.edu/systems/texlive/tlcontrib/archive/mathtime-ltx.tar.xz Source1: https://ctan.math.illinois.edu/systems/texlive/tlcontrib/archive/mathtime-ltx.doc.tar.xz # License texts # This tarball was created for TeXLive sometime in the early 2000s. # TL is ... inconsistent when it comes to including license texts. Source2: texlive-licenses.tar.xz BuildRequires: texlive-base Provides: tex(mathpi.sty) = %{tl_version} Provides: tex(mathtime.sty) = %{tl_version} Requires: texlive-base Requires: texlive-kpathsea %description LaTeX macros for using MathTime and MathTime Plus. %prep # Extract license files tar -xf %{SOURCE2} # Extract component files tar -xf %{SOURCE0} tar -xf %{SOURCE1} %build # Nothing to build %install mkdir -p %{buildroot}%{_texmf_main} cp -a fonts tex doc %{buildroot}%{_texmf_main} %files %license lppl.txt %{_texmf_main}/tex/latex/mathtime-ltx/ %{_texmf_main}/fonts/enc/dvips/mathtime-ltx/ %doc %{_texmf_main}/doc/latex/mathtime-ltx/ %changelog * Wed Oct 1 2025 Tom Callaway - 12:svn362-2 - unpack component tarballs during %%build - add comment about license tarball - fix tabs/spaces mismatch * Tue Sep 16 2025 Tom Callaway - 12:svn362-1 - initial package