/[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.5 by vip-ire, Tue Jun 7 06:57:30 2016 UTC Revision 1.6 by unnilennium, Wed Jun 15 08:30:29 2016 UTC
# Line 1  Line 1 
1  # $Id: e-smith-email.spec,v 1.4 2016/06/03 07:36:15 vip-ire Exp $  # $Id: e-smith-email.spec,v 1.5 2016/06/07 06:57:30 vip-ire 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 5  %define release 6
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 13  Source: %{name}-%{version}.tar.xz Line 13  Source: %{name}-%{version}.tar.xz
13  Patch0: e-smith-email-5.6.0-smtpd_to_qpsmtpd.patch  Patch0: e-smith-email-5.6.0-smtpd_to_qpsmtpd.patch
14  Patch1: e-smith-email-5.6.0-qpsmtpd_in_auth_proxy.patch  Patch1: e-smith-email-5.6.0-qpsmtpd_in_auth_proxy.patch
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
17  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18  Requires: e-smith-base >= 4.15.0-39  Requires: e-smith-base >= 4.15.0-39
19  Requires: e-smith-tinydns >= 1.0.0-5  Requires: e-smith-tinydns >= 1.0.0-5
# Line 34  BuildRequires: e-smith-devtools >= 1.13. Line 35  BuildRequires: e-smith-devtools >= 1.13.
35  BuildArchitectures: noarch  BuildArchitectures: noarch
36  AutoReqProv: no  AutoReqProv: no
37    
38    %prep
39    %setup
40    %patch0 -p1
41    %patch1 -p1
42    %patch2 -p1
43    %patch3 -p1
44    
45    %build
46    perl createlinks
47    
48    %postun
49    
50    %install
51    rm -rf $RPM_BUILD_ROOT
52    (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
53    rm -f %{name}-%{version}-%{release}-filelist
54    /sbin/e-smith/genfilelist $RPM_BUILD_ROOT       \
55        --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \
56        --dir '/var/service/smtp-auth-proxy' 'attr(1755,root,root)' \
57        --file '/var/service/smtp-auth-proxy/down' 'attr(0644,root,root)' \
58        --file '/var/service/smtp-auth-proxy/run' 'attr(0755,root,root)' \
59        --dir '/var/service/smtp-auth-proxy/supervise' 'attr(0700,root,root)' \
60        --dir '/var/service/smtp-auth-proxy/log' 'attr(0755,root,root)' \
61        --file '/var/service/smtp-auth-proxy/log/run' 'attr(0755,root,root)' \
62        --file '/var/service/smtp-auth-proxy/log/supervise' 'attr(0700,root,root)' \
63        --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \
64        --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \
65        --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \
66        --dir '/home/e-smith/Maildir/.junkmail/tmp' 'attr(0700,admin,admin)' \
67        --dir '/home/e-smith/Maildir/.junkmail/new' 'attr(0700,admin,admin)' \
68        --dir '/home/e-smith/Maildir/.junkmail/cur' 'attr(0700,admin,admin)' \
69        > %{name}-%{version}-%{release}-filelist
70    echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
71    
72    %clean
73    rm -rf $RPM_BUILD_ROOT
74    
75    %files -f %{name}-%{version}-%{release}-filelist
76    %defattr(-,root,root)
77    
78    
79  %description  %description
80  e-smith server and gateway software - email module.  e-smith server and gateway software - email module.
81    
82  %changelog  %changelog
83    * Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme
84    - fix webmail status not displaying correctly in manager [SME: 9594]
85    
86  * Tue Jun 7 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-5.sme  * Tue Jun 7 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-5.sme
87  - More change from smtpd to qpsmtpd in masq templates [SME: 9561]  - More change from smtpd to qpsmtpd in masq templates [SME: 9561]
88    
# Line 1430  e-smith server and gateway software - em Line 1475  e-smith server and gateway software - em
1475  - [4.6.0-01]  - [4.6.0-01]
1476  - Rolled version number to 4.6.0-01. Includes patches upto 4.5.0-20.  - Rolled version number to 4.6.0-01. Includes patches upto 4.5.0-20.
1477    
 %prep  
 %setup  
 %patch0 -p1  
 %patch1 -p1  
 %patch2 -p1  
   
 %build  
 perl createlinks  
   
 %postun  
   
 %install  
 rm -rf $RPM_BUILD_ROOT  
 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  
 rm -f %{name}-%{version}-%{release}-filelist  
 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT       \  
     --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)' \  
     --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \  
     --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \  
     --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \  
     --dir '/home/e-smith/Maildir/.junkmail/tmp' 'attr(0700,admin,admin)' \  
     --dir '/home/e-smith/Maildir/.junkmail/new' 'attr(0700,admin,admin)' \  
     --dir '/home/e-smith/Maildir/.junkmail/cur' 'attr(0700,admin,admin)' \  
     > %{name}-%{version}-%{release}-filelist  
 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  
   
 %clean  
 rm -rf $RPM_BUILD_ROOT  
   
 %files -f %{name}-%{version}-%{release}-filelist  
 %defattr(-,root,root)  


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