Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
amavis-stats
> amavis-stats.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File amavis-stats.spec of Package amavis-stats (Revision 2)
Currently displaying revision
2
,
show latest
Name: amavis-stats Version: 0.1.22 Release: 1 License: GPL Group: Productivity/Networking/Email Summary: amavis statistics generator URL: http://osx.topicdesk.com/content/view/42/59/ Source0: http://downloads.topicdesk.com/amavis_stats/%{name}-%{version}.tar.gz Patch0: %{name}-configure.patch Patch1: %{name}-gzcat.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: rrdtool rrdtool Requires: rrdtool %if 0%{?suse_version} BuildRequires: apache2 Requires: apache2 php5-rrdtool %define apache_usr wwwrun %define apache_grp www %endif %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} BuildRequires: httpd Requires: httpd %define apache_usr www %define apache_grp www %endif %description amavis-stats is a simple amavis statistics generator based on rrdtool. It produces graphs of clean emails, spam emails and infected emails broken down by virus, from amavis log entries (such as /var/log/mail.info). %prep %setup %patch0 autoreconf -fi %configure \ --disable-php \ --without-php \ --enable-startup \ --with-rrdtool=%{_bindir} \ --with-user=%{apache_usr} \ --with-group=%{apache_grp} %build %__make %install make DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %files %defattr(-,root,root) %changelog * Tue Oct 14 2008 Carsten Schoene <cs@linux-administrator.com> - initial build