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 Summary(pl): Klasa LaTeXa do tworzenia prezentacji rzutnikowych
7 Name: tetex-latex-beamer
11 Group: Applications/Publishing/TeX
12 Source0: http://dl.sourceforge.net/latex-beamer/latex-beamer-%{version}.tar.gz
13 # Source0-md5: 4f1b96c15eba6304da49fc7814044837
14 # Source0-size: 2541647
16 Requires: tetex-latex-xcolor >= 2.00
17 Requires: tetex-pgf >= 0.63
18 Requires(post,postun): /usr/bin/texhash
19 URL: http://latex-beamer.sf.net/
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 A LaTeX class for producing beamer presentations.
26 Klasa LaTeXa do tworzenia prezentacji rzutnikowych.
29 Summary: Example presentations created using the LaTeX Beamer class
30 Summary(pl): Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer
31 Group: Applications/Publishing/TeX
32 Requires: %{name} = %{version}-%{release}
35 Example presentations created using the LaTeX Beamer class.
37 %description -l pl examples
38 Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
41 %setup -q -n %{short_name}
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_datadir}/texmf/tex/latex/%{short_name},%{_examplesdir}}
47 install */*.{cls,sty} $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
49 cp -ar examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog doc/*.pdf README TODO
63 %{_datadir}/texmf/tex/latex/%{short_name}
66 %defattr(644,root,root,755)
67 %{_examplesdir}/%{name}-%{version}