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