1 |
unnilennium |
1.2 |
# $Id: smeserver-dansguardian-stats.spec,v 1.1 2013/05/24 21:48:00 unnilennium Exp $ |
2 |
unnilennium |
1.1 |
# Authority: jesperknudsen |
3 |
|
|
# Name: Jesper Knudsen |
4 |
|
|
|
5 |
unnilennium |
1.2 |
Summary: SME Server Dansguardian Statistics Interface |
6 |
unnilennium |
1.1 |
%define name smeserver-dansguardian-stats |
7 |
unnilennium |
1.2 |
%define version 2.1 |
8 |
unnilennium |
1.1 |
%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 |
unnilennium |
1.2 |
Patch0: smeserver-dansguardian-stats-2.1-FONTSPATH.patch |
16 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
|
|
BuildArch: noarch |
18 |
|
|
BuildRequires: e-smith-devtools |
19 |
unnilennium |
1.2 |
Requires: smeserver-release >= 8.0 |
20 |
unnilennium |
1.1 |
Requires: perl-DateManip => 5.40 |
21 |
|
|
Requires: smeserver-dansguardian |
22 |
|
|
Requires: dansguardian |
23 |
|
|
|
24 |
|
|
%changelog |
25 |
unnilennium |
1.2 |
* Mon Mar 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.1-1.sme |
26 |
|
|
- update for SME8 [SME: 7737] |
27 |
|
|
- fix deprecated split and ereg php fucntions [SME: 9359] |
28 |
|
|
- update jpeggraph to jpgraph-3.5.0b1 from http://jpgraph.net/download/ |
29 |
|
|
- incorporate DB defaults [SME: 9357] |
30 |
|
|
- templates and services in event dansguardian-save. |
31 |
|
|
|
32 |
unnilennium |
1.1 |
* Wed Jun 02 2010 Shad L. Lords <slords@mail.com> 2.0-1.sme |
33 |
|
|
- Clean up spec for importing into CVS |
34 |
|
|
|
35 |
|
|
* Wed May 20 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.3-1 |
36 |
|
|
- Updated log parser to handle blocked sites better and avoid categories which was represented as numbers rather than names |
37 |
|
|
|
38 |
|
|
* Wed Apr 29 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.2-1 |
39 |
|
|
- Updated log parser to handle "EXCEPTION" |
40 |
|
|
- Changed pie chart to bars and updated CSS |
41 |
|
|
|
42 |
|
|
* Fri Apr 24 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.0-1 |
43 |
|
|
- First release |
44 |
|
|
|
45 |
|
|
%description |
46 |
unnilennium |
1.2 |
SME Server Dansguardian statistics interface which provided a web interface where scanned, blocked and infected |
47 |
unnilennium |
1.1 |
sites can be seen |
48 |
|
|
|
49 |
|
|
%prep |
50 |
|
|
%setup |
51 |
unnilennium |
1.2 |
%patch0 -p1 |
52 |
unnilennium |
1.1 |
|
53 |
|
|
%build |
54 |
unnilennium |
1.2 |
perl createlinks |
55 |
unnilennium |
1.1 |
|
56 |
|
|
%install |
57 |
|
|
rm -rf $RPM_BUILD_ROOT |
58 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
59 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
60 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
61 |
|
|
|
62 |
|
|
%clean |
63 |
|
|
rm -rf $RPM_BUILD_ROOT |
64 |
|
|
|
65 |
|
|
%files -f %{name}-%{version}-filelist |
66 |
|
|
%defattr(-,root,root) |