]> git.pld-linux.org Git - packages/tetex-latex-beamer.git/commitdiff
- added emacs subpackage
authormaciek2w <maciek2w@pld-linux.org>
Tue, 3 Jan 2006 16:21:10 +0000 (16:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tetex-latex-beamer.spec -> 1.15

tetex-latex-beamer.spec

index 1156b8c66a1d2f6c62ebc8fd7d72d7e0d6f36f5f..6a317457d92ee43c1868e3ec4c890fee818c2566 100644 (file)
@@ -52,6 +52,19 @@ LyX templates for the LaTeX Beamer class.
 %description lyx -l pl
 Szablony klasy LateX Beamer dla programu LyX.
 
+%package emacs
+Summary:       Emacs mode for the LaTeX Beamer class.
+Summary(pl):   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 examples -l pl
+Emascowy tryb edycji plików ¼ród³owych LaTeXa znaj±cy klasê Beamer.
+
 %prep
 %setup -q -n latex-%{short_name}-%{version}
 
@@ -60,6 +73,7 @@ rm -rf $RPM_BUILD_ROOT
 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 -ar base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
 
@@ -69,6 +83,8 @@ mv $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/solutions/*/*.lyx $RPM_BUIL
 cp -ar lyx/layouts/beamer.layout $RPM_BUILD_ROOT%{_datadir}/lyx/layouts
 cp -ar lyx/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
 
+cp -ar emacs/beamer.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -91,3 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 %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.142057 seconds and 4 git commands to generate.