/[smeserver]/rpms/smeserver-dovecot/sme9/smeserver-dovecot.spec
ViewVC logotype

Diff of /rpms/smeserver-dovecot/sme9/smeserver-dovecot.spec

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

Revision 1.1 by slords, Tue Feb 26 18:53:22 2013 UTC Revision 1.6 by slords, Mon Mar 11 18:10:10 2013 UTC
# Line 1  Line 1 
1  %define version 1.4.0  %define version 1.4.0
2  %define release 1  %define release 4
3  %define name smeserver-dovecot  %define name smeserver-dovecot
4    
5    
# Line 10  Release: %{release}%{?dist} Line 10  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13    Patch1: smeserver-dovecot-1.4.0-remove_acl_and_sieve.patch
14    Patch2: smeserver-dovecot-1.4.0-remove_obsolete_changelog.patch
15    
16  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 17  BuildRequires: e-smith-devtools Line 19  BuildRequires: e-smith-devtools
19    
20  Requires: e-smith-base >= 5.2.0  Requires: e-smith-base >= 5.2.0
21  Requires: dovecot >= 2.0.9  Requires: dovecot >= 2.0.9
 Requires: dovecot-pigeonhole >= 2.0.9  
 Requires: acl  
22    
23  Provides: e-smith-imap  Provides: e-smith-imap
24    Obsoletes: e-smith-cvm-unix-local
25  Obsoletes: e-smith-imap  Obsoletes: e-smith-imap
26    Obsoletes: e-smith-ssl-imap
27    Obsoletes: e-smith-wu-imap
28    Obsoletes: imap
29    Obsoletes: mailfront
30    Obsoletes: stunnel <= 4.15
31    Obsoletes: stunnel-tls
32    
33  %description  %description
34  Configure the dovecot IMAP server with sieve scripts support,  Configure the dovecot IMAP server with sieve scripts support,
35  quota, ACL, extended logging, master user  quota, ACL, extended logging, master user
36    
37  %changelog  %changelog
38    * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme
39    - Obsolete older requires that are no longer needed [SME: 7273]
40    
41    * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme
42    - Remove requires for packages no longer needed [SME: 7405]
43    
44    * Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme
45    - remove the IMAP acl and Sieve support [SME: 7405]
46    - remove obsolete changelog (used in my previous buildsys)
47    
48  * Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1  * Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
49  - store sharedmailbox dict file in /home/e-smith/db/dovecot  - store sharedmailbox dict file in /home/e-smith/db/dovecot
50    
# Line 39  quota, ACL, extended logging, master use Line 56  quota, ACL, extended logging, master use
56    
57  %prep  %prep
58  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
59    %patch1 -p1
60    %patch2 -p1
61    
62  %build  %build
63  perl createlinks  perl createlinks
# Line 52  perl createlinks Line 71  perl createlinks
71     --file /var/service/dovecot/log/run 'attr(0755,root,root)' \     --file /var/service/dovecot/log/run 'attr(0755,root,root)' \
72     --file /var/service/dovecot/control/1 'attr(0755,root,root)' \     --file /var/service/dovecot/control/1 'attr(0755,root,root)' \
73     --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \     --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
    --dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \  
    --file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \  
    --file /usr/bin/imap-postlogin 'attr(0755,root,root)' \  
74    > %{name}-%{version}-filelist    > %{name}-%{version}-filelist
75    
76  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
# Line 64  perl createlinks Line 80  perl createlinks
80  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
81    
82  %pre  %pre
 /usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || :  
83    
84  %post  %post
85    


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