1 Summary: A capable mail handling system with a command line interface
2 Summary(pl): System obs³ugi poczty z interfejsem z linii poleceñ
7 Group: Applications/Mail
8 Source0: http://savannah.nongnu.org/download/nmh/%{name}-%{version}.tar.gz
9 # Source0-md5: aeebb9bef9ede7232f52c3a3b693eccc
10 Patch0: %{name}-DESTDIR.patch
11 URL: http://savannah.nongnu.org/projects/nmh/
12 BuildRequires: gdbm-devel
13 BuildRequires: ncurses-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Nmh is an email system based on the MH email system and is intended to
20 be a (mostly) compatible drop-in replacement for MH. Nmh isn't a
21 single comprehensive program. Instead, it consists of a number of
22 fairly simple single-purpose programs for sending, receiving, saving,
23 retrieving and otherwise manipulating email messages. You can freely
24 intersperse nmh commands with other shell commands or write custom
25 scripts which utilize nmh commands. If you want to use nmh as a true
26 email user agent, you'll want to also install exmh to provide a user
27 interface for it--nmh only has a command line interface.
30 Nmh jest systemem pocztowym bazuj±cym na systemie MH, w wiêkszo¶ci
31 kompatybilnym i mog±cym zast±piæ MH. Nmh nie jest pojedynczym
32 programem - sk³ada siê z wielu prostych programów s³u¿±cych do jednej
33 czynno¶ci (wysy³ania, odbierania, zapisywania, odczytywania...). Mo¿na
34 swobodnie umieszczaæ polecenia nmh miêdzy innymi poleceniami pow³oki
35 lub pisaæ skrypty korzystaj±ce z poleceñ nmh. Je¶li chcesz u¿ywaæ nmh
36 jako prawdziwego programu pocztowego, pomy¶l o zainstalowaniu exmh,
37 daj±cego interfejs u¿ytkownika - samo nmh mo¿na obs³ugiwaæ tylko z
46 --with-locking=fcntl \
50 bindir=%{_bindir}/mh \
51 libdir=%{_libdir}/mh \
52 etcdir=%{_sysconfdir}/nmh
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT \
60 bindir=%{_bindir}/mh \
61 libdir=%{_libdir}/mh \
62 etcdir=%{_sysconfdir}/nmh
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc COPYRIGHT ChangeLog README docs/{COMP*,FAQ,MAIL*,README.*,TODO}
72 %attr(755,root,root) %{_bindir}/mh/*
73 %attr(755,root,root) %{_libdir}/mh/*
74 %dir %{_sysconfdir}/nmh
75 %config %{_sysconfdir}/nmh/*