]>
Commit | Line | Data |
---|---|---|
10370bdf | 1 | Summary: A capable mail handling system with a command line interface |
7da156be | 2 | Summary(pl.UTF-8): System obsługi poczty z interfejsem z linii poleceń |
5ee4581b | 3 | Name: nmh |
b18ec181 | 4 | Version: 1.2 |
97215a40 | 5 | Release: 5 |
6fc27547 | 6 | License: Freeware |
5ee4581b | 7 | Group: Applications/Mail |
833bd4a2 | 8 | Source0: http://savannah.nongnu.org/download/nmh/%{name}-%{version}.tar.gz |
b18ec181 | 9 | # Source0-md5: aeebb9bef9ede7232f52c3a3b693eccc |
833bd4a2 | 10 | Patch0: %{name}-DESTDIR.patch |
485b7e2f | 11 | Patch1: %{name}-build.patch |
833bd4a2 | 12 | URL: http://savannah.nongnu.org/projects/nmh/ |
09c4a828 | 13 | BuildRequires: gdbm-devel |
14 | BuildRequires: ncurses-devel | |
833bd4a2 | 15 | Provides: mh |
16a6c882 | 16 | Obsoletes: mh |
17de57cc | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28c19b9e | 18 | |
10370bdf | 19 | %description |
20 | Nmh is an email system based on the MH email system and is intended to | |
21 | be a (mostly) compatible drop-in replacement for MH. Nmh isn't a | |
22 | single comprehensive program. Instead, it consists of a number of | |
23 | fairly simple single-purpose programs for sending, receiving, saving, | |
24 | retrieving and otherwise manipulating email messages. You can freely | |
25 | intersperse nmh commands with other shell commands or write custom | |
26 | scripts which utilize nmh commands. If you want to use nmh as a true | |
27 | email user agent, you'll want to also install exmh to provide a user | |
28 | interface for it--nmh only has a command line interface. | |
28c19b9e | 29 | |
69dde347 JR |
30 | %description -l pl.UTF-8 |
31 | Nmh jest systemem pocztowym bazującym na systemie MH, w większości | |
32 | kompatybilnym i mogącym zastąpić MH. Nmh nie jest pojedynczym | |
33 | programem - składa się z wielu prostych programów służących do jednej | |
34 | czynności (wysyłania, odbierania, zapisywania, odczytywania...). Można | |
35 | swobodnie umieszczać polecenia nmh między innymi poleceniami powłoki | |
36 | lub pisać skrypty korzystające z poleceń nmh. Jeśli chcesz używać nmh | |
37 | jako prawdziwego programu pocztowego, pomyśl o zainstalowaniu exmh, | |
38 | dającego interfejs użytkownika - samo nmh można obsługiwać tylko z | |
39 | linii poleceń. | |
718b516d | 40 | |
28c19b9e | 41 | %prep |
b18ec181 | 42 | %setup -q |
5ee4581b | 43 | %patch0 -p1 |
485b7e2f | 44 | %patch1 -p1 |
28c19b9e JR |
45 | |
46 | %build | |
833bd4a2 | 47 | %configure \ |
48 | --with-locking=fcntl \ | |
49 | --with-mts=sendmail \ | |
50 | --enable-pop | |
51 | %{__make} \ | |
52 | bindir=%{_bindir}/mh \ | |
53 | libdir=%{_libdir}/mh \ | |
54 | etcdir=%{_sysconfdir}/nmh | |
16a6c882 | 55 | |
28c19b9e | 56 | %install |
10370bdf | 57 | rm -rf $RPM_BUILD_ROOT |
b18ec181 | 58 | |
833bd4a2 | 59 | %{__make} install \ |
60 | DESTDIR=$RPM_BUILD_ROOT \ | |
61 | SETGID_MAIL= \ | |
62 | bindir=%{_bindir}/mh \ | |
63 | libdir=%{_libdir}/mh \ | |
64 | etcdir=%{_sysconfdir}/nmh | |
16a6c882 | 65 | |
28c19b9e JR |
66 | %clean |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
28c19b9e | 69 | %files |
5ee4581b | 70 | %defattr(644,root,root,755) |
833bd4a2 | 71 | %doc COPYRIGHT ChangeLog README docs/{COMP*,FAQ,MAIL*,README.*,TODO} |
72 | %dir %{_bindir}/mh | |
73 | %dir %{_libdir}/mh | |
74 | %attr(755,root,root) %{_bindir}/mh/* | |
75 | %attr(755,root,root) %{_libdir}/mh/* | |
833bd4a2 | 76 | %dir %{_sysconfdir}/nmh |
388a66ab | 77 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nmh/* |
5ee4581b | 78 | %{_mandir}/*/* |