%{!?_texdir: %global _texdir %{_datadir}/texlive} Name: texlive-cancel Version: svn32508 Release: 1%{?dist} Summary: Place lines through maths formulae Group: Applications/Publishing License: Public Domain URL: http://tug.org/texlive/ Source0: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive/cancel.tar.xz Source1: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive/cancel.doc.tar.xz Source2: pd.txt Requires: texlive-base Requires: texlive-kpathsea-bin, tex-kpathsea Provides: tex-cancel Provides: tex(cancel.sty) BuildArch: noarch %description A package to draw diagonal lines ("cancelling" a term) and arrows with limits (cancelling a term "to a value") through parts of maths formulae. %package doc Summary: Documentation for cancel Version: svn32508 Release: 1%{?dist} Provides: tex-cancel-doc BuildArch: noarch AutoReqProv: No %description doc Documentation for cancel %prep %setup -q -c -T cp %{SOURCE2} . %build %install mkdir -p %{buildroot}%{_texdir}/texmf-dist xz -dc %{SOURCE0} | tar x -C %{buildroot}%{_texdir}/texmf-dist xz -dc %{SOURCE1} | tar x -C %{buildroot}%{_texdir}/texmf-dist rm -rf %{buildroot}%{_texdir}/texmf-dist/tlpkg %clean rm -rf %{buildroot} %files %license pd.txt %dir %{_texdir}/texmf-dist/tex/latex/cancel %{_texdir}/texmf-dist/tex/latex/cancel/ %files doc %license pd.txt %dir %{_texdir}/texmf-dist/doc/latex/cancel %{_texdir}/texmf-dist/doc/latex/cancel/ %changelog * Tue Oct 24 2017 Yoshihiro OKUMURA svn32508-1 - initial packaging for el7