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