SPECS: tetex-latex-beamer.spec - added emacs subpackage
Tomasz Wittner
twittner w o2.pl
Wto, 3 Sty 2006, 18:51:04 CET
On Tue 3. of January 2006 17:21, maciek2w wrote:
> Author: maciek2w Date: Tue Jan 3 16:21:16 2006 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - added emacs subpackage
>[...]
> +install -d $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
Mamy takie makro:
$ rpm -E %_emacs_lispdir
/usr/share/emacs/site-lisp
Może warto go użyć.
>
> cp -ar base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
`-a' implikuje `-dpR', a `-R' to to samo co `-r' więc `-ar' jest bez sensu.
Dodatkowo `-a' nie jest "portable".
>
> @@ -70,6 +84,8 @@
> cp -ar lyx/layouts/beamer.layout $RPM_BUILD_ROOT%{_datadir}/lyx/layouts
j.w.
> cp -ar lyx/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
j.w.
>
> +cp -ar emacs/beamer.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
j.w. - + chyba zwykłe cp by wystarczyło.
> +
> %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/*
%{_emacs_lispdir}/site-start.d/*
[...]
--
Tomasz Wittner
Więcej informacji o liście dyskusyjnej pld-devel-pl