Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Jerry James
40db6089d0 Version 4.88 2026-03-10 17:41:00 +00:00
Jerry James
0d67e044e5 Reflow the description 2026-03-10 17:40:42 +00:00
Yaakov Selkowitz
d1ec558631 Update dvipdf dependency
dvipdf was split out of the ghostscript package in F28:

https://src.fedoraproject.org/rpms/ghostscript/c/770acd3ace8a4574b27edd02d7e180bd4f451b56
2026-03-10 17:40:29 +00:00
Jerry James
baee49342f Version 4.87 2026-03-10 17:39:38 +00:00
Jerry James
46ed17d56e Move configuration steps to %conf 2026-03-10 17:39:16 +00:00
3 changed files with 20 additions and 33 deletions

View file

@ -1,9 +1,9 @@
Name: latexmk
Version: 4.86a
Version: 4.88
Release: %autorelease
Summary: A make-like utility for LaTeX files
%global upstreamver %(sed 's/\\.//' <<< %{version})
%global upstreamver %{gsub %version %. %{quote:}}
License: GPL-2.0-or-later
URL: https://www.cantab.net/users/johncollins/latexmk/
@ -14,23 +14,24 @@ Source2: latexmk-README.fedora
BuildArch: noarch
BuildRequires: perl-generators
Requires: tex-latex-bin, ghostscript, xdg-utils
Requires: tex-latex-bin, ghostscript-tools-dvipdf, 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.
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}
%conf
# Invoke perl directly
sed -i.orig "s|^#\!/usr/bin/env perl|#\!/usr/bin/perl -w|" latexmk.pl
touch -r latexmk.pl.orig latexmk.pl

View file

@ -39,18 +39,6 @@
# '^\(\\\\end occurred inside .*\)'
# );
# If nonzero, DVI-to-postscript conversion adds a banner message on each page
# $banner = 0;
# The darkness of the banner, a number between 0 (black) and 1 (white)
# $banner_intensity = 0.95;
# The banner message to print across each page if $banner is nonzero
# $banner_message = 'DRAFT';
# The size of the banner message (about 1100 divided by the message length)
# $banner_scale = 220;
# The name of the biber executable
# $biber = 'biber %O %S';
@ -148,12 +136,10 @@
# $dvi_mode = 0;
# The command to start a DVI previewer
# $dvi_previewer = 'start xdvi %O %S';
$dvi_previewer = 'xdg-open %O %S';
# $dvi_previewer = 'xdg-open %S';
# The command to start a DVI previewer in landscape mode
# $dvi_previewer_landscape = 'start xdvi -paper usr %O %S';
$dvi_previewer_landscape = 'xdg-open %O %S';
# $dvi_previewer_landscape = 'xdg-open %S';
# The command to run when the DVI viewer is set to be updated by a command
# $dvi_update_command = '';
@ -251,7 +237,7 @@ $dvi_update_method = 1;
# $hilatex_silent_switch = '-interaction=batchmode';
# The command to invoke a HNT previewer
$hnt_previewer = 'xdg-open %O %S';;
# $hnt_previewer = 'xdg-open %S';
# The basename of generated files
# $jobname = "";
@ -345,8 +331,7 @@ $hnt_previewer = 'xdg-open %O %S';;
# $pdf_mode = 0;
# The command to invoke a PDF previewer
# $pdf_previewer = 'start acroread %O %S';
$pdf_previewer = 'xdg-open %O %S';
# $pdf_previewer = 'xdg-open %S';
# The command to run when the PDF viewer is set to be updated by a command
# $pdf_update_command = '';
@ -393,12 +378,10 @@ $pdf_previewer = 'xdg-open %O %S';
# $ps_filter = '';
# The command to invoke a PostScript previewer
# $ps_previewer = 'start gv %O %S';
$ps_previewer = 'xdg-open %O %S';
# $ps_previewer = 'xdg-open %S';
# The command to invoke a PostScript previewer in landscape mode
# $ps_previewer_landscape = 'start gv -swap %O %S';
$ps_previewer_landscape = 'xdg-open %O %S';
# $ps_previewer_landscape = 'xdg-open %S';
# The command to run when the PostScript viewer is set to be updated by a
# command
@ -440,6 +423,9 @@ $ps_update_method = 1;
# Whether to use the recorder option on (pdf)latex
# $recorder = 1;
# Whether to report mismatch of name of cwd between report by .fls and from perl
# $report_cwd_mismatch = 0;
# Whether to display lists of dependencies.
# $rules_list = 0;

View file

@ -1 +1 @@
SHA512 (latexmk-486a.zip) = 32a0302a35dc9c9d9b0f2f766fbc983ed98b25d20d4badcb15fd2f7cf0d8d246b545afc547fe100d757a5d7c8300cb3299c442ffda33cd9e56b0018a649c8c4e
SHA512 (latexmk-488.zip) = fbf9b7a1b9e0ce00d6bff4db4355e3d542bfc8d49443b9bfb402599083ae4be62870c06dfcc2deb17baa39f6b462fc533ad53d8d58fa9152d0d1ebda2f98bc20