1 |
unnilennium |
1.1 |
# $Id: smeserver-dansguardian-stats.spec,v 1.2 2010/06/02 18:23:07 slords Exp $ |
2 |
|
|
# Authority: jesperknudsen |
3 |
|
|
# Name: Jesper Knudsen |
4 |
|
|
|
5 |
|
|
Summary: SME Server 7.x Dansguardian Statistics Interface |
6 |
|
|
%define name smeserver-dansguardian-stats |
7 |
|
|
%define version 2.0 |
8 |
|
|
%define release 1 |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: SME Server/addon |
14 |
|
|
Source: %{name}-%{version}.tgz |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
16 |
|
|
BuildArch: noarch |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
Requires: smeserver-release >= 7.0 |
19 |
|
|
Requires: perl-DateManip => 5.40 |
20 |
|
|
Requires: smeserver-dansguardian |
21 |
|
|
Requires: dansguardian |
22 |
|
|
|
23 |
|
|
%changelog |
24 |
|
|
* Wed Jun 02 2010 Shad L. Lords <slords@mail.com> 2.0-1.sme |
25 |
|
|
- Clean up spec for importing into CVS |
26 |
|
|
|
27 |
|
|
* Wed May 20 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.3-1 |
28 |
|
|
- Updated log parser to handle blocked sites better and avoid categories which was represented as numbers rather than names |
29 |
|
|
|
30 |
|
|
* Wed Apr 29 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.2-1 |
31 |
|
|
- Updated log parser to handle "EXCEPTION" |
32 |
|
|
- Changed pie chart to bars and updated CSS |
33 |
|
|
|
34 |
|
|
* Fri Apr 24 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.0-1 |
35 |
|
|
- First release |
36 |
|
|
|
37 |
|
|
%description |
38 |
|
|
SME Server 7x Dansguardian statistics interface which provided a web interface where scanned, blocked and infected |
39 |
|
|
sites can be seen |
40 |
|
|
|
41 |
|
|
%prep |
42 |
|
|
%setup |
43 |
|
|
|
44 |
|
|
%build |
45 |
|
|
|
46 |
|
|
%install |
47 |
|
|
rm -rf $RPM_BUILD_ROOT |
48 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
49 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
50 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
51 |
|
|
|
52 |
|
|
%clean |
53 |
|
|
rm -rf $RPM_BUILD_ROOT |
54 |
|
|
|
55 |
|
|
%files -f %{name}-%{version}-filelist |
56 |
|
|
%defattr(-,root,root) |