/[smeserver]/rpms/e-smith-email/sme10/e-smith-email.spec
ViewVC logotype

Diff of /rpms/e-smith-email/sme10/e-smith-email.spec

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

Revision 1.7 by jpp, Sun Jun 28 03:52:15 2020 UTC Revision 1.8 by jpp, Fri Dec 11 14:42:46 2020 UTC
# Line 1  Line 1 
1  # $Id: e-smith-email.spec,v 1.6 2016/06/15 08:30:29 unnilennium Exp $  # $Id: e-smith-email.spec,v 1.7 2020/06/28 03:52:15 jpp Exp $
2    
3  Summary: e-smith server and gateway - email module  Summary: e-smith server and gateway - email module
4  %define name e-smith-email  %define name e-smith-email
5  Name: %{name}  Name: %{name}
6  %define version 5.6.0  %define version 5.6.0
7  %define release 7  %define release 8
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 15  Patch1: e-smith-email-5.6.0-qpsmtpd_in_a Line 15  Patch1: e-smith-email-5.6.0-qpsmtpd_in_a
15  Patch2: e-smith-email-5.6.0-qpsmtpd_in_masq_templates.patch  Patch2: e-smith-email-5.6.0-qpsmtpd_in_masq_templates.patch
16  Patch3: e-smith-email-5.6.0-mysqld2mariadb.patch  Patch3: e-smith-email-5.6.0-mysqld2mariadb.patch
17  Patch4: e-smith-email-5.6.0-bz3802-create-local-pseudo.patch  Patch4: e-smith-email-5.6.0-bz3802-create-local-pseudo.patch
18    Patch5: e-smith-email-5.6.0-bz11133-bz11102-systemd-update.patch
19    
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  Requires: e-smith-base >= 4.15.0-39  Requires: e-smith-base >= 4.15.0-39
# Line 44  AutoReqProv: no Line 45  AutoReqProv: no
45  %patch2 -p1  %patch2 -p1
46  %patch3 -p1  %patch3 -p1
47  %patch4 -p1  %patch4 -p1
48    %patch5 -p1
49    rm -rf root/var/service/
50    
51  %build  %build
52  perl createlinks  perl createlinks
# Line 56  rm -rf $RPM_BUILD_ROOT Line 59  rm -rf $RPM_BUILD_ROOT
59  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
60  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT       \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT       \
61      --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \      --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \
     --dir '/var/service/smtp-auth-proxy' 'attr(1755,root,root)' \  
     --file '/var/service/smtp-auth-proxy/down' 'attr(0644,root,root)' \  
     --file '/var/service/smtp-auth-proxy/run' 'attr(0755,root,root)' \  
     --dir '/var/service/smtp-auth-proxy/supervise' 'attr(0700,root,root)' \  
     --dir '/var/service/smtp-auth-proxy/log' 'attr(0755,root,root)' \  
     --file '/var/service/smtp-auth-proxy/log/run' 'attr(0755,root,root)' \  
     --file '/var/service/smtp-auth-proxy/log/supervise' 'attr(0700,root,root)' \  
62      --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \      --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \
63      --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \      --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \
64      --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \      --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \
# Line 78  rm -rf $RPM_BUILD_ROOT Line 74  rm -rf $RPM_BUILD_ROOT
74  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
75  %defattr(-,root,root)  %defattr(-,root,root)
76    
77    %pre
78    if [ $1 -gt 1 ] ; then
79      if [ -e /var/service/smtp-auth-proxy/run ] ; then
80           /usr/bin/sv d smtp-auth-proxy
81           /usr/bin/sv d smtp-auth-proxy/log
82      fi
83    fi
84    
85  %description  %description
86  e-smith server and gateway software - email module.  e-smith server and gateway software - email module.
87    
88  %changelog  %changelog
89    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-8.sme
90    - create -update event [SME: 11133]
91    - move smtp-auth-proxy to systemd [SME: 11102]
92    
93  * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme  * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme
94  - allow creation of pseudonyms with setting of local only [SME: 3802]  - allow creation of pseudonyms with setting of local only [SME: 3802]
95    


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