]> git.pld-linux.org Git - packages/exmh.git/blob - exmh.spec
f2c5ff004db73472a58bb7b08023b092c1720e6b
[packages/exmh.git] / exmh.spec
1 Summary:        The exmh mail handling system.
2 Name:           exmh
3 Version:        2.0.2
4 Release:        8
5 Requires:       mh metamail
6 Copyright:      freeware
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
15
16 %description
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,
23 unread mail).
24
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.
29
30 %prep
31 %setup -q
32 for i in *.MASTER; do
33         cp $i ${i%%.MASTER}
34 done
35 %patch1 -p1
36 %patch2 -p1
37 find . -name "*.orig" -exec rm {} \;
38
39 %build
40 echo 'auto_mkindex ./lib *.tcl' | tclsh
41
42 %install
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}}
46
47 for i in exmh exmh-bg exmh-async ftp.expect; do
48         install $i $RPM_BUILD_ROOT%{_bindir}
49 done
50
51 for i in *.l; do
52         install $i $RPM_BUILD_ROOT%{_mandir}/man1/${i%%.l}.1
53 done
54
55 cp -ar lib/* $RPM_BUILD_ROOT/usr/lib/exmh-%{version}
56
57 install $RPM_SOURCE_DIR/exmh.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/exmh
58
59 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
60         COPYRIGHT exmh.CHANGES exmh.COLORS exmh.README
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
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
This page took 0.068491 seconds and 3 git commands to generate.