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