1 %define lispdir
%{_datadir}/emacs
/site
-lisp
2 %define startupfile
%{lispdir}/site
-start.el
4 Summary: Emacs mode
for editing Standard ML
source code
8 Group: Applications
/Editors
10 Packager: Stefan Monnier
11 Source: http
://iro.umontreal.ca
/~monnier
/elisp
/%{name}.tar.gz
12 Buildroot: %{_tmppath}/%{name}-buildroot
13 BuildPreReq
: emacs
>= 20 xemacs
>= 21
17 SML
-MODE is a major Emacs mode
for editing Standard ML. It provides
18 syntax highlighting and automatic indentation and comes with sml
-proc
19 which allows interaction with an inferior SML interactive loop.
26 prefix
=%{buildroot}%{_prefix} \
27 infodir
=%{buildroot}%{_infodir} \
28 lispdir
=%{buildroot}%{lispdir}
29 gzip
-9f
%{buildroot}%{lispdir}/sml
-mode
/*.el
31 texi2pdf sml
-mode.texi
34 cat
>> %{lispdir}/site
-start.el
<<EOF
36 ;; This section was automatically generated by rpm
37 (load "sml
-mode
-startup"
)
38 ;; End of automatically generated section
42 /sbin
/install-info
%{_infodir}/sml-mode.info.gz %{_infodir}/dir
45 ed
-s
%{lispdir}/site
-start.el
<<EOF
46 /^
;; sml
-mode
-start$
/,/^
;; sml
-mode
-end$
/d
50 /sbin
/install-info
--delete
%{_infodir}/sml-mode.info.gz %{_infodir}/dir \
52 --entry
="
* SML
: (sml
-mode
). Editing
& Running Standard ML from Emacs"
59 %doc BUGS ChangeLog INSTALL NEWS README TODO
60 %doc sml
-mode.texi sml
-mode.pdf
61 %doc %{_infodir}/*.info
*
62 %dir %{lispdir}/%{name}
63 %{lispdir}/%{name}/*.elc
64 %{lispdir}/%{name}/*.el
65 %{lispdir}/%{name}/*.el.
*