2 %define short_name beamer
3 %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
5 Summary: A LaTeX class for producing beamer presentations
6 Name: tetex-latex-beamer
10 Group: Applications/Publishing/TeX
11 Source0: http://dl.sourceforge.net/latex-beamer/latex-beamer-%{version}.tar.gz
12 # Source0-md5: 0478c4aecd56f3f4dc8bb4e0df0edd95
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)
20 A LaTeX class for producing beamer presentations.
23 %setup -q -n %{short_name}
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
29 install */*.{cls,sty} $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
32 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
43 %{_datadir}/texmf/tex/latex/%{short_name}