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