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