1 %define short_name beamer
2 %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
4 Summary: A LaTeX class for producing beamer presentations
5 Summary(pl): Klasa LaTeXa do tworzenia prezentacji rzutnikowych
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: ab7eeb972d75e758117460aabdddb1e6
14 Requires: tetex-latex-xcolor >= 2.00
15 Requires: tetex-pgf >= 0.95
16 Requires(post,postun): /usr/bin/texhash
17 URL: http://latex-beamer.sf.net/
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 A LaTeX class for producing beamer presentations.
24 Klasa LaTeXa do tworzenia prezentacji rzutnikowych.
27 Summary: Example presentations created using the LaTeX Beamer class
28 Summary(pl): Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer
29 Group: Applications/Publishing/TeX
30 Requires: %{name} = %{version}-%{release}
33 Example presentations created using the LaTeX Beamer class.
35 %description examples -l pl
36 Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
39 Summary: LyX templates for the LaTeX Beamer class
40 Summary(pl): Szablony klasy LateX Beamer dla programu LyX
41 Group: Applications/Publishing/TeX
42 Requires: %{name} = %{version}-%{release}
46 LyX templates for the LaTeX Beamer class.
48 %description lyx -l pl
49 Szablony klasy LateX Beamer dla programu LyX.
52 Summary: Emacs mode for the LaTeX Beamer class.
53 Summary(pl): Emacsowy tryb edycji plików LaTeX z klas± Beamer.
54 Group: Applications/Publishing/TeX
55 Requires: %{name} = %{version}-%{release}
56 Requires: emacs-common
59 Emacs mode for the LaTeX Beamer class.
61 %description examples -l pl
62 Emascowy tryb edycji plików ¼ród³owych LaTeXa znaj±cy klasê Beamer.
65 %setup -q -n latex-%{short_name}-%{version}
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_datadir}/texmf/tex/latex/%{short_name},%{_examplesdir}/%{name}-%{version}}
70 install -d $RPM_BUILD_ROOT%{_datadir}/lyx/{layouts,templates}
71 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
72 install -d $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
74 cp -ar base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
76 cp -ar examples/* solutions $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78 mv $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/solutions/*/*.lyx $RPM_BUILD_ROOT%{_datadir}/lyx/templates
79 cp -ar lyx/layouts/beamer.layout $RPM_BUILD_ROOT%{_datadir}/lyx/layouts
80 cp -ar lyx/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
82 cp -ar emacs/beamer.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
85 rm -rf $RPM_BUILD_ROOT
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog doc/*.pdf README TODO
96 %{_datadir}/texmf/tex/latex/%{short_name}
99 %defattr(644,root,root,755)
100 %{_examplesdir}/%{name}-%{version}
103 %defattr(644,root,root,755)
104 %{_datadir}/lyx/layouts/beamer.layout
105 %{_datadir}/lyx/templates/*
108 %defattr(644,root,root,755)
109 %{_datadir}/emacs/site-lisp/site-start.d/*