[packages/latexmk] - new; contained in texlive 2009+
qboosh
qboosh at pld-linux.org
Wed Sep 4 21:01:42 CEST 2019
commit 33c0faa9dabb8e185a064bedd090131cfa9bb0ef
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 4 21:04:22 2019 +0200
- new; contained in texlive 2009+
latexmk.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
---
diff --git a/latexmk.spec b/latexmk.spec
new file mode 100644
index 0000000..5876dc2
--- /dev/null
+++ b/latexmk.spec
@@ -0,0 +1,59 @@
+%include /usr/lib/rpm/macros.perl
+Summary: latexmk - generate LaTeX document
+Summary(pl.UTF-8): latexmk - generowanie dokumentów w LaTeXu
+Name: latexmk
+# see end of CHANGES file
+Version: 4.65
+Release: 1
+License: GPL v2
+Group: Applications/Publishing/TeX
+Source0: http://tug.ctan.org/support/latexmk.zip
+# Source0-md5: 57f3ea42ba3c0b6dcffe07c640d2b54e
+URL: https://ctan.org/pkg/latexmk
+BuildRequires: rpm-perlprov
+BuildRequires: sed >= 4.0
+BuildRequires: unzip
+Requires: texlive-latex
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Latexmk completely automates the process of generating a LaTeX
+document. Essentially, it is a highly specialized cousin of the
+general make utility. Given the source files for a document, latexmk
+issues the appropriate sequence of commands to generate a .dvi, .ps,
+.pdf or hardcopy version of the document, including repeated running
+of the programs until cross references etc. are resolved. Latexmk can
+also be set to run continuously with a previewer; the latex program,
+etc., are rerun whenever one of the source files is modified.
+
+%description -l pl.UTF-8
+Latexmk całkowicie automatyzuje proces generowania dokumentów w
+LaTeXu. Zasadniczo jest to wysoko specjalizowany kuzyn ogólnego
+polecenia make. Po podaniu plików źródłowych dokumentu latexmk
+wydaje odpowiednią sekwencję poleceń do wygenerowania wersji .dvi,
+.ps, .pdf lub wydruku dokumentu, włącznie z powtarzaniem uruchamiania
+tych programów aż do rozwiązania odnośników itp.. Latexmk może być
+także skonfigurowany do stałego działania wraz z przeglądarką -
+program latex itd. są uruchamiane ponownie, kiedy zostanie
+zmodyfikowany jakiś plik źródłowy.
+
+%prep
+%setup -q -n %{name}
+
+%{__sed} -i '1s,/usr/bin/env perl,%{__perl},' latexmk.pl
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+cp -p latexmk.pl $RPM_BUILD_ROOT%{_bindir}/latexmk
+cp -p latexmk.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README
+%attr(755,root,root) %{_bindir}/latexmk
+%{_mandir}/man1/latexmk.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/latexmk.git/commitdiff/33c0faa9dabb8e185a064bedd090131cfa9bb0ef
More information about the pld-cvs-commit
mailing list