1 |
%define version 1.4.0 |
2 |
%define release 7 |
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 |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
18 |
BuildRequires: e-smith-devtools |
19 |
|
20 |
Requires: e-smith-base >= 5.2.0 |
21 |
Requires: dovecot >= 2.0.9 |
22 |
|
23 |
Provides: e-smith-imap |
24 |
Obsoletes: e-smith-imap |
25 |
Obsoletes: e-smith-ssl-imap |
26 |
Obsoletes: e-smith-wu-imap |
27 |
Obsoletes: imap |
28 |
Obsoletes: bglibs <= 1.102 |
29 |
Obsoletes: cvm <= 0.82 |
30 |
Obsoletes: e-smith-cvm-unix-local <= 2.2.0 |
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 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-7.sme |
43 |
- Obsolete another el5 required by requires [SME: 7273] |
44 |
|
45 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-6.sme |
46 |
- Fix Obsolete el5 mailfront version [SME: 7273] |
47 |
|
48 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-5.sme |
49 |
- Obsolete el5 packages that were required by old requires [SME: 7273] |
50 |
|
51 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme |
52 |
- Obsolete older requires that are no longer needed [SME: 7273] |
53 |
|
54 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme |
55 |
- Remove requires for packages no longer needed [SME: 7405] |
56 |
|
57 |
* Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme |
58 |
- remove the IMAP acl and Sieve support [SME: 7405] |
59 |
- remove obsolete changelog (used in my previous buildsys) |
60 |
|
61 |
* Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
62 |
- store sharedmailbox dict file in /home/e-smith/db/dovecot |
63 |
|
64 |
* Tue Feb 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
65 |
- Pass the recipient variable to dovcot-lda |
66 |
|
67 |
* Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1 |
68 |
- initial release |
69 |
|
70 |
%prep |
71 |
%setup -q -n %{name}-%{version} |
72 |
%patch1 -p1 |
73 |
%patch2 -p1 |
74 |
|
75 |
%build |
76 |
perl createlinks |
77 |
|
78 |
%install |
79 |
/bin/rm -rf $RPM_BUILD_ROOT |
80 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
81 |
/bin/rm -f %{name}-%{version}-filelist |
82 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
83 |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
84 |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
85 |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
86 |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
87 |
> %{name}-%{version}-filelist |
88 |
|
89 |
%files -f %{name}-%{version}-filelist |
90 |
%defattr(-,root,root) |
91 |
|
92 |
%clean |
93 |
rm -rf $RPM_BUILD_ROOT |
94 |
|
95 |
%pre |
96 |
|
97 |
%post |
98 |
|
99 |
%preun |
100 |
|