latexmk-vl.spec 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Summary: Generate LaTeX document
  2. Name: latexmk
  3. Version: 426
  4. Release: 1%{?_dist_release}
  5. Source0: http://www.phys.psu.edu/~collins/software/%{name}-jcc/latexmk-%{version}.zip
  6. License: GPLv2+
  7. Group: Applications/Publishing
  8. URL: http://www.phys.psu.edu/~collins/software/latexmk-jcc/
  9. Requires: texlive-common
  10. Requires: ghostscript
  11. Requires: xdg-utils
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. Latexmk is a perl script for running LaTeX the correct number of times to resolve
  18. cross references, etc; it also runs auxiliary programs (bibtex, makeindex if necessary,
  19. and dvips and/or a previewer as requested). It has a number of other useful capabilities,
  20. for example to start a previewer and then run latex whenever the source files are
  21. updated, so that the previewer gives an up-to-date view of the document.
  22. %prep
  23. %setup -q -c
  24. %install
  25. %{__rm} -rf $RPM_BUILD_ROOT
  26. install -d $RPM_BUILD_ROOT%{_bindir}
  27. install -d $RPM_BUILD_ROOT%{_mandir}/man1
  28. install -m 0755 %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
  29. install -m 0644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/
  30. %clean
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root)
  34. %doc CHANGES COPYING README latexmk.pdf latexmk.txt example_rcfiles
  35. %{_bindir}/%{name}
  36. %{_mandir}/man1/%{name}.*
  37. %changelog
  38. * Mon Oct 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 426-1
  39. - initial build for Vine Linux