2007-03-30 15:34:53 +00:00
|
|
|
Name: latexmk
|
2010-07-06 16:50:13 +00:00
|
|
|
Version: 4.17
|
2009-08-24 20:15:54 +00:00
|
|
|
Release: 1%{?dist}
|
2007-03-30 15:34:53 +00:00
|
|
|
Summary: A make-like utility for LaTeX files
|
|
|
|
|
|
|
|
Group: Applications/Publishing
|
2007-08-05 03:54:32 +00:00
|
|
|
License: GPLv2+
|
2007-03-30 15:34:53 +00:00
|
|
|
URL: http://www.phys.psu.edu/~collins/software/latexmk-jcc/
|
2010-07-06 16:50:13 +00:00
|
|
|
Source0: http://www.phys.psu.edu/~collins/software/latexmk-jcc/latexmk-417.zip
|
2007-03-30 15:34:53 +00:00
|
|
|
Source1: latexmk.conf
|
|
|
|
Source2: latexmk-README.fedora
|
2008-09-24 17:01:56 +00:00
|
|
|
# Change the system-wide configuration file to /etc/latexmk.conf and fix the
|
|
|
|
# man page accordingly. This patch has not been submitted upstream, as
|
|
|
|
# upstream needs to be backwards compatible with previous versions of latexmk.
|
|
|
|
# Fedora has only ever used /etc/latexmk.conf.
|
|
|
|
Patch0: latexmk-conf.patch
|
2010-07-06 16:50:13 +00:00
|
|
|
# Fix some insufficiently escaped constructs on the man page. Sent upstream
|
|
|
|
# 6 Jul 2010.
|
|
|
|
Patch1: latexmk-man.patch
|
2007-03-30 15:34:53 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2009-04-13 21:03:00 +00:00
|
|
|
Requires: tex(latex), ghostscript, xdg-utils
|
2007-03-30 15:34:53 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Latexmk is a perl script for running LaTeX the correct number of times to
|
|
|
|
resolve cross references, etc.; it also runs auxiliary programs (bibtex,
|
|
|
|
makeindex if necessary, and dvips and/or a previewer as requested). It has
|
|
|
|
a number of other useful capabilities, for example to start a previewer and
|
|
|
|
then run latex whenever the source files are updated, so that the previewer
|
|
|
|
gives an up-to-date view of the document. The script runs on both UNIX and
|
|
|
|
MS-WINDOWS (95, ME, XP, etc). This script is a corrected and improved
|
|
|
|
version of the original version of latexmk.
|
|
|
|
|
|
|
|
Before using a previewer, read the file README.fedora.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c
|
2009-04-13 21:03:00 +00:00
|
|
|
%patch0
|
2010-07-06 16:50:13 +00:00
|
|
|
%patch1
|
2007-03-30 15:34:53 +00:00
|
|
|
cp %{SOURCE2} README.fedora
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
|
install -m 0755 -p latexmk.pl $RPM_BUILD_ROOT%{_bindir}/latexmk
|
|
|
|
install -m 0644 -p latexmk.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/latexmk.conf
|
2010-04-12 21:41:34 +00:00
|
|
|
%doc CHANGES COPYING INSTALL README README.fedora extra-scripts example_rcfiles
|
2007-03-30 15:34:53 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-07-06 16:50:13 +00:00
|
|
|
* Tue Jul 6 2010 Jerry James <loganjerry@gmail.com> - 4.17-1
|
|
|
|
- Update to 4.17 (fixes log file misparse with filename-space-message sequence)
|
|
|
|
- Add latexmk-man.patch to fix insufficiently escaped man page constructs.
|
|
|
|
|
2010-05-24 21:42:49 +00:00
|
|
|
* Mon May 24 2010 Jerry James <loganjerry@gmail.com> - 4.16a-1
|
|
|
|
- Update to 4.16a (solves problem with preview files on NFS filesystems)
|
|
|
|
|
2010-05-17 16:11:48 +00:00
|
|
|
* Mon May 17 2010 Jerry James <loganjerry@gmail.com> - 4.16-1
|
|
|
|
- Update to 4.16 (solves problem with misparsed log files)
|
|
|
|
|
2010-04-21 15:29:10 +00:00
|
|
|
* Wed Apr 21 2010 Jerry James <loganjerry@gmail.com> - 4.15c-1
|
|
|
|
- Update to 4.15c (solves failure to detect some dependent files)
|
|
|
|
|
2010-04-12 21:41:34 +00:00
|
|
|
* Mon Apr 12 2010 Jerry James <loganjerry@gmail.com> - 4.15-1
|
|
|
|
- Update to 4.15 (some diagnostic and error-handling improvements)
|
|
|
|
|
2010-01-25 16:04:56 +00:00
|
|
|
* Mon Jan 25 2010 Jerry James <loganjerry@gmail.com> - 4.13a-1
|
|
|
|
- Update to 4.13a (fixes bug with -C not deleting files).
|
|
|
|
|
2010-01-18 18:27:43 +00:00
|
|
|
* Mon Jan 18 2010 Jerry James <loganjerry@gmail.com> - 4.13-1
|
|
|
|
- Update to 4.13.
|
|
|
|
|
2009-12-30 03:47:37 +00:00
|
|
|
* Tue Dec 29 2009 Jerry James <loganjerry@gmail.com> - 4.12-1
|
|
|
|
- Update to 4.12 to get new option to not run bibtex.
|
|
|
|
- Add a missing semicolon to the conf file (bz 551082).
|
|
|
|
|
2009-12-01 16:32:27 +00:00
|
|
|
* Tue Dec 1 2009 Jerry James <loganjerry@gmail.com> - 4.11-1
|
|
|
|
- Update to 4.11.
|
|
|
|
|
2009-08-24 20:15:54 +00:00
|
|
|
* Mon Aug 24 2009 Jerry James <loganjerry@gmail.com> - 4.10-1
|
|
|
|
- Update to 4.10 to correctly handle files produced by epstopdf.
|
|
|
|
|
2009-07-25 04:59:46 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.07-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-01 15:44:26 +00:00
|
|
|
* Mon Jun 1 2009 Jerry James <loganjerry@gmail.com> - 4.07-1
|
|
|
|
- Update to 4.07 to correct problem with exiting from preview-continuous mode.
|
|
|
|
|
2009-04-13 21:03:00 +00:00
|
|
|
* Mon Apr 13 2009 Jerry James <loganjerry@gmail.com> - 4.05-1
|
|
|
|
- Update to 4.05 to correct problems when running latex and pdflatex on the
|
|
|
|
same source file.
|
|
|
|
|
2009-02-25 12:42:09 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.03-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-07 00:22:04 +00:00
|
|
|
* Tue Jan 6 2009 Jerry James <loganjerry@gmail.com> - 4.03-1
|
|
|
|
- Update to 4.03 to fix log file parsing
|
|
|
|
|
2008-12-01 20:40:54 +00:00
|
|
|
* Mon Dec 1 2008 Jerry James <loganjerry@gmail.com> - 4.02b-1
|
|
|
|
- Update to 4.02b to fix bz 473430
|
|
|
|
|
2008-10-13 18:33:12 +00:00
|
|
|
* Mon Oct 13 2008 Jerry James <loganjerry@gmail.com> - 4.01-1
|
|
|
|
- New version 4.01.
|
|
|
|
|
2008-09-24 17:01:56 +00:00
|
|
|
* Wed Sep 24 2008 Jerry James <loganjerry@gmail.com> - 4.00e-1
|
|
|
|
- New version 4.00e.
|
|
|
|
- Drop the perl patch; the script finds it just fine
|
|
|
|
|
2007-09-01 04:18:15 +00:00
|
|
|
* Fri Aug 31 2007 Jerry James <loganjerry@gmail.com> - 3.20-1
|
|
|
|
- New version 3.20.
|
|
|
|
- Texlive isn't as near as I thought; require the tetex packages for now.
|
|
|
|
|
2007-08-22 03:38:40 +00:00
|
|
|
* Tue Aug 21 2007 Jerry James <loganjerry@gmail.com> - 3.08n-5
|
|
|
|
- Update license tag
|
|
|
|
|
2007-03-30 15:34:53 +00:00
|
|
|
* Tue Mar 27 2007 Jerry James <Jerry.James@usu.edu> - 3.08n-4
|
|
|
|
- Avoid tetex vs. texlive issues by Requiring the binaries.
|
|
|
|
|
|
|
|
* Tue Mar 20 2007 Jerry James <Jerry.James@usu.edu> - 3.08n-3
|
|
|
|
- Use xdg-open for the DVI and PostScript previewers also.
|
|
|
|
- Describe previewer configuration in README.fedora.
|
|
|
|
|
|
|
|
* Mon Mar 19 2007 Jerry James <Jerry.James@usu.edu> - 3.08n-2
|
|
|
|
- Use xdg-open instead of explicitly invoking evince.
|
|
|
|
- Package the extra-scripts directory as documentation.
|
|
|
|
- Fix a few other packaging infelicities as pointed out in Extras review.
|
|
|
|
|
|
|
|
* Tue Feb 27 2007 Jerry James <Jerry.James@usu.edu> - 3.08n-1
|
|
|
|
- Initial RPM
|