blob: 03e0673eec6308b3002759703e5296e6e099e691 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
cat <<EOF
Name: fetchmail
Version: ${1}
Release: 1
Vendor: Eric Conspiracy Secret Labs
Source: locke.ccil.org:/pub/esr/fetchmail/fetchmail-${1}.tar.gz
URL: http://earthspace.net/~esr/fetchmail
Group: Applications/Mail
Copyright: GPL
Icon: fetchmail.gif
Requires: smtpdaemon
Summary: Full-featured POP/IMAP mail retrieval daemon
%description
fetchmail is a free, full-featured, robust, and well-documented remote
mail retrieval and forwarding utility intended to be used over
on-demand TCP/IP links (such as SLIP or PPP connections). It
retrieves mail from remote mail servers and forwards it to your local
(client) machine's delivery system, so it can then be be read by
normal mail user agents such as mutt, elm, pine, or mailx.
Comes with an interactive GUI configurator suitable for end-users.
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make
%install
make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc README NEWS NOTES fetchmail-FAQ.html FAQ COPYING INSTALL sample.rcfile
/usr/bin/fetchmail
/usr/bin/fetchmailconf
/usr/man/man1/fetchmail.1
/usr/man/man1/fetchmailconf.1
EOF
|