/[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.9 - (hide annotations) (download)
Wed Mar 16 11:50:03 2016 UTC (8 years, 2 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-learn-1_0-9_el5_sme
Changes since 1.8: +6 -1 lines
* Wed Mar 16 2016 JP Pialasse <tests@pialasse.com> 1.0-9.sme
- fix encoding problem when removing or adding tags [SME: 9282]

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

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