]> git.pld-linux.org Git - packages/nmh.git/blob - nmh.spec
- rel. 4
[packages/nmh.git] / nmh.spec
1 Summary:        A capable mail handling system with a command line interface
2 Summary(pl.UTF-8):      System obsługi poczty z interfejsem z linii poleceń
3 Name:           nmh
4 Version:        1.2
5 Release:        4
6 License:        Freeware
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 Patch1:         %{name}-build.patch
12 URL:            http://savannah.nongnu.org/projects/nmh/
13 BuildRequires:  gdbm-devel
14 BuildRequires:  ncurses-devel
15 Provides:       mh
16 Obsoletes:      mh
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
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.
29
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ń.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45
46 %build
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
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT \
61         SETGID_MAIL= \
62         bindir=%{_bindir}/mh \
63         libdir=%{_libdir}/mh \
64         etcdir=%{_sysconfdir}/nmh
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
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/*
76 %dir %{_sysconfdir}/nmh
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nmh/*
78 %{_mandir}/*/*
This page took 0.072638 seconds and 4 git commands to generate.