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