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