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