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

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

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


Revision 1.2 - (show annotations) (download)
Sun Dec 20 11:58:48 2020 UTC (3 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-learn-1_0-14_el7_sme
Changes since 1.1: +5 -2 lines
* Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-14.sme
- Initial Import in SME 10 [SME: 11281]

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

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