SPECS: tetex-latex-beamer.spec - added emacs subpackage

maciek2w maciek2w at pld-linux.org
Tue Jan 3 17:21:16 CET 2006


Author: maciek2w                     Date: Tue Jan  3 16:21:16 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added emacs subpackage

---- Files affected:
SPECS:
   tetex-latex-beamer.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/tetex-latex-beamer.spec
diff -u SPECS/tetex-latex-beamer.spec:1.14 SPECS/tetex-latex-beamer.spec:1.15
--- SPECS/tetex-latex-beamer.spec:1.14	Tue Jan  3 16:31:29 2006
+++ SPECS/tetex-latex-beamer.spec	Tue Jan  3 17:21:10 2006
@@ -53,6 +53,19 @@
 %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}
 
@@ -61,6 +74,7 @@
 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}
 
@@ -70,6 +84,8 @@
 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
 
@@ -93,12 +109,19 @@
 %{_datadir}/lyx/layouts/beamer.layout
 %{_datadir}/lyx/templates/*
 
+%files emacs
+%defattr(644,root,root,755)
+%{_datadir}/emacs/site-lisp/site-start.d/*
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2006/01/03 16:21:10  maciek2w
+- added emacs subpackage
+
 Revision 1.14  2006/01/03 15:31:29  maciek2w
 - added subpackage lyx with LyX layout and templates
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tetex-latex-beamer.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list