%define name smeserver-ezmlm-www %define version 1.4.5 %define release 01 Summary: ezmlm-www packaged for sme server Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Networking/Other Source: %{name}-%{version}.tar.gz Packager: Normando Hall BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive AutoReq: no BuildArchitectures: noarch %description ezmlm-www This project provides a useful web interface for Ezmlm mailing list archives. It extends ezmlm-cgi.c capabilities and features by using a modular architecture: it is fully Perl-based. %changelog * Wed Dec 5 2007 Normando Hall - first release %prep %setup %build %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %post /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /etc/rc.d/init.d/httpd-e-smith sigusr1 %postun /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /etc/rc.d/init.d/httpd-e-smith sigusr1 %files -f %{name}-%{version}-filelist %defattr(-,root,root) %attr(0755,root,root) /opt/mailinglist/search/ez_indexer.pl %attr(0755,root,root) /opt/mailinglist/ezmlm-www.pl %attr(4711,ezmlm,ezmlm) /opt/mailinglist/index.cgi