]>
Commit | Line | Data |
---|---|---|
b06e8040 MM |
1 | |
2 | %define short_name beamer | |
3 | %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ; | |
4 | ||
5 | Summary: A LaTeX class for producing beamer presentations | |
6 | Name: tetex-latex-beamer | |
7 | Version: 2.01 | |
8 | Release: 1 | |
9 | License: GPL | |
10 | Group: Applications/Publishing/TeX | |
11 | Source0: http://dl.sourceforge.net/latex-beamer/latex-beamer-%{version}.tar.gz | |
12 | # Source0-md5: 0478c4aecd56f3f4dc8bb4e0df0edd95 | |
13 | Requires: tetex-latex | |
14 | Requires: tetex-latex-xcolor >= 1.06 | |
15 | Requires: tetex-pgf >= 0.60 | |
16 | Requires(post,postun): /usr/bin/texhash | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | A LaTeX class for producing beamer presentations. | |
21 | ||
22 | %prep | |
23 | %setup -q -n %{short_name} | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name} | |
28 | ||
29 | install */*.{cls,sty} $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name} | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %post | |
35 | %texhash | |
36 | ||
37 | %postun | |
38 | %texhash | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc doc/*.pdf | |
43 | %{_datadir}/texmf/tex/latex/%{short_name} |