aboutsummaryrefslogtreecommitdiffstats
path: root/specgen.sh
blob: 2a19d225b2b52362539c7df0192b5888246e4f83 (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
43
44
45
46
cat <<EOF
Description: Remote mail fetcher for POP2, POP3, APOP, IMAP
Name: fetchmail
Version: ${1}
Release: ${2}
Source: locke.ccil.org:/pub/esr/fetchmail-${1}.tar.gz
Copyright: distributable
Group: Mail

%prep
%setup

%build
%ifarch i386
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr 
%endif

%ifarch axp
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr 
%endif

make

%install
make install


%ifarch i386
%endif

%ifarch i386
%post
%endif


%files
%doc README NEWS RFC NOTES COPYING

%ifarch i386
%endif

/usr/bin/fetchmail
/usr/man/man1/fetchmail.1
/usr/doc/fetchmail-${1}/INSTALL
/usr/doc/fetchmail-${1}/sample.rcfile
EOF