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