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