1 |
slords |
1.1 |
%define version 1.4.0 |
2 |
slords |
1.8 |
%define release 6 |
3 |
slords |
1.1 |
%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 |
vip-ire |
1.2 |
Patch1: smeserver-dovecot-1.4.0-remove_acl_and_sieve.patch |
14 |
|
|
Patch2: smeserver-dovecot-1.4.0-remove_obsolete_changelog.patch |
15 |
slords |
1.1 |
|
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 |
slords |
1.5 |
Obsoletes: e-smith-ssl-imap |
26 |
|
|
Obsoletes: e-smith-wu-imap |
27 |
|
|
Obsoletes: imap |
28 |
slords |
1.7 |
Obsoletes: bglibs <= 1.102 |
29 |
|
|
Obsoletes: cvm <= 0.82 |
30 |
|
|
Obsoletes: e-smith-cvm-unix-local <= 2.2.0 |
31 |
slords |
1.8 |
Obsoletes: mailfront <= 1.10 |
32 |
slords |
1.6 |
Obsoletes: stunnel <= 4.15 |
33 |
slords |
1.7 |
Obsoletes: stunnel-tls <= 3.22 |
34 |
|
|
Obsoletes: words <= 3.0 |
35 |
slords |
1.1 |
|
36 |
|
|
%description |
37 |
|
|
Configure the dovecot IMAP server with sieve scripts support, |
38 |
|
|
quota, ACL, extended logging, master user |
39 |
|
|
|
40 |
|
|
%changelog |
41 |
slords |
1.8 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-6.sme |
42 |
|
|
- Fix Obsolete el5 mailfront version [SME: 7273] |
43 |
|
|
|
44 |
slords |
1.7 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-5.sme |
45 |
|
|
- Obsolete el5 packages that were required by old requires [SME: 7273] |
46 |
|
|
|
47 |
slords |
1.5 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme |
48 |
|
|
- Obsolete older requires that are no longer needed [SME: 7273] |
49 |
|
|
|
50 |
slords |
1.3 |
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme |
51 |
vip-ire |
1.4 |
- Remove requires for packages no longer needed [SME: 7405] |
52 |
slords |
1.3 |
|
53 |
vip-ire |
1.2 |
* Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme |
54 |
vip-ire |
1.4 |
- remove the IMAP acl and Sieve support [SME: 7405] |
55 |
vip-ire |
1.2 |
- remove obsolete changelog (used in my previous buildsys) |
56 |
|
|
|
57 |
slords |
1.1 |
* Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
58 |
|
|
- store sharedmailbox dict file in /home/e-smith/db/dovecot |
59 |
|
|
|
60 |
|
|
* Tue Feb 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
61 |
|
|
- Pass the recipient variable to dovcot-lda |
62 |
|
|
|
63 |
|
|
* Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1 |
64 |
|
|
- initial release |
65 |
|
|
|
66 |
|
|
%prep |
67 |
|
|
%setup -q -n %{name}-%{version} |
68 |
vip-ire |
1.2 |
%patch1 -p1 |
69 |
|
|
%patch2 -p1 |
70 |
slords |
1.1 |
|
71 |
|
|
%build |
72 |
|
|
perl createlinks |
73 |
|
|
|
74 |
|
|
%install |
75 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
76 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
77 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
78 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
79 |
|
|
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
80 |
|
|
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
81 |
|
|
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
82 |
|
|
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
83 |
|
|
> %{name}-%{version}-filelist |
84 |
|
|
|
85 |
|
|
%files -f %{name}-%{version}-filelist |
86 |
|
|
%defattr(-,root,root) |
87 |
|
|
|
88 |
|
|
%clean |
89 |
|
|
rm -rf $RPM_BUILD_ROOT |
90 |
|
|
|
91 |
|
|
%pre |
92 |
|
|
|
93 |
|
|
%post |
94 |
|
|
|
95 |
|
|
%preun |
96 |
|
|
|