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