]> git.pld-linux.org Git - packages/nmh.git/blob - nmh.spec
4f8f2cf91ffdc1bfc9acff2014bad7bdb1adf724
[packages/nmh.git] / nmh.spec
1 Summary:        A capable mail handling system with a command line interface
2 Summary(pl):    System obs³ugi poczty z interfejsem z linii poleceñ
3 Name:           nmh
4 Version:        1.2
5 Release:        0.1
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 URL:            http://savannah.nongnu.org/projects/nmh/
12 BuildRequires:  gdbm-devel
13 BuildRequires:  ncurses-devel
14 Obsoletes:      mh
15 Provides:       mh
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
28
29 %description -l pl
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
38 linii poleceñ.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 %configure \
46         --with-locking=fcntl \
47         --with-mts=sendmail \
48         --enable-pop
49 %{__make} \
50         bindir=%{_bindir}/mh \
51         libdir=%{_libdir}/mh \
52         etcdir=%{_sysconfdir}/nmh
53         
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT \
59         SETGID_MAIL= \
60         bindir=%{_bindir}/mh \
61         libdir=%{_libdir}/mh \
62         etcdir=%{_sysconfdir}/nmh
63         
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc COPYRIGHT ChangeLog README docs/{COMP*,FAQ,MAIL*,README.*,TODO}
70 %dir %{_bindir}/mh
71 %dir %{_libdir}/mh
72 %attr(755,root,root) %{_bindir}/mh/*
73 %attr(755,root,root) %{_libdir}/mh/*
74 %dir %{_sysconfdir}/nmh
75 %config %{_sysconfdir}/nmh/*
76
77 %{_mandir}/*/*
This page took 0.111726 seconds and 2 git commands to generate.