/[smecontribs]/rpms/smeserver-dovecot-extras/contribs10/smeserver-dovecot-extras.spec
ViewVC logotype

Annotation of /rpms/smeserver-dovecot-extras/contribs10/smeserver-dovecot-extras.spec

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


Revision 1.2 - (hide annotations) (download)
Tue Oct 13 08:04:12 2020 UTC (4 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dovecot-extras-0_1_1-3_el7_sme
Changes since 1.1: +4 -1 lines
* Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-3.sme
- Initial Import to SME10 tree [SME: 11032]

1 brianr 1.1 %define version 0.1.1
2 brianr 1.2 %define release 3
3 brianr 1.1 %define name smeserver-dovecot-extras
4    
5    
6     Summary: Additional features for dovecot on SME Server
7     Name: %{name}
8     Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.gz
13    
14     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15     BuildArchitectures: noarch
16     BuildRequires: e-smith-devtools
17    
18     Requires: smeserver-dovecot
19     Requires: dovecot-pigeonhole
20     Requires: acl
21    
22     %description
23     Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server
24    
25     %changelog
26 brianr 1.2 * Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-3.sme
27     - Initial Import to SME10 tree [SME: 11032]
28    
29 brianr 1.1 * Wed Sep 02 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1.1-2.sme
30     - Initial release to contribs9
31    
32     * Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
33     - Add midding /home/e-smith/db/dovecot dir
34     - Remove submission_host for sieve
35    
36     * Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.0.2-1
37     - Use SMTP for sieve notifications
38    
39     * Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.0.1-1
40     - initial release
41    
42     %prep
43     %setup -q -n %{name}-%{version}
44    
45     %build
46     perl createlinks
47     mkdir -p root/home/e-smith/db/dovecot
48    
49     %install
50     /bin/rm -rf $RPM_BUILD_ROOT
51     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
52     /bin/rm -f %{name}-%{version}-filelist
53     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
54     --dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \
55     --file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \
56     --file /usr/bin/imap-postlogin 'attr(0755,root,root)' \
57     > %{name}-%{version}-filelist
58    
59     %files -f %{name}-%{version}-filelist
60     %defattr(-,root,root)
61    
62     %clean
63     rm -rf $RPM_BUILD_ROOT
64    
65     %pre
66     /usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || :
67    
68     %post
69     # Migrate the sharedmailbox dict to its new location
70     if [ -e /etc/dovecot/sharedmailbox/dict.db ]; then
71     mv -f /etc/dovecot/sharedmailbox/dict.db /home/e-smith/db/dovecot/sharedmailbox.db
72     rm -rf /etc/dovecot/sharedmailbox
73     fi
74    
75     %preun
76    

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