Summary: A capable mail handling system with a command line interface Summary(pl): System obsługi poczty z interfejsem z linii poleceń Name: nmh Version: 1.2 Release: 0.1 License: Freeware Group: Applications/Mail Source0: http://savannah.nongnu.org/download/nmh/%{name}-%{version}.tar.gz # Source0-md5: aeebb9bef9ede7232f52c3a3b693eccc Patch0: %{name}-DESTDIR.patch URL: http://savannah.nongnu.org/projects/nmh/ BuildRequires: gdbm-devel BuildRequires: ncurses-devel Obsoletes: mh Provides: mh BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Nmh is an email system based on the MH email system and is intended to be a (mostly) compatible drop-in replacement for MH. Nmh isn't a single comprehensive program. Instead, it consists of a number of fairly simple single-purpose programs for sending, receiving, saving, retrieving and otherwise manipulating email messages. You can freely intersperse nmh commands with other shell commands or write custom scripts which utilize nmh commands. If you want to use nmh as a true email user agent, you'll want to also install exmh to provide a user interface for it--nmh only has a command line interface. %description -l pl Nmh jest systemem pocztowym bazującym na systemie MH, w większości kompatybilnym i mogącym zastąpić MH. Nmh nie jest pojedynczym programem - składa się z wielu prostych programów służących do jednej czynności (wysyłania, odbierania, zapisywania, odczytywania...). Można swobodnie umieszczać polecenia nmh między innymi poleceniami powłoki lub pisać skrypty korzystające z poleceń nmh. Jeśli chcesz używać nmh jako prawdziwego programu pocztowego, pomyśl o zainstalowaniu exmh, dającego interfejs użytkownika - samo nmh można obsługiwać tylko z linii poleceń. %prep %setup -q %patch0 -p1 %build %configure \ --with-locking=fcntl \ --with-mts=sendmail \ --enable-pop %{__make} \ bindir=%{_bindir}/mh \ libdir=%{_libdir}/mh \ etcdir=%{_sysconfdir}/nmh %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ SETGID_MAIL= \ bindir=%{_bindir}/mh \ libdir=%{_libdir}/mh \ etcdir=%{_sysconfdir}/nmh %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc COPYRIGHT ChangeLog README docs/{COMP*,FAQ,MAIL*,README.*,TODO} %dir %{_bindir}/mh %dir %{_libdir}/mh %attr(755,root,root) %{_bindir}/mh/* %attr(755,root,root) %{_libdir}/mh/* %dir %{_sysconfdir}/nmh %config %{_sysconfdir}/nmh/* %{_mandir}/*/*