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