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

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

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


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

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