1 |
unnilennium |
1.5 |
# $Id: smeserver-unjunkmgr.spec,v 1.4 2013/06/25 20:49:22 unnilennium Exp $ |
2 |
unnilennium |
1.1 |
# Authority: jesperknudsen |
3 |
|
|
# Name: Jesper Knudsen |
4 |
|
|
|
5 |
|
|
Summary: SME Server UnJunk Manager |
6 |
|
|
%define name smeserver-unjunkmgr |
7 |
|
|
%define version 2.0 |
8 |
unnilennium |
1.5 |
%define release 5 |
9 |
unnilennium |
1.1 |
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-unjunkmgr-2.0-patch0.patch |
16 |
unnilennium |
1.5 |
Patch1: smeserver-unjunkmgr-2.0-updateJpGraph.patch |
17 |
|
|
Patch2: smeserver-unjunkmgr-2.0-ttfpatch.patch |
18 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
|
|
BuildArch: noarch |
20 |
|
|
BuildRequires: e-smith-devtools |
21 |
|
|
Requires: smeserver-release >= 7.0 |
22 |
|
|
Requires: perl-MIME-Lite => 3 |
23 |
|
|
Requires: perl-DateManip => 5.40 |
24 |
|
|
Requires: mrtg |
25 |
unnilennium |
1.5 |
Requires: perl-Email-Date-Format |
26 |
unnilennium |
1.1 |
Obsoletes: sme-unjunkmgr |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
unnilennium |
1.5 |
* Wed Jun 26 2013 JP Pialasse <tests@pialasse.com> 2.0-5.sme |
30 |
|
|
- update JpGraph to fix deprecated messages |
31 |
|
|
- added perl-Email-Date-Format requirement for sme8 as per wiki |
32 |
|
|
- patch updateJpGraph |
33 |
|
|
- patch ttfpatch |
34 |
|
|
|
35 |
unnilennium |
1.4 |
* Tue Jun 25 2013 JP Pialasse <tests@pialasse.com> 2.0-4.sme |
36 |
unnilennium |
1.2 |
- fix db default [SME: 7701] |
37 |
|
|
- patch0 |
38 |
unnilennium |
1.3 |
- added createlink in spec file |
39 |
unnilennium |
1.2 |
|
40 |
unnilennium |
1.1 |
* Wed Jun 02 2010 Shad L. Lords <slords@mail.com> 2.0-1.sme |
41 |
|
|
- Clean up spec for importing into CVS |
42 |
|
|
|
43 |
|
|
* Thu Jun 4 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.1.3-1 |
44 |
|
|
- Added top spammed email stats in GUI and updated CSS to show nicely in IE |
45 |
|
|
- Fixed problem using unjunkhost confg parameter |
46 |
|
|
|
47 |
|
|
* Fri Apr 3 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.1.0-2 |
48 |
|
|
- Fixed error in spamreminder.pl line 112 |
49 |
|
|
|
50 |
|
|
* Thu Apr 2 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.1.0-1 |
51 |
|
|
- Updated to submit statistics more randomly over the hour to avoid congestion on central |
52 |
|
|
- Add pie charts on stats |
53 |
|
|
- Add more configuration options |
54 |
|
|
|
55 |
|
|
* Thu Aug 28 2008 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.1-1 |
56 |
|
|
- Updated spamreminder.pl to allow non-exisitng Subject fields |
57 |
|
|
- Made dependency of MRTG for RPM |
58 |
|
|
- Make sure to cleanup during un-install |
59 |
|
|
|
60 |
|
|
* Fri Aug 22 2008 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.0-1 |
61 |
|
|
- First release |
62 |
|
|
|
63 |
|
|
%description |
64 |
|
|
SME Server 7x UnJunk Manager which scan the individual users junkmail folders and |
65 |
|
|
sends out a weekly summary where they can unjunk the emails |
66 |
|
|
|
67 |
|
|
%prep |
68 |
|
|
%setup |
69 |
unnilennium |
1.2 |
%patch0 -p1 |
70 |
unnilennium |
1.5 |
%patch1 -p1 |
71 |
|
|
%patch2 -p1 |
72 |
unnilennium |
1.1 |
|
73 |
|
|
%build |
74 |
unnilennium |
1.3 |
perl createlinks |
75 |
unnilennium |
1.1 |
|
76 |
|
|
%install |
77 |
|
|
rm -rf $RPM_BUILD_ROOT |
78 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
79 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
80 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
81 |
|
|
|
82 |
|
|
%clean |
83 |
|
|
rm -rf $RPM_BUILD_ROOT |
84 |
|
|
|
85 |
|
|
%files -f %{name}-%{version}-filelist |
86 |
|
|
%defattr(-,root,root) |