From ab42e04a018639288d9285f92ec02aa8ea456222 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 9 Oct 1996 19:07:09 +0000 Subject: Add capability to generate RPM specfile. svn path=/trunk/; revision=275 --- INSTALL | 5 +++++ Makefile.in | 9 ++++++--- NEWS | 2 ++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 133678c6..361df92b 100644 --- a/INSTALL +++ b/INSTALL @@ -1,5 +1,10 @@ INSTALL Instructions for fetchmail +If you have installed binaries (e.g. from an RPM) you can skip to step 4. + +If you are a Linux system packager, be aware that the build process generates +an RPM spec file at fetchmail.spec. + 1. CONFIGURE Installing fetchmail is easy. From within this directory, type: diff --git a/Makefile.in b/Makefile.in index ecfea794..0871ced8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -86,7 +86,8 @@ srcs = $(srcdir)/socket.c $(srcdir)/getpass.c $(srcdir)/pop2.c \ .SUFFIXES: .SUFFIXES: .o .c .h .y .l .ps .dvi .info .texi -all: fetchmail +all: fetchmail fetchmail.spec + check: # No tests. depend: test -f config.h || touch config.h @@ -162,6 +163,8 @@ $(infodir)/fetchmail.info: fetchmail.info $(mandir)/$(instname).$(manext): fetchmail.man $(INSTALL_DATA) $(srcdir)/fetchmail.man $@ +fetchmail.spec: Makefile.in + specgen.sh $(VERS) >fetchmail.spec .PHONY: clean realclean distclean mostlyclean clean: @@ -172,7 +175,7 @@ distclean: clean -rm -f Makefile config.h -rm -f config.cache config.status config.log stamp-config -rm -f TAGS tags - -rm -f fetchmail.log fetchmail.toc fetchmail.*aux + -rm -f fetchmail.log fetchmail.toc fetchmail.*aux fetchmail.spec realclean: distclean # fetchmail.info* @@ -208,7 +211,7 @@ docs = $(srcdir)/COPYING $(srcdir)/README $(srcdir)/INSTALL $(srcdir)/NEWS \ $(srcdir)/*.man $(srcdir)/sample.rcfile config = $(srcdir)/Makefile.in $(srcdir)/configure.in $(srcdir)/configure \ $(srcdir)/config.guess $(srcdir)/config.h.in $(srcdir)/config.sub -scripts = $(srcdir)/install.sh $(srcdir)/mkinstalldirs +scripts = $(srcdir)/install.sh $(srcdir)/mkinstalldirs $(srcdir)/specgen.sh all = $(docs) $(config) $(srcs) $(parser) $(headers) $(extra) $(scripts) \ $(srcdir)/MANIFEST diff --git a/NEWS b/NEWS index a4d590d4..abe20ddb 100644 --- a/NEWS +++ b/NEWS @@ -30,6 +30,8 @@ features -- * Normal progress notifications now take only 1 line per message, not 2. +* Linux packagers: building fetchmail now generates an RPM specfile for it. + bugs -- * Fix buggy getopt specification of P and p options. -- cgit v1.2.3