%{!?_texmf: %define _texmf %(eval "echo `kpsewhich -expand-var '$TEXMFMAIN'`")} %define texpkg cjwltx %define texpkgdir %{_texmf}/tex/latex/%{texpkg} %define texpkgdoc %{_texmf}/doc/latex/%{texpkg} Name: tex-cjwltx Version: 20090907 Release: 2%{?dist} Summary: LaTeX class for writing resumes and cover letters BuildArch: noarch Group: Applications/Publishing License: LPPL URL: http://www.avtokrator.org/~cwynne/files/tex/ Source0: http://www.avtokrator.org/~cwynne/files/tex/cjwltx.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: /usr/bin/kpsewhich Requires: tex(latex) Requires(post): /usr/bin/texhash Requires(postun): /usr/bin/texhash %description cjwltx is a LaTeX class for writing resumes. %prep %setup -q -n latex %build %install rm -rf %{buildroot} install -d -m 755 %{buildroot}%{texpkgdir} install -p -m 644 *.{cls,sty} %{buildroot}%{texpkgdir}/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{texpkgdir} %changelog * Sun Feb 14 2010 W. Michael Petullo - 20090907-2 - Require tex(latex) - Put braces around buildroot * Sun Sep 07 2009 W. Michael Petullo - 20090907-1 - Initial package