%define lispdir %{_datadir}/emacs/site-lisp %define startupfile %{lispdir}/site-start.el Summary: Emacs mode for editing Standard ML source code Name: sml-mode Version: $Name$ Release: 0.1 Group: Applications/Editors Copyright: GPL Packager: Stefan Monnier Source: http://iro.umontreal.ca/~monnier/elisp/%{name}.tar.gz Buildroot: %{_tmppath}/%{name}-buildroot BuildPreReq: emacs >= 20 xemacs >= 21 BuildArch: noarch %description SML-MODE is a major Emacs mode for editing Standard ML. It provides syntax highlighting and automatic indentation and comes with sml-proc which allows interaction with an inferior SML interactive loop. %prep %setup -q -n %{name} %install make install \ prefix=%{buildroot}%{_prefix} \ infodir=%{buildroot}%{_infodir} \ lispdir=%{buildroot}%{lispdir} gzip -9f %{buildroot}%{lispdir}/sml-mode/*.el texi2pdf sml-mode.texi %post cat >> %{lispdir}/site-start.el <