Name : openwebmail Version : 2.51 Release : 20050627 License : GPL Summary : Open WebMail webmail client Group : Applications/Internet URL : http://openwebmail.org Vendor : Open Webmail Project Packager : Thomas Chung BuildRoot : %{_tmppath}/%{name}-buildroot Source0 : openwebmail-current.tar.gz Source1 : openwebmail.conf Source2 : auth_unix.conf Source3 : openwebmail.logrotate Requires : perl Requires : perl-suidperl Requires : perl-Compress-Zlib Requires : perl-Text-Iconv AutoReq : no AutoProv : no %description Open WebMail is a webmail system based on the Neomail version 1.14 from Ernie Miller. Open WebMail is designed to manage very large mail folder files in a memory efficient way. It also provides a range of features to help users migrate smoothly from Microsoft Outlook to Open WebMail. %prep rm -rf %{buildroot} %install mkdir -p %{buildroot}/var/www/{cgi-bin,data,html} tar -zxBpf %{SOURCE0} --directory=%{buildroot}/var/www install -p -m644 %{SOURCE1} %{buildroot}/var/www/cgi-bin/openwebmail/etc/openwebmail.conf install -p -m644 %{SOURCE2} %{buildroot}/var/www/cgi-bin/openwebmail/etc/auth_unix.conf ln -sf /var/www/data %{buildroot}/var/www/html/data mkdir -p %{buildroot}/etc/smrsh ln -sf /var/www/cgi-bin/openwebmail/vacation.pl %{buildroot}/etc/smrsh/vacation.pl mkdir -p %{buildroot}/etc/logrotate.d install -p -m644 %{SOURCE3} %{buildroot}/etc/logrotate.d/openwebmail.logrotate %clean rm -rf %{buildroot} %files /var/www/cgi-bin/openwebmail /var/www/data/openwebmail /var/www/html/data /etc/smrsh/vacation.pl /etc/logrotate.d/openwebmail.logrotate %changelog * Mon Feb 28 2005 Thomas Chung - Version 2.51 * Thu Jan 06 2005 Thomas Chung - Version 2.50 * Sun Sep 26 2004 Thomas Chung - Version 2.41 * Sun Aug 15 2004 Thomas Chung - Version 2.40 * Mon Jul 26 2004 Thomas Chung - Add dependency check for perl - Add dependency check for perl-suidperl - Add dependency check for perl-Compress-Zlib - Add dependency check for perl-Text-Iconv * Thu Jul 22 2004 Thomas Chung - Clean up spec file - Use macro %post echo echo "You may login with non-root account from" echo "http://$HOSTNAME/cgi-bin/openwebmail/openwebmail.pl" echo