/[smecontribs]/rpms/smeserver-learn/contribs8/smeserver-learn.spec
ViewVC logotype

Annotation of /rpms/smeserver-learn/contribs8/smeserver-learn.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (hide annotations) (download)
Wed Mar 9 11:44:45 2016 UTC (8 years, 2 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-learn-1_0-7_el5_sme
Changes since 1.6: +7 -2 lines
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.0-7.sme
- fix find not restrictive enough when learning also new [SME: 6862]

* Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-6.sme
- new version SME8 and SME9
- fix wrong default db key DeleteAfterLearn [SME: 7083]
- added inspection of temp and new subdir [SME: 6862]
- moved default db keys as file outside of spec
- new db properties: (LearnAsHam,LearnInWL)RemoveSPAMTag, (*)LeanNew,(*)Uniq,(LearnAsSpam)SpamLinks
- new account db property for user: SpamLinks
- import to buildsys [SME: 4423]
- use sa-learn per dir and not per message [SME: 1701]
- merge enhancements [SME: 4423] [SME: 1701]
- NFR: create links
- NFR: filter out SPAM tag from HAM and InWL mails
- NFR: added auto create folders if multiple folder disabled
- NFR: create db key for multiple folder to inspect
- enhanced move to junkmail or inbox
- moving job from crontab to /etc/cron.d/Learn
- fixed typo in event email-update (r3)
- fixed wrong file permission on /etc/cron.d/Lean [SME: 9283] (r4)
- fixed messy output [SME: 9284] (r5)
- fixed replaced cron file on update [SME: 9286](r6)

1 unnilennium 1.1 # $Id: smeserver-learn.spec,v 1.0 2016/03/07 13:40:22 unnilennium Exp $
2     # Authority: unnilennium
3     # Name: Jean-Philippe Pialasse.
4     %define name smeserver-learn
5     %define version 1.0
6 unnilennium 1.7 %define release 7
7 unnilennium 1.1
8     Summary: SME Server Mails Learning script
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Networking/Daemons
14     Source: %{name}-%{version}.tar.gz
15 unnilennium 1.3 Patch0: smeserver-learn-1.0-event.patch
16 unnilennium 1.4 Patch1: smeserver-learn-1.0-SME9283.patch
17 unnilennium 1.7 Patch2: smeserver-learn-1.0-SME9284.patch
18     Patch3: smeserver-learn-1.0-SME6862.patch
19 unnilennium 1.1 Packager: JP Pialasse <tests@pialasse.com>
20     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21     BuildArchitectures: noarch
22     Requires: perl-Email-Simple
23 unnilennium 1.2 BuildRequires: e-smith-devtools >= 1.13.1-03
24 unnilennium 1.1
25     %description
26     Scripts which allows users to interact with spamassassin rules simply
27     by droping mail in special folders of their mailbox (working only with imap)
28     - Learn mail as spam
29     - Learn mail as ham
30     - Whitelist the sender so his mails won't be taged as spam again
31    
32     %changelog
33 unnilennium 1.7 * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.0-7.sme
34     - fix find not restrictive enough when learning also new [SME: 6862]
35    
36 unnilennium 1.6 * Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-6.sme
37 unnilennium 1.1 - new version SME8 and SME9
38     - fix wrong default db key DeleteAfterLearn [SME: 7083]
39     - added inspection of temp and new subdir [SME: 6862]
40     - moved default db keys as file outside of spec
41     - new db properties: (LearnAsHam,LearnInWL)RemoveSPAMTag, (*)LeanNew,(*)Uniq,(LearnAsSpam)SpamLinks
42     - new account db property for user: SpamLinks
43     - import to buildsys [SME: 4423]
44     - use sa-learn per dir and not per message [SME: 1701]
45     - merge enhancements [SME: 4423] [SME: 1701]
46     - NFR: create links
47     - NFR: filter out SPAM tag from HAM and InWL mails
48     - NFR: added auto create folders if multiple folder disabled
49     - NFR: create db key for multiple folder to inspect
50     - enhanced move to junkmail or inbox
51     - moving job from crontab to /etc/cron.d/Learn
52 unnilennium 1.4 - fixed typo in event email-update (r3)
53     - fixed wrong file permission on /etc/cron.d/Lean [SME: 9283] (r4)
54 unnilennium 1.5 - fixed messy output [SME: 9284] (r5)
55 unnilennium 1.6 - fixed replaced cron file on update [SME: 9286](r6)
56 unnilennium 1.1
57     * Wed Jun 25 2008 Emmmanuel JOORIS <joorise@dot-world.net> 0.0.1-3
58     - add dependencies to spec file
59    
60     * Mon Jun 23 2008 Daniel B. <daniel@firewall-services.com> 0.0.1-2
61     - add spaces after the tags
62    
63     * Wed Jun 18 2008 Daniel B. <daniel@firewall-services.com> 0.0.1-1
64     - full path for Learn script in crontab templates
65     - rename to smeserver-learn
66     - Fix default tag for Ham mail to [HAM]
67     - Lean.pl will be executed daily by default
68    
69     * Wed Jun 11 2008 Emmanuel JOORIS <joorise@dot-world.net>
70     - 0.0.1-0
71     - Original version
72    
73     %prep
74     %setup
75 unnilennium 1.3 %patch0 -p1
76 unnilennium 1.4 %patch1 -p1
77 unnilennium 1.5 %patch2 -p1
78 unnilennium 1.7 %patch3 -p1
79 unnilennium 1.1
80     %build
81     perl createlinks
82    
83     %install
84     rm -rf $RPM_BUILD_ROOT
85     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
86     rm -f %{name}-%{version}-filelist
87 unnilennium 1.6 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT |\
88     sed -e "s@^$RPM_BUILD_ROOT@@g" \
89     -e "s@^%attr(0644,root,root) /etc/cron.d/Learn@%attr(0644,root,root)%config(noreplace) /etc/cron.d/Learn@"\
90     > %{name}-%{version}-filelist
91 unnilennium 1.1
92     %clean
93 unnilennium 1.6 #rm -rf $RPM_BUILD_ROOT
94 unnilennium 1.1
95     %post
96    
97     %postun
98    
99     %files -f %{name}-%{version}-filelist
100     %defattr(-,root,root)
101    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed