Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37855553
en ru br
ALT Linux repos
5.0: 3.06-alt2
4.1: 3.06-alt2
4.0: 3.06-alt2
3.0: 3.01-alt1

Group :: Publishing
RPM: tetex-latex-beamer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define srcName latex-beamer

Name:    tetex-%srcName
Version: 3.06
Release: alt2
Summary: A LaTeX class that allows create pdf-presentations
Summary(ru_RU.KOI8-R): LaTeX класс для подготовки презентаций в pdf-формате
License: GPL
Group:   Publishing
URL:     http://latex-beamer.sourceforge.net

BuildArchitectures: noarch

Requires: tetex-core tetex-latex tetex-latex-xcolor tetex-latex-pgf

Source0: %srcName-%version.tar.gz

%package -n emacs-%srcName-el
Summary: emacs support for beamer LaTeX class
Group: Editors
Requires: %name = %version-%release

%package -n lyx-%srcName
Summary: LYX layout for beamer LaTeX class
Group: Editors
Requires: %name = %version-%release

%description
The beamer class is a LaTeX class that allows you to create
a beamer presentation. It can also be used to create slides.
It behaves similarly to other packages like Prosper,
but has the advantage that it works together directly with pdflatex,
but also with dvis.
#%description -l ru_RU.KOI8-R

%description -n emacs-%srcName-el
emacs support for beamer LaTeX class

%description -n lyx-%srcName
LYX layout for beamer LaTeX class

%prep
%setup -q -n %srcName-%version

%build
%__mv emulation/examples doc/emulation

%install
#%__mkdir_p %buildroot{%_datadir/texmf/tex/latex/beamer/{base,emulation,extensions/multimedia,themes/{color,font,inner,outer,theme/compatibility}},%_docdir/{emulation/examples,examples,solutions},%_emacslispdir,%_datadir/lyx/layouts}
%__mkdir_p %buildroot{%_datadir/texmf/tex/latex/beamer/{base,emulation,extensions/multimedia,themes/{color,font,inner,outer,theme/compatibility}},%_emacslispdir,%_datadir/lyx/layouts}
install -pD -m644 base/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/base/
install -pD -m644 base/*.cls %buildroot%_datadir/texmf/tex/latex/beamer/base/
#install -pD -m644 base/art/* %buildroot%_datadir/texmf/tex/latex/beamer/base/art/
install -pD -m644 emulation/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/emulation/
install -pD -m644 extensions/multimedia/* %buildroot%_datadir/texmf/tex/latex/beamer/extensions/multimedia/
install -pD -m644 themes/color/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/themes/color/
install -pD -m644 themes/font/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/themes/font/
install -pD -m644 themes/inner/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/themes/inner/
install -pD -m644 themes/outer/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/themes/outer/
install -pD -m644 themes/theme/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/themes/theme/
install -pD -m644 themes/theme/compatibility/*.sty %buildroot%_datadir/texmf/tex/latex/beamer/themes/theme/compatibility/
install -pD -m644 emacs/beamer.el %buildroot%_emacslispdir/
install -pD -m644 lyx/layouts/beamer.layout %buildroot%_datadir/lyx/layouts/



%post
[ -x /usr/bin/texhash ] && /usr/bin/texhash 2>/dev/null ||:

%postun
[ -x /usr/bin/texhash ] && /usr/bin/texhash 2>/dev/null ||:


%files
%_datadir/texmf/tex/latex/beamer/base/*
%_datadir/texmf/tex/latex/beamer/emulation/*
%_datadir/texmf/tex/latex/beamer/extensions/multimedia/*
%_datadir/texmf/tex/latex/beamer/themes/*
%doc AUTHORS ChangeLog FILES INSTALL README TODO examples solutions doc
%doc base/art
#%doc emulation/examples base/art

%files -n emacs-%srcName-el
%_emacslispdir/beamer.el

%files -n lyx-%srcName
%_datadir/lyx/layouts/beamer.layout
%doc lyx/examples/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin