3 # - package emacs and LyX files
5 %define short_name beamer
6 %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
8 Summary: A LaTeX class for producing beamer presentations
9 Summary(pl): Klasa LaTeXa do tworzenia prezentacji rzutnikowych
10 Name: tetex-latex-beamer
14 Group: Applications/Publishing/TeX
15 Source0: http://dl.sourceforge.net/latex-beamer/latex-beamer-%{version}.tar.gz
16 # Source0-md5: 0524000157e657a2006f74f67ef7ae28
18 Requires: tetex-latex-xcolor >= 2.00
19 Requires: tetex-pgf >= 0.63
20 Requires(post,postun): /usr/bin/texhash
21 URL: http://latex-beamer.sf.net/
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 A LaTeX class for producing beamer presentations.
28 Klasa LaTeXa do tworzenia prezentacji rzutnikowych.
31 Summary: Example presentations created using the LaTeX Beamer class
32 Summary(pl): Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer
33 Group: Applications/Publishing/TeX
34 Requires: %{name} = %{version}-%{release}
37 Example presentations created using the LaTeX Beamer class.
39 %description examples -l pl
40 Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
43 %setup -q -n latex-%{short_name}-%{version}
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_datadir}/texmf/tex/latex/%{short_name},%{_examplesdir}/%{name}-%{version}}
49 cp -ar base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
51 cp -ar examples/* solutions $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog doc/*.pdf README TODO
65 %{_datadir}/texmf/tex/latex/%{short_name}
68 %defattr(644,root,root,755)
69 %{_examplesdir}/%{name}-%{version}