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