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

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

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

Revision 1.2 by unnilennium, Mon Mar 7 12:12:50 2016 UTC Revision 1.11 by unnilennium, Thu Mar 17 06:22:11 2016 UTC
# Line 3  Line 3 
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 2  %define release 10
7    
8  Summary: SME Server Mails Learning script  Summary: SME Server Mails Learning script
9  Name: %{name}  Name: %{name}
# Line 12  Release: %{release}%{?dist} Line 12  Release: %{release}%{?dist}
12  License: GPL  License: GPL
13  Group: Networking/Daemons  Group: Networking/Daemons
14  Source: %{name}-%{version}.tar.gz  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  Packager: JP Pialasse <tests@pialasse.com>  Packager: JP Pialasse <tests@pialasse.com>
24  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 26  by droping mail in special folders of th Line 34  by droping mail in special folders of th
34  - 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
35    
36  %changelog  %changelog
37  * Mon Mar 07 2016 JP Pialasse <tests@pialasse.com> 1.0-2.sme  * Wed Mar 16 2016 JP Pialasse <tests@pialasse.com> 1.0-10.sme
38    - fix encoding problem when removing or adding tags [SME: 9282]
39    - fix moving file not working MOVE patch [SME: 9314]
40    - NFR: setting for verbose (enabled,disabled, active) VERBOSE patch [SME: 9313]
41    
42    * Tue Mar 15 2016 JP Pialasse <tests@pialasse.com> 1.0-8.sme
43    - NFR: check admin Maildir [SME: 9279]
44    - NFR: restrict utilization to some users [SME: 9280]
45    
46    * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.0-7.sme
47    - fix find not restrictive enough when learning also new [SME: 6862]
48    
49    * Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-6.sme
50  - new version SME8 and SME9  - new version SME8 and SME9
51  - fix wrong default db key DeleteAfterLearn [SME: 7083]  - fix wrong default db key DeleteAfterLearn [SME: 7083]
52  - added inspection of temp and new subdir [SME: 6862]  - added inspection of temp and new subdir [SME: 6862]
# Line 42  by droping mail in special folders of th Line 62  by droping mail in special folders of th
62  - NFR: create db key for multiple folder to inspect  - NFR: create db key for multiple folder to inspect
63  - enhanced move to junkmail or inbox  - enhanced move to junkmail or inbox
64  - moving job from crontab to /etc/cron.d/Learn  - moving job from crontab to /etc/cron.d/Learn
65    - fixed typo in event email-update (r3)
66    - fixed wrong file permission on /etc/cron.d/Lean [SME: 9283] (r4)
67    - fixed messy output [SME: 9284] (r5)
68    - fixed replaced cron file on update [SME: 9286](r6)
69    
70  * 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
71  - add dependencies to spec file  - add dependencies to spec file
# Line 61  by droping mail in special folders of th Line 85  by droping mail in special folders of th
85    
86  %prep  %prep
87  %setup  %setup
88  #%patch0 -p1  %patch0 -p1
89    %patch1 -p1
90    %patch2 -p1
91    %patch3 -p1
92    %patch4 -p1
93    %patch5 -p1
94    %patch6 -p1
95    %patch7 -p1
96    
97  %build  %build
98  perl createlinks  perl createlinks
# Line 70  perl createlinks Line 101  perl createlinks
101  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
102  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
103  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
104  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT |\
105    sed -e "s@^$RPM_BUILD_ROOT@@g" \
106    -e "s@^%attr(0644,root,root) /etc/cron.d/Learn@%attr(0644,root,root)%config(noreplace) /etc/cron.d/Learn@"\
107    > %{name}-%{version}-filelist
108    
109  %clean  %clean
110  rm -rf $RPM_BUILD_ROOT  #rm -rf $RPM_BUILD_ROOT
111    
112  %post  %post
113    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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