]> Pileus Git - ~andy/fetchmail/blob - specgen.sh
423c10c134a5ac8413728323e0f652f11f2ae327
[~andy/fetchmail] / specgen.sh
1 cat <<EOF
2 Description: Remote mail fetch daemon for POP2, POP3, APOP, IMAP
3 Name: fetchmail
4 Version: ${1}
5 Release: 1
6 Source: locke.ccil.org:/pub/esr/fetchmail/fetchmail-${1}.tar.gz
7 Copyright: freely redistributable
8 Group: Mail
9
10 %prep
11 %setup
12
13 %build
14 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
15 make
16
17 %install
18 make install
19
20 %files
21 %doc README NEWS NOTES fetchmail-FAQ.html FAQ COPYING INSTALL sample.rcfile
22
23 %ifarch i386
24 %endif
25
26 /usr/bin/fetchmail
27 /usr/man/man1/fetchmail.1
28 EOF