latexmk/latexmk.spec

427 lines
16 KiB
RPMSpec
Raw Normal View History

Name: latexmk
2023-11-07 15:40:16 +00:00
Version: 4.81
Release: 1%{?dist}
Summary: A make-like utility for LaTeX files
%global upstreamver %(sed 's/\\.//' <<< %{version})
License: GPL-2.0-or-later
2023-11-07 15:40:16 +00:00
URL: https://www.cantab.net/users/johncollins/latexmk/
2023-01-08 18:12:49 +00:00
Source0: %{url}/%{name}-%{upstreamver}.zip
Source1: latexmkrc
Source2: latexmk-README.fedora
BuildArch: noarch
2016-10-25 02:52:54 +00:00
BuildRequires: perl-generators
Requires: tex-latex-bin, ghostscript, xdg-utils
%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
%autosetup -n %{name}
# Invoke perl directly
sed -i.orig "s|^#\!/usr/bin/env perl|#\!/usr/bin/perl -w|" latexmk.pl
2023-04-04 19:25:23 +00:00
touch -r latexmk.pl.orig latexmk.pl
rm latexmk.pl.orig
%build
cp -p %{SOURCE2} README.fedora
%install
2023-01-08 18:12:49 +00:00
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_sysconfdir}
install -m 0755 -p latexmk.pl %{buildroot}%{_bindir}/latexmk
install -m 0644 -p latexmk.1 %{buildroot}%{_mandir}/man1
install -m 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}
2016-02-26 02:26:10 +00:00
# Remove files we don't want in the docs
rm -f extra-scripts/*.bat
%files
%{_bindir}/latexmk
%{_mandir}/man1/latexmk.1*
%config(noreplace) %{_sysconfdir}/latexmkrc
2020-01-04 00:00:15 +00:00
%doc CHANGES README README.fedora extra-scripts example_rcfiles
%doc latexmk.pdf
%license COPYING
%changelog
2023-11-07 15:40:16 +00:00
* Tue Nov 7 2023 Jerry James <loganjerry@gmail.com> - 4.81-1
- Version 4.81
- New project URL
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.80-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-04-04 19:25:23 +00:00
* Tue Apr 4 2023 Jerry James <loganjerry@gmail.com> - 4.80-1
- Version 4.80
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.79-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2023-01-08 18:12:49 +00:00
* Sat Jan 7 2023 Jerry James <loganjerry@gmail.com> - 4.79-1
- Version 4.79
* Mon Nov 21 2022 Jerry James <loganjerry@gmail.com> - 4.78-1
- Version 4.78
- Convert License tag to SPDX
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.77-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-03-19 22:18:27 +00:00
* Sat Mar 19 2022 Jerry James <loganjerry@gmail.com> - 4.77-1
- Update to 4.77
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.76-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Dec 05 2021 Michael Kuhn <suraia@fedoraproject.org> - 4.76-2
- Fix Fedora configuration not being found
* Wed Nov 24 2021 Jerry James <loganjerry@gmail.com> - 4.76-1
- Update to 4.76
- Drop upstreamed -conf patch
2021-09-27 14:17:57 +00:00
* Mon Sep 27 2021 Jerry James <loganjerry@gmail.com> - 4.75-1
- Update to 4.75
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.74b-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-08 21:33:58 +00:00
* Tue Jun 8 2021 Jerry James <loganjerry@gmail.com> - 4.74b-1
- Update to 4.74b
2021-05-17 19:50:07 +00:00
* Mon May 17 2021 Jerry James <loganjerry@gmail.com> - 4.74-1
- Update to 4.74
2021-05-06 14:43:17 +00:00
* Thu May 6 2021 Jerry James <loganjerry@gmail.com> - 4.73-1
- Update to 4.73
2021-04-17 16:38:09 +00:00
* Sat Apr 17 2021 Jerry James <loganjerry@gmail.com> - 4.72b-1
- Update to 4.72b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.70b-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-09-30 14:52:08 +00:00
* Wed Sep 30 2020 Jerry James <loganjerry@gmail.com> - 4.70b-1
- Update to 4.70b
2020-09-09 22:15:17 +00:00
* Wed Sep 9 2020 Jerry James <loganjerry@gmail.com> - 4.70-1
- Update to 4.70
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.69a-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-04-17 20:48:32 +00:00
* Fri Apr 17 2020 Jerry James <loganjerry@gmail.com> - 4.69a-1
- Update to 4.69a
2020-03-12 20:30:48 +00:00
* Thu Mar 12 2020 Jerry James <loganjerry@gmail.com> - 4.69-1
- Update to 4.69
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.67-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-04 00:00:15 +00:00
* Fri Jan 3 2020 Jerry James <loganjerry@gmail.com> - 4.67-1
- Update to 4.67
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.65-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-06-27 03:34:46 +00:00
* Wed Jun 26 2019 Jerry James <loganjerry@gmail.com> - 4.65-1
- Update to 4.65
2019-05-22 01:10:45 +00:00
* Tue May 21 2019 Jerry James <loganjerry@gmail.com> - 4.64a-1
- Update to 4.64a
2019-04-06 18:17:32 +00:00
* Sat Apr 6 2019 Jerry James <loganjerry@gmail.com> - 4.63b-1
- Update to 4.63b
2019-03-15 01:23:19 +00:00
* Thu Mar 14 2019 Jerry James <loganjerry@gmail.com> - 4.63-1
- Update to 4.63
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.61-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-10-31 01:38:10 +00:00
* Tue Oct 30 2018 Jerry James <loganjerry@gmail.com> - 4.61-1
- Update to 4.61
2018-09-23 21:35:13 +00:00
* Sat Sep 22 2018 Jerry James <loganjerry@gmail.com> - 4.60-1
- Update to 4.60
2018-08-09 02:28:02 +00:00
* Wed Aug 8 2018 Jerry James <loganjerry@gmail.com> - 4.59-1
- Update to 4.59
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.57-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-22 01:11:43 +00:00
* Thu Jun 21 2018 Jerry James <loganjerry@gmail.com> - 4.57-1
- Update to 4.57
2018-05-28 02:21:17 +00:00
* Mon May 28 2018 Jerry James <loganjerry@gmail.com> - 4.56-1
- Update to 4.56
2018-03-17 02:01:42 +00:00
* Fri Mar 16 2018 Jerry James <loganjerry@gmail.com> - 4.55d-1
- Update to 4.55d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.55a-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-02-04 00:20:39 +00:00
* Sat Feb 3 2018 Jerry James <loganjerry@gmail.com> - 4.55a-1
- Update to 4.55a
2018-01-18 01:26:06 +00:00
* Wed Jan 17 2018 Jerry James <loganjerry@gmail.com> - 4.55-1
- Update to 4.55
- Update URLs
2017-11-24 17:05:00 +00:00
* Fri Nov 24 2017 Jerry James <loganjerry@gmail.com> - 4.54-1
- Update to 4.54
2017-08-10 03:12:37 +00:00
* Wed Aug 9 2017 Jerry James <loganjerry@gmail.com> - 4.53a-1
- Update to 4.53a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.52c-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.52c-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-24 16:44:20 +00:00
* Tue Jan 24 2017 Jerry James <loganjerry@gmail.com> - 4.52c-1
- Update to 4.52c
2017-01-14 16:49:01 +00:00
* Sat Jan 14 2017 Jerry James <loganjerry@gmail.com> - 4.51-1
- Update to 4.51
2016-10-25 02:52:54 +00:00
* Tue Oct 25 2016 Jerry James <loganjerry@gmail.com> - 4.48-1
- Update to 4.48
2016-04-29 03:01:30 +00:00
* Thu Apr 28 2016 Jerry James <loganjerry@gmail.com> - 4.45-1
- Update to 4.45
2016-02-26 02:26:10 +00:00
* Thu Feb 25 2016 Jerry James <loganjerry@gmail.com> - 4.44-1
- Update to 4.44
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.43a-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Nov 26 2015 Jerry James <jamesjer@diannao.jamezone.org> - 4.43a-1
- Update to 4.43a:
- Source files in directories with non-ASCII names are not correctly detected
under MiKTeX
- On cleanup, synctex.gz files are deleted only by -C, not by -c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.42-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Jan 12 2015 Jerry James <loganjerry@gmail.com> - 4.42-1
- Update to 4.42:
- -c also deletes $deps_file if it is used
- Fix bugs associated with the -cd option
- Add missfont.log and the generated synctex.gz to standard cleaned-up files
* Tue Dec 9 2014 Jerry James <loganjerry@gmail.com> - 4.40h-1
- Fix license handling
- Relax LaTeX Requires slightly
- Update to 4.40h:
- When -jobname option is used, quote it on command line.
- Change maintainer's preferred e-mail.
- Attempt to improve handling of errors from (pdf)latex.
- Fix up for the making of -eps-converted-to.pdf
- Improve listing of warning lines from log file.
- Fix failure when using both -cd and -output-directory
- If user's home directory can't be determined, then don't read ~/.latexmkrc
- Introduce configuration variable $silence_logfile_warnings
- In setting $pscmd, allow for non-existent environment variable USER
- Miscellaneous corrections.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.40-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Jan 27 2014 Jerry James <loganjerry@gmail.com> - 4.40-1
- Update to 4.40:
- Fix failure to clean up correctly when root filename contains '['.
* Mon Dec 2 2013 Jerry James <loganjerry@gmail.com> - 4.39-1
- Update to 4.39:
- Automatic creation of subdirectories of auxdir
- Add error diagnostics to if_source
- Allow print_type = 'auto'
- Fix use of directories with names containing perl glob characters
- Ensure that subdirectories are created properly
- In output of dependencies, include pathname of target file(s) in the rule.
- In -pvc mode, writing of deps file is per make not per overall run.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.37-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 9 2013 Jerry James <loganjerry@gmail.com> - 4.37-1
- Update URLs
- Update to 4.37:
- Fix failure when current dir's name contains special regexp characters
- Make -rules work with -pvc
- Add -lualatex option
- Allow $clean_ext and $clean_full_ext to contain wildcards
- Fix bug when using revtex4-1.cls
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.35-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Nov 19 2012 Jerry James <loganjerry@gmail.com> - 4.35-1
- Update to 4.35 (fix retaining old dependency info with -gg)
* Wed Oct 24 2012 Jerry James <loganjerry@gmail.com> - 4.34-1
- Update to 4.34 (eliminate unnecessary runs of latex/pdflatex)
* Mon Aug 20 2012 Jerry James <loganjerry@gmail.com> - 4.33c-1
- Update to 4.33c (improved error handling for latex/pdflatex)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Apr 2 2012 Jerry James <loganjerry@gmail.com> - 4.31-1
- Update to 4.31 (numerous new features documented at
http://www.phys.psu.edu/~collins/software/latexmk-jcc/versions.html)
2012-01-10 16:38:33 +00:00
* Tue Jan 10 2012 Jerry James <loganjerry@gmail.com> - 4.30a-2
- Mass rebuild for Fedora 17
* Mon Dec 12 2011 Jerry James <loganjerry@gmail.com> - 4.30a-1
- Add latexmk.pdf to docs
- Update to 4.30a:
- Fix use of bibtex when $aux_dir and/or $out_dir are set
- Documentation of $search_path separator variable
- Work with feynmp package and mpost
- Let dvips find files in the output directory
- In search for cus-deps that can make a missing file, look in $out_dir
- Parse biber 0.9.7 error messages
* Mon Nov 28 2011 Jerry James <loganjerry@gmail.com> - 4.28a-1
- Update to 4.28a:
- Corrects handling of missing files needed by bibtex or biber
- Corrects duplicate invocations of dvipdf and ps2pdf
* Mon Oct 17 2011 Jerry James <loganjerry@gmail.com> - 4.27a-1
- Update to 4.27a:
- Fixes making ps/pdf files via a temporary file with no %%D placeholder
- Adds png to list of graphics extensions for pdflatex
- Adds -norc option to prevent auto-reading of rc files
- Adds -aux-directory and -output-directory options
* Mon Aug 15 2011 Jerry James <loganjerry@gmail.com> - 4.26-1
- Update to 4.26 (fix some bugs in error reporting)
* Mon Jul 11 2011 Jerry James <loganjerry@gmail.com> - 4.25-1
- Update to 4.25 (add deps output file to dependency information)
* Tue Apr 19 2011 Jerry Jamse <loganjerry@gmail.com> - 4.23a-1
- Update to 4.23a (fix detection of source files listed in .fls file)
* Mon Mar 28 2011 Jerry James <loganjerry@gmail.com> - 4.23-1
- Update to 4.23 (several bug fixes, new dependency-tracking functionality)
- Drop BuildRoot and %%clean
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.22e-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Feb 7 2011 Jerry James <loganjerry@gmail.com> - 4.22e-1
- Update to 4.22e (fixes incorrect error handling when reading init files)
* Mon Jan 3 2011 Jerry James <loganjerry@gmail.com> - 4.22-1
- Update to 4.22 (fixes more parse problems, adds biber support)
* Mon Aug 2 2010 Jerry James <loganjerry@gmail.com> - 4.18-1
- Update to 4.18 (parses natbib's citation-undefined warning)
- Drop latexmk-man.patch, upstreamed.
* 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.
* Mon May 24 2010 Jerry James <loganjerry@gmail.com> - 4.16a-1
- Update to 4.16a (solves problem with preview files on NFS filesystems)
* Mon May 17 2010 Jerry James <loganjerry@gmail.com> - 4.16-1
- Update to 4.16 (solves problem with misparsed log files)
* Wed Apr 21 2010 Jerry James <loganjerry@gmail.com> - 4.15c-1
- Update to 4.15c (solves failure to detect some dependent files)
* Mon Apr 12 2010 Jerry James <loganjerry@gmail.com> - 4.15-1
- Update to 4.15 (some diagnostic and error-handling improvements)
* 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.
* 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.
* Mon Aug 24 2009 Jerry James <loganjerry@gmail.com> - 4.10-1
- Update to 4.10 to correctly handle files produced by epstopdf.
* 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
* 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.
* 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.
* 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
* 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.
* 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
* 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
* 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