3 |
# Name: Jean-Philippe Pialasse. |
# Name: Jean-Philippe Pialasse. |
4 |
%define name smeserver-learn |
%define name smeserver-learn |
5 |
%define version 1.0 |
%define version 1.0 |
6 |
%define release 5 |
%define release 12 |
7 |
|
|
8 |
Summary: SME Server Mails Learning script |
Summary: SME Server Mails Learning script |
9 |
Name: %{name} |
Name: %{name} |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-learn-1.0-event.patch |
Patch0: smeserver-learn-1.0-event.patch |
16 |
Patch1: smeserver-learn-1.0-SME9283.patch |
Patch1: smeserver-learn-1.0-SME9283.patch |
17 |
Patch2:smeserver-learn-1.0-SME9284.patch |
Patch2: smeserver-learn-1.0-SME9284.patch |
18 |
|
Patch3: smeserver-learn-1.0-SME6862.patch |
19 |
|
Patch4: smeserver-learn-1.0-admin.patch |
20 |
|
Patch5: smeserver-learn-1.0-SME9282.patch |
21 |
|
Patch6: smeserver-learn-1.0-MOVE.patch |
22 |
|
Patch7: smeserver-learn-1.0-VERBOSE.patch |
23 |
|
Patch8: smeserver-learn-1.0-devnull.patch |
24 |
|
Patch9: smeserver-learn-1.0.bz9446.chown-bayes_tok.patch |
25 |
Packager: JP Pialasse <tests@pialasse.com> |
Packager: JP Pialasse <tests@pialasse.com> |
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
- Whitelist the sender so his mails won't be taged as spam again |
- Whitelist the sender so his mails won't be taged as spam again |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
* Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-5.sme |
* Fri Jul 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-12.sme |
40 |
|
- fix permission problem on bayes_tok [SME: 9446] |
41 |
|
|
42 |
|
* Sat May 14 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-11.sme |
43 |
|
- fix verbose disabled unlink /dev/null [SME: 9512] |
44 |
|
|
45 |
|
* Wed Mar 16 2016 JP Pialasse <tests@pialasse.com> 1.0-10.sme |
46 |
|
- fix encoding problem when removing or adding tags [SME: 9282] |
47 |
|
- fix moving file not working MOVE patch [SME: 9314] |
48 |
|
- NFR: setting for verbose (enabled,disabled, active) VERBOSE patch [SME: 9313] |
49 |
|
|
50 |
|
* Tue Mar 15 2016 JP Pialasse <tests@pialasse.com> 1.0-8.sme |
51 |
|
- NFR: check admin Maildir [SME: 9279] |
52 |
|
- NFR: restrict utilization to some users [SME: 9280] |
53 |
|
|
54 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.0-7.sme |
55 |
|
- fix find not restrictive enough when learning also new [SME: 6862] |
56 |
|
|
57 |
|
* Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-6.sme |
58 |
- new version SME8 and SME9 |
- new version SME8 and SME9 |
59 |
- fix wrong default db key DeleteAfterLearn [SME: 7083] |
- fix wrong default db key DeleteAfterLearn [SME: 7083] |
60 |
- added inspection of temp and new subdir [SME: 6862] |
- added inspection of temp and new subdir [SME: 6862] |
73 |
- fixed typo in event email-update (r3) |
- fixed typo in event email-update (r3) |
74 |
- fixed wrong file permission on /etc/cron.d/Lean [SME: 9283] (r4) |
- fixed wrong file permission on /etc/cron.d/Lean [SME: 9283] (r4) |
75 |
- fixed messy output [SME: 9284] (r5) |
- fixed messy output [SME: 9284] (r5) |
76 |
|
- fixed replaced cron file on update [SME: 9286](r6) |
77 |
|
|
78 |
* Wed Jun 25 2008 Emmmanuel JOORIS <joorise@dot-world.net> 0.0.1-3 |
* Wed Jun 25 2008 Emmmanuel JOORIS <joorise@dot-world.net> 0.0.1-3 |
79 |
- add dependencies to spec file |
- add dependencies to spec file |
96 |
%patch0 -p1 |
%patch0 -p1 |
97 |
%patch1 -p1 |
%patch1 -p1 |
98 |
%patch2 -p1 |
%patch2 -p1 |
99 |
|
%patch3 -p1 |
100 |
|
%patch4 -p1 |
101 |
|
%patch5 -p1 |
102 |
|
%patch6 -p1 |
103 |
|
%patch7 -p1 |
104 |
|
%patch8 -p1 |
105 |
|
%patch9 -p1 |
106 |
|
|
107 |
%build |
%build |
108 |
perl createlinks |
perl createlinks |
111 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
112 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
113 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
114 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT |\ |
115 |
|
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
116 |
|
-e "s@^%attr(0644,root,root) /etc/cron.d/Learn@%attr(0644,root,root)%config(noreplace) /etc/cron.d/Learn@"\ |
117 |
|
> %{name}-%{version}-filelist |
118 |
|
|
119 |
%clean |
%clean |
120 |
rm -rf $RPM_BUILD_ROOT |
#rm -rf $RPM_BUILD_ROOT |
121 |
|
|
122 |
%post |
%post |
123 |
|
|