1 |
%define version 1.4.0 |
2 |
%define release 14 |
3 |
%define name smeserver-dovecot |
4 |
|
5 |
|
6 |
Summary: Dovecot IMAP server integration |
7 |
Name: %{name} |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
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 |
Patch3: smeserver-dovecot-1.4.0-allow_plaintext.patch |
16 |
Patch4: smeserver-dovecot-1.4.0-imapd_pem_perm.patch |
17 |
Patch5: smeserver-dovecot-1.4.0-listen_loopback.patch |
18 |
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
21 |
BuildRequires: e-smith-devtools |
22 |
|
23 |
Requires: e-smith-base >= 5.2.0 |
24 |
Requires: dovecot >= 2.0.9 |
25 |
|
26 |
Provides: e-smith-imap |
27 |
Obsoletes: e-smith-imap |
28 |
Obsoletes: e-smith-ssl-imap |
29 |
Obsoletes: e-smith-wu-imap |
30 |
Obsoletes: imap |
31 |
Obsoletes: m4 <= 1.4.5 |
32 |
Obsoletes: mailfront <= 1.10 |
33 |
Obsoletes: stunnel <= 4.15 |
34 |
Obsoletes: stunnel-tls <= 3.22 |
35 |
Obsoletes: words <= 3.0 |
36 |
|
37 |
%description |
38 |
Configure the dovecot IMAP server with sieve scripts support, |
39 |
quota, ACL, extended logging, master user |
40 |
|
41 |
%changelog |
42 |
* Sun Jun 23 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-14.sme |
43 |
- Listen on loopback if disabled [SME: 7697] |
44 |
|
45 |
* Wed May 29 2013 chris burnat <devlist@burnat.com> - 1.4.0-13.sme |
46 |
- Reverse changes made in 1.4.0-12 [SME: 7597] |
47 |
|
48 |
* Fri May 24 2013 chris burnat <devlist@burnat.com> - 1.4.0-12.sme |
49 |
- Fix IMAP folders dont present correctly in Outlook 2007 [SME: 7597] |
50 |
|
51 |
* Sat May 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-11.sme |
52 |
- Fix permissions on imapd.pem as it's used by pop3s [SME: 7570] |
53 |
|
54 |
* Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-10.sme |
55 |
- Do not obsolete bglibs, it's required for cvm [SME: 7509] |
56 |
|
57 |
* Tue Apr 16 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-9.sme |
58 |
- Allow plaintext (unless explicitly disabled) [SME: 7549] |
59 |
|
60 |
* Wed Apr 10 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-8.sme |
61 |
- Do not obsolete cvm, it's still needed for qpsmtpd [SME: 7509] |
62 |
|
63 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-7.sme |
64 |
- Obsolete another el5 required by requires [SME: 7273] |
65 |
|
66 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-6.sme |
67 |
- Fix Obsolete el5 mailfront version [SME: 7273] |
68 |
|
69 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-5.sme |
70 |
- Obsolete el5 packages that were required by old requires [SME: 7273] |
71 |
|
72 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme |
73 |
- Obsolete older requires that are no longer needed [SME: 7273] |
74 |
|
75 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme |
76 |
- Remove requires for packages no longer needed [SME: 7405] |
77 |
|
78 |
* Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme |
79 |
- remove the IMAP acl and Sieve support [SME: 7405] |
80 |
- remove obsolete changelog (used in my previous buildsys) |
81 |
|
82 |
* Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
83 |
- store sharedmailbox dict file in /home/e-smith/db/dovecot |
84 |
|
85 |
* Tue Feb 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
86 |
- Pass the recipient variable to dovcot-lda |
87 |
|
88 |
* Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1 |
89 |
- initial release |
90 |
|
91 |
%prep |
92 |
%setup -q -n %{name}-%{version} |
93 |
%patch1 -p1 |
94 |
%patch2 -p1 |
95 |
%patch3 -p1 |
96 |
%patch4 -p1 |
97 |
%patch5 -p1 |
98 |
|
99 |
%build |
100 |
perl createlinks |
101 |
|
102 |
%install |
103 |
/bin/rm -rf $RPM_BUILD_ROOT |
104 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
105 |
/bin/rm -f %{name}-%{version}-filelist |
106 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
107 |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
108 |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
109 |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
110 |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
111 |
> %{name}-%{version}-filelist |
112 |
|
113 |
%files -f %{name}-%{version}-filelist |
114 |
%defattr(-,root,root) |
115 |
|
116 |
%clean |
117 |
rm -rf $RPM_BUILD_ROOT |
118 |
|
119 |
%pre |
120 |
|
121 |
%post |
122 |
|
123 |
%preun |
124 |
|