]> git.pld-linux.org Git - packages/tetex-latex-beamer.git/commitdiff
- added subpackage lyx with LyX layout and templates
authormaciek2w <maciek2w@pld-linux.org>
Tue, 3 Jan 2006 15:31:29 +0000 (15:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tetex-latex-beamer.spec -> 1.14

tetex-latex-beamer.spec

index 0947511bab3337233be0535e78223371047dfdca..1156b8c66a1d2f6c62ebc8fd7d72d7e0d6f36f5f 100644 (file)
@@ -39,17 +39,36 @@ Example presentations created using the LaTeX Beamer class.
 %description examples -l pl
 Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
 
+%package lyx
+Summary:       LyX templates for the LaTeX Beamer class
+Summary(pl):   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
+Szablony klasy LateX Beamer dla programu LyX.
+
 %prep
 %setup -q -n latex-%{short_name}-%{version}
 
 %install
 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
 
 cp -ar base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
 
 cp -ar examples/* solutions $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+mv $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/solutions/*/*.lyx $RPM_BUILD_ROOT%{_datadir}/lyx/templates
+cp -ar lyx/layouts/beamer.layout $RPM_BUILD_ROOT%{_datadir}/lyx/layouts
+cp -ar lyx/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -67,3 +86,8 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
This page took 0.065502 seconds and 4 git commands to generate.