]> git.pld-linux.org Git - packages/tetex-latex-beamer.git/blobdiff - tetex-latex-beamer.spec
- tabs in preamble
[packages/tetex-latex-beamer.git] / tetex-latex-beamer.spec
index c58202aa9aa19762fc0c5eafb365509b3e246632..bbcd023429c22bf0b55a3d305168fe7cf9e2d769 100644 (file)
@@ -1,37 +1,85 @@
-
-%define short_name beamer
-%define        texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
-
+%define        short_name      beamer
+%define        texhash         [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
+#
 Summary:       A LaTeX class for producing beamer presentations
-Summary(pl):   Klasa LaTeXa do tworzenia prezentacji rzutnikowych
+Summary(pl.UTF-8):     Klasa LaTeXa do tworzenia prezentacji rzutnikowych
 Name:          tetex-latex-beamer
-Version:       3.00
+Version:       3.06
 Release:       1
 License:       GPL
 Group:         Applications/Publishing/TeX
 Source0:       http://dl.sourceforge.net/latex-beamer/latex-beamer-%{version}.tar.gz
-# Source0-md5: 3be0b6eb281e6265c894748c3330c6a6
-# Source0-size:        2541647
-Requires:      tetex-latex
-Requires:      tetex-latex-xcolor >= 1.06
-Requires:      tetex-pgf >= 0.60
+# Source0-md5: ab7eeb972d75e758117460aabdddb1e6
+URL:           http://latex-beamer.sourceforge.net/
 Requires(post,postun): /usr/bin/texhash
+Requires:      tetex-latex
+Requires:      tetex-latex-xcolor >= 2.00
+Requires:      tetex-pgf >= 0.95
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 A LaTeX class for producing beamer presentations.
 
-%description -l pl
+%description -l pl.UTF-8
 Klasa LaTeXa do tworzenia prezentacji rzutnikowych.
 
+%package examples
+Summary:       Example presentations created using the LaTeX Beamer class
+Summary(pl.UTF-8):     Przykładowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer
+Group:         Applications/Publishing/TeX
+Requires:      %{name} = %{version}-%{release}
+
+%description examples
+Example presentations created using the LaTeX Beamer class.
+
+%description examples -l pl.UTF-8
+Przykładowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
+
+%package lyx
+Summary:       LyX templates for the LaTeX Beamer class
+Summary(pl.UTF-8):     Szablony klasy LateX Beamer dla programu LyX
+Group:         Applications/Publishing/TeX
+Requires:      %{name} = %{version}-%{release}
+Requires:      lyx
+
+%description lyx
+LyX templates for the LaTeX Beamer class.
+
+%description lyx -l pl.UTF-8
+Szablony klasy LateX Beamer dla programu LyX.
+
+%package emacs
+Summary:       Emacs mode for the LaTeX Beamer class
+Summary(pl.UTF-8):     Emacsowy tryb edycji plików LaTeX z klasą Beamer
+Group:         Applications/Publishing/TeX
+Requires:      %{name} = %{version}-%{release}
+Requires:      emacs-common
+
+%description emacs
+Emacs mode for the LaTeX Beamer class.
+
+%description emacs -l pl.UTF-8
+Emacsowy tryb edycji plików źródłowych LaTeXa znający klasę Beamer.
+
 %prep
-%setup -q -n %{short_name}
+%setup -q -n latex-%{short_name}-%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
+install -d $RPM_BUILD_ROOT{%{_datadir}/texmf/tex/latex/%{short_name},%{_examplesdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT%{_datadir}/lyx/{layouts,templates}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
+install -d $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
+
+cp -a base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
+
+cp -a examples/* solutions $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+mv $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/solutions/*/*.lyx $RPM_BUILD_ROOT%{_datadir}/lyx/templates
+cp -a lyx/layouts/beamer.layout $RPM_BUILD_ROOT%{_datadir}/lyx/layouts
+cp -a lyx/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
 
-install */*.{cls,sty} $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
+cp -a emacs/beamer.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,3 +94,16 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog doc/*.pdf README TODO
 %{_datadir}/texmf/tex/latex/%{short_name}
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
+%files lyx
+%defattr(644,root,root,755)
+%{_datadir}/lyx/layouts/beamer.layout
+%{_datadir}/lyx/templates/*
+
+%files emacs
+%defattr(644,root,root,755)
+%{_datadir}/emacs/site-lisp/site-start.d/*
This page took 0.037828 seconds and 4 git commands to generate.