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

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make

%install
make install

%files
%doc README NEWS NOTES FAQ COPYING INSTALL sample.rcfile

%ifarch i386
%endif

/usr/bin/fetchmail
/usr/man/man1/fetchmail.1
EOF