Author: maciek2w Date: Tue Jan 3 15:31:34 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - added subpackage lyx with LyX layout and templates
---- Files affected: SPECS: tetex-latex-beamer.spec (1.13 -> 1.14) ---- Diffs: ================================================================ Index: SPECS/tetex-latex-beamer.spec diff -u SPECS/tetex-latex-beamer.spec:1.13 SPECS/tetex-latex-beamer.spec:1.14 --- SPECS/tetex-latex-beamer.spec:1.13 Tue Jan 3 15:22:32 2006 +++ SPECS/tetex-latex-beamer.spec Tue Jan 3 16:31:29 2006 @@ -40,17 +40,36 @@ %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 @@ -69,12 +88,20 @@ %defattr(644,root,root,755) %{_examplesdir}/%{name}-%{version} +%files lyx +%defattr(644,root,root,755) +%{_datadir}/lyx/layouts/beamer.layout +%{_datadir}/lyx/templates/* + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.14 2006/01/03 15:31:29 maciek2w +- added subpackage lyx with LyX layout and templates + Revision 1.13 2006/01/03 14:22:32 maciek2w - updated to 3.06 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/tetex-latex-beamer.spec?r1=1.13&r2=1.14&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit