aboutsummaryrefslogtreecommitdiffstats
path: root/specgen.sh
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-29 18:46:15 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-29 18:46:15 +0000
commit1200be0cdcdf950063aa7f17f049d8149b98f7fa (patch)
tree09e4bebe5d77f1cdf5d5f49af490903636bdcd71 /specgen.sh
parentd876ad63e12c57aebc5e6d979db9fe57fe951c8a (diff)
downloadfetchmail-1200be0cdcdf950063aa7f17f049d8149b98f7fa.tar.gz
fetchmail-1200be0cdcdf950063aa7f17f049d8149b98f7fa.tar.bz2
fetchmail-1200be0cdcdf950063aa7f17f049d8149b98f7fa.zip
Initial revision
svn path=/trunk/; revision=421
Diffstat (limited to 'specgen.sh')
-rwxr-xr-xspecgen.sh44
1 files changed, 44 insertions, 0 deletions
diff --git a/specgen.sh b/specgen.sh
new file mode 100755
index 00000000..197e8ffb
--- /dev/null
+++ b/specgen.sh
@@ -0,0 +1,44 @@
+cat <<EOF
+Description: Remote mail fetcher for POP2, POP3, APOP, IMAP
+Name: fetchmail
+Version: ${1}
+Release: 1
+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
+EOF