]> git.pld-linux.org Git - packages/nmh.git/blame - nmh.spec
- rel 5
[packages/nmh.git] / nmh.spec
CommitLineData
10370bdf 1Summary: A capable mail handling system with a command line interface
7da156be 2Summary(pl.UTF-8): System obsługi poczty z interfejsem z linii poleceń
5ee4581b 3Name: nmh
b18ec181 4Version: 1.2
97215a40 5Release: 5
6fc27547 6License: Freeware
5ee4581b 7Group: Applications/Mail
833bd4a2 8Source0: http://savannah.nongnu.org/download/nmh/%{name}-%{version}.tar.gz
b18ec181 9# Source0-md5: aeebb9bef9ede7232f52c3a3b693eccc
833bd4a2 10Patch0: %{name}-DESTDIR.patch
485b7e2f 11Patch1: %{name}-build.patch
833bd4a2 12URL: http://savannah.nongnu.org/projects/nmh/
09c4a828 13BuildRequires: gdbm-devel
14BuildRequires: ncurses-devel
833bd4a2 15Provides: mh
16a6c882 16Obsoletes: mh
17de57cc 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28c19b9e 18
10370bdf 19%description
20Nmh is an email system based on the MH email system and is intended to
21be a (mostly) compatible drop-in replacement for MH. Nmh isn't a
22single comprehensive program. Instead, it consists of a number of
23fairly simple single-purpose programs for sending, receiving, saving,
24retrieving and otherwise manipulating email messages. You can freely
25intersperse nmh commands with other shell commands or write custom
26scripts which utilize nmh commands. If you want to use nmh as a true
27email user agent, you'll want to also install exmh to provide a user
28interface for it--nmh only has a command line interface.
28c19b9e 29
69dde347
JR
30%description -l pl.UTF-8
31Nmh jest systemem pocztowym bazującym na systemie MH, w większości
32kompatybilnym i mogącym zastąpić MH. Nmh nie jest pojedynczym
33programem - składa się z wielu prostych programów służących do jednej
34czynności (wysyłania, odbierania, zapisywania, odczytywania...). Można
35swobodnie umieszczać polecenia nmh między innymi poleceniami powłoki
36lub pisać skrypty korzystające z poleceń nmh. Jeśli chcesz używać nmh
37jako prawdziwego programu pocztowego, pomyśl o zainstalowaniu exmh,
38dającego interfejs użytkownika - samo nmh można obsługiwać tylko z
39linii 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 57rm -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
67rm -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}/*/*
This page took 0.067423 seconds and 4 git commands to generate.