# # spec file for package SWAT-sendmail # # Copyright (c) 1999 SuSE GmbH Nuernberg, Germany. # Vendor: SuSE GmbH, Nuernberg, Germany Distribution: SuSE Linux 6.2 (i386) Name: swat Release: 1 Copyright: GPL Group: unsorted Version: 0.8 Summary: WWW frontend for sendmail Source: swat.tar.gz %description SWAT (Sendmail Web Administration Tool - similar to SWAT, the Samba WAT) is a frontend for configuring sendmail. It has not only the name in common with that Samba tool. %prep %setup -n swat %build %install install -o root -g root -m 640 sendmail.ini /etc/mail/sendmail.ini install -o root -g root -m 750 create-cf.pl /etc/mail/create-cf.pl cp sendmail.ini /etc/mail/sendmail.ini cp create-cf.pl /etc/mail/create-cf.pl mkdir -p /usr/local/httpd/web-conf/ mv sendmail /usr/local/httpd/web-conf/ chmod 6755 /etc/mail/create-cf.pl /usr/local/httpd/web-conf/sendmail/*.cgi %post echo echo "Read /usr/doc/packages/swat/README for how to use this stuff." echo %files %doc README %config /etc/mail/sendmail.ini /etc/mail/create-cf.pl /usr/local/httpd/web-conf/sendmail/