%global tl_version 2025 %global revision 299 # eq-save 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-eq-save Epoch: 12 Version: svn%{revision} Release: 2%{?dist} Summary: Save exerquiz quizzes and resume License: LPPL-1.3c URL: http://tug.org/texlive/ BuildArch: noarch # Main collection source Source0: https://ctan.math.illinois.edu/systems/texlive/tlcontrib/archive/eq-save.tar.xz Source1: https://ctan.math.illinois.edu/systems/texlive/tlcontrib/archive/eq-save.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(eq-save.sty) = %{tl_version} Requires: texlive-base Requires: texlive-kpathsea Requires: tex(exerquiz.sty) Requires: tex(atbegshi.sty) %description The package has a scheme for saving data from exerquiz documents so the student can return later to continue with quiz results restored. %prep # Extract license files tar -xf %{SOURCE2} # Extract component tarballs tar -xf %{SOURCE0} tar -xf %{SOURCE1} %build # Nothing to build %install mkdir -p %{buildroot}%{_texmf_main} cp -a tex doc %{buildroot}%{_texmf_main} %files %license lppl.txt %{_texmf_main}/tex/latex/eq-save/ %doc %{_texmf_main}/doc/latex/eq-save/ %changelog * Wed Oct 1 2025 Tom Callaway - 12:svn299-2 - fix tabs/spaces issue - unpack component tarballs in %%build - add comment on license tarball * Tue Sep 16 2025 Tom Callaway - 12:svn299-1 - initial package