%define name dot-forward %define version 0.71 %define release 1 Name: dot-forward Version: 0.71 Release: 1 Group: Utilities/System URL: http://pobox.com/~djb/dot-forward.html License: Check with djb@koobera.math.uic.edu Source: ftp://koobera.math.uic.edu/www/software/dot-forward-%{version}.tar.gz Patch: dot-forward-%{version}.patch Summary: Dot-Forward (.forward) processing for qmail Buildroot: /var/tmp/dot-forward-root Requires: qmail >= 1.03 #Packager: Leon Breedt %changelog * Sun Apr 18 1999 -- initial release %description dot-forward reads sendmail's .forward files under qmail. You can run it in the qmail startup script to support all your existing .forward files automatically. Individual users can switch to the .qmail mechanism at their leisure. dot-forward supports forwarding, program deliveries, and comments. It does not support file deliveries or :include:. (However, it recognizes file delivery attempts, and defers delivery to give you a chance to set up a .qmail file.) %prep %setup %patch -p1 %build # hack to make sure *real* qmail root gets put in dot-forward make auto_qmail.o make make man %install QMAILROOT=`head -1 conf-qmail` NEWQMAIL="$RPM_BUILD_ROOT$QMAILROOT" echo $NEWQMAIL > conf-qmail make install instcheck mkdir -p $NEWQMAIL make setup check %post echo "See dot-forward(1) for usage information." %clean rm -rf $RPM_BUILD_ROOT %files /var/qmail/bin/dot-forward /var/qmail/man/cat1/dot-forward.0 %doc /var/qmail/man/man1/dot-forward.1