1 |
# $Id: smeserver-unjunkmgr.spec,v 1.4 2020/11/18 18:43:36 brianr Exp $ |
2 |
# Authority: jesperknudsen |
3 |
# Name: Jesper Knudsen |
4 |
|
5 |
Summary: SME Server UnJunk Manager |
6 |
%define name smeserver-unjunkmgr |
7 |
%define version 3.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-bz11178-patch-ttf-dir.patch |
16 |
Patch1: smeserver-unjunkmgr-3.0-Fix-SME-Version-Check.patch |
17 |
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArch: noarch |
20 |
BuildRequires: e-smith-devtools |
21 |
Requires: smeserver-release >= 10.0 |
22 |
Requires: perl-MIME-Lite => 3 |
23 |
Requires: perl-DateManip => 5.40 |
24 |
Requires: mrtg |
25 |
Requires: perl-Email-Date-Format |
26 |
Obsoletes: sme-unjunkmgr |
27 |
|
28 |
%changelog |
29 |
* Wed Nov 18 2020 Brian Read <brianr@bjsystems.co.uk> 3.0-2.sme |
30 |
- Fix SME Version check in perl stats prgram [SME: 11178] |
31 |
|
32 |
* Wed Nov 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0-1.sme |
33 |
- Completely update jpgraph to 4.3.4 |
34 |
- clean up various files and incorporate patches [SME: 11178] |
35 |
|
36 |
* Tue Nov 17 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-5.sme |
37 |
- Update jpgraph and fix php references in httpd.conf [SME: 11178] |
38 |
|
39 |
* Mon Nov 16 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-4.sme |
40 |
- Initial import to SME10 tree [SME: 11178] |
41 |
|
42 |
* Fri Apr 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.1-3.sme |
43 |
- added a unjunkmgr menu entry in the server-manager [sme : 8307] |
44 |
|
45 |
* Thu Jun 27 2013 JP Pialasse <tests@pialasse.com> 2.1-2.sme |
46 |
- fix some php deprecated and PHP warning |
47 |
- patch1 |
48 |
|
49 |
* Wed Jun 26 2013 JP Pialasse <tests@pialasse.com> 2.1-1.sme |
50 |
- update JpGraph to fix deprecated messages |
51 |
- added perl-Email-Date-Format requirement for sme8 as per wiki |
52 |
- patch ttfpatch |
53 |
|
54 |
* Tue Jun 25 2013 JP Pialasse <tests@pialasse.com> 2.0-4.sme |
55 |
- fix db default [SME: 7701] |
56 |
- patch0 |
57 |
- added createlink in spec file |
58 |
|
59 |
* Wed Jun 02 2010 Shad L. Lords <slords@mail.com> 2.0-1.sme |
60 |
- Clean up spec for importing into CVS |
61 |
|
62 |
* Thu Jun 4 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.1.3-1 |
63 |
- Added top spammed email stats in GUI and updated CSS to show nicely in IE |
64 |
- Fixed problem using unjunkhost confg parameter |
65 |
|
66 |
* Fri Apr 3 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.1.0-2 |
67 |
- Fixed error in spamreminder.pl line 112 |
68 |
|
69 |
* Thu Apr 2 2009 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.1.0-1 |
70 |
- Updated to submit statistics more randomly over the hour to avoid congestion on central |
71 |
- Add pie charts on stats |
72 |
- Add more configuration options |
73 |
|
74 |
* Thu Aug 28 2008 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.1-1 |
75 |
- Updated spamreminder.pl to allow non-exisitng Subject fields |
76 |
- Made dependency of MRTG for RPM |
77 |
- Make sure to cleanup during un-install |
78 |
|
79 |
* Fri Aug 22 2008 Jesper Knudsen <jesper@swerts-knudsen.dk> 1.0.0-1 |
80 |
- First release |
81 |
|
82 |
%description |
83 |
SME Server UnJunk Manager which scan the individual users junkmail folders and |
84 |
sends out a weekly summary where they can unjunk the emails |
85 |
|
86 |
%prep |
87 |
%setup |
88 |
%patch0 -p1 |
89 |
%patch1 -p1 |
90 |
|
91 |
%build |
92 |
perl createlinks |
93 |
|
94 |
%install |
95 |
rm -rf $RPM_BUILD_ROOT |
96 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
97 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
98 |
echo "%doc " >> %{name}-%{version}-filelist |
99 |
|
100 |
%clean |
101 |
rm -rf $RPM_BUILD_ROOT |
102 |
|
103 |
%files -f %{name}-%{version}-filelist |
104 |
%defattr(-,root,root) |