]> Pileus Git - ~andy/fetchmail/blob - specgen.sh
Initial revision
[~andy/fetchmail] / specgen.sh
1 cat <<EOF
2 Description: Remote mail fetcher for POP2, POP3, APOP, IMAP
3 Name: fetchmail
4 Version: ${1}
5 Release: 1
6 Source: locke.ccil.org:/pub/esr/fetchmail-${1}.tar.gz
7 Copyright: distributable
8 Group: Mail
9
10 %prep
11 %setup
12
13 %build
14 %ifarch i386
15 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr 
16 %endif
17
18 %ifarch axp
19 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr 
20 %endif
21
22 make
23
24 %install
25 make install
26
27
28 %ifarch i386
29 %endif
30
31 %ifarch i386
32 %post
33 %endif
34
35
36 %files
37 %doc README NEWS RFC NOTES COPYING
38
39 %ifarch i386
40 %endif
41
42 /usr/bin/fetchmail
43 /usr/man/man1/fetchmail.1
44 EOF