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