]> git.pld-linux.org Git - packages/latexmk.git/blame - latexmk.spec
- new; contained in texlive 2009+
[packages/latexmk.git] / latexmk.spec
CommitLineData
33c0faa9
JB
1%include /usr/lib/rpm/macros.perl
2Summary: latexmk - generate LaTeX document
3Summary(pl.UTF-8): latexmk - generowanie dokumentów w LaTeXu
4Name: latexmk
5# see end of CHANGES file
6Version: 4.65
7Release: 1
8License: GPL v2
9Group: Applications/Publishing/TeX
10Source0: http://tug.ctan.org/support/latexmk.zip
11# Source0-md5: 57f3ea42ba3c0b6dcffe07c640d2b54e
12URL: https://ctan.org/pkg/latexmk
13BuildRequires: rpm-perlprov
14BuildRequires: sed >= 4.0
15BuildRequires: unzip
16Requires: texlive-latex
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Latexmk completely automates the process of generating a LaTeX
21document. Essentially, it is a highly specialized cousin of the
22general make utility. Given the source files for a document, latexmk
23issues the appropriate sequence of commands to generate a .dvi, .ps,
24.pdf or hardcopy version of the document, including repeated running
25of the programs until cross references etc. are resolved. Latexmk can
26also be set to run continuously with a previewer; the latex program,
27etc., are rerun whenever one of the source files is modified.
28
29%description -l pl.UTF-8
30Latexmk całkowicie automatyzuje proces generowania dokumentów w
31LaTeXu. Zasadniczo jest to wysoko specjalizowany kuzyn ogólnego
32polecenia make. Po podaniu plików źródłowych dokumentu latexmk
33wydaje odpowiednią sekwencję poleceń do wygenerowania wersji .dvi,
34.ps, .pdf lub wydruku dokumentu, włącznie z powtarzaniem uruchamiania
35tych programów aż do rozwiązania odnośników itp.. Latexmk może być
36także skonfigurowany do stałego działania wraz z przeglądarką -
37program latex itd. są uruchamiane ponownie, kiedy zostanie
38zmodyfikowany jakiś plik źródłowy.
39
40%prep
41%setup -q -n %{name}
42
43%{__sed} -i '1s,/usr/bin/env perl,%{__perl},' latexmk.pl
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
49cp -p latexmk.pl $RPM_BUILD_ROOT%{_bindir}/latexmk
50cp -p latexmk.1 $RPM_BUILD_ROOT%{_mandir}/man1
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc CHANGES README
58%attr(755,root,root) %{_bindir}/latexmk
59%{_mandir}/man1/latexmk.1*
This page took 0.066376 seconds and 4 git commands to generate.