1 Summary: The exmh mail handling system.
7 Group: Applications/Mail
8 Url: http://www.beedub.com/exmh/
9 Source0: ftp://ftp.sunlabs.com/exmh-2.0.2.tar.Z
10 Source1: exmh.wmconfig
11 Patch1: exmh-2.0.2-conf.patch
12 Patch2: exmh-2.0.2-smproxy.patch
13 BuildRoot: /tmp/%{name}-%{version}-root
14 BuildArchitectures: noarch
17 Exmh provides an X interface for MH/nmh mail, a feature-rich email
18 handling system. Exmh supports almost all (but not all) of MH's
19 features: viewing the messages in a folder, reading/deleting/refiling
20 messages, and sorting arriving mail into different folders before the
21 messages are read. Exmh highlights which folders have new mail, and
22 indicates which messages have not been read (so you don't lose the sorted,
25 If you like MH/nmh mail, you should install exmh, because it makes the
26 MH/nmh mail system much more user friendly. You may also want to use
27 exmh if you prefer a graphical user interface for your mail client. Note
28 that you will also have to install the nmh package.
37 find . -name "*.orig" -exec rm {} \;
40 echo 'auto_mkindex ./lib *.tcl' | tclsh
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_libdir}/exmh-%{version}}
47 for i in exmh exmh-bg exmh-async ftp.expect; do
48 install $i $RPM_BUILD_ROOT%{_bindir}
52 install $i $RPM_BUILD_ROOT%{_mandir}/man1/${i%%.l}.1
55 cp -ar lib/* $RPM_BUILD_ROOT/usr/lib/exmh-%{version}
57 install $RPM_SOURCE_DIR/exmh.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/exmh
59 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
60 COPYRIGHT exmh.CHANGES exmh.COLORS exmh.README
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc {COPYRIGHT,exmh.CHANGES,exmh.COLORS,exmh.README}.gz
68 %config /etc/X11/wmconfig/exmh
69 %attr(755,root,root) %{_bindir}/exmh
70 %attr(755,root,root) %{_bindir}/exmh-bg
71 %attr(755,root,root) %{_bindir}/exmh-async
72 %attr(755,root,root) %{_bindir}/ftp.expect
73 %{_libdir}/exmh-%{version}
74 %{_mandir}/man1/exmh.1.gz