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