/[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.4 by unnilennium, Tue Mar 8 03:21:42 2016 UTC Revision 1.6 by unnilennium, Tue Mar 8 10:39:22 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 4  %define release 6
7    
8  Summary: SME Server Mails Learning script  Summary: SME Server Mails Learning script
9  Name: %{name}  Name: %{name}
# Line 14  Group: Networking/Daemons Line 14  Group: Networking/Daemons
14  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
15  Patch0: smeserver-learn-1.0-event.patch  Patch0: smeserver-learn-1.0-event.patch
16  Patch1: smeserver-learn-1.0-SME9283.patch  Patch1: smeserver-learn-1.0-SME9283.patch
17    Patch2:smeserver-learn-1.0-SME9284.patch
18  Packager: JP Pialasse <tests@pialasse.com>  Packager: JP Pialasse <tests@pialasse.com>
19  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 28  by droping mail in special folders of th Line 29  by droping mail in special folders of th
29  - 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
30    
31  %changelog  %changelog
32  * Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-4.sme  * Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-6.sme
33  - new version SME8 and SME9  - new version SME8 and SME9
34  - fix wrong default db key DeleteAfterLearn [SME: 7083]  - fix wrong default db key DeleteAfterLearn [SME: 7083]
35  - added inspection of temp and new subdir [SME: 6862]  - added inspection of temp and new subdir [SME: 6862]
# Line 46  by droping mail in special folders of th Line 47  by droping mail in special folders of th
47  - moving job from crontab to /etc/cron.d/Learn  - moving job from crontab to /etc/cron.d/Learn
48  - fixed typo in event email-update (r3)  - fixed typo in event email-update (r3)
49  - fixed wrong file permission on /etc/cron.d/Lean [SME: 9283] (r4)  - 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  * Wed Jun 25 2008 Emmmanuel JOORIS <joorise@dot-world.net> 0.0.1-3
54  - add dependencies to spec file  - add dependencies to spec file
# Line 67  by droping mail in special folders of th Line 70  by droping mail in special folders of th
70  %setup  %setup
71  %patch0 -p1  %patch0 -p1
72  %patch1 -p1  %patch1 -p1
73    %patch2 -p1
74    
75  %build  %build
76  perl createlinks  perl createlinks
# Line 75  perl createlinks Line 79  perl createlinks
79  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
80  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
81  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
82  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /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  %clean
88  rm -rf $RPM_BUILD_ROOT  #rm -rf $RPM_BUILD_ROOT
89    
90  %post  %post
91    


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