]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %bcond_with toplevel # Allow toplevel folders. More info: http://www.ricky-chan.co.uk/courier/ | |
3 | # | |
4 | Summary: Courier-IMAP server | |
5 | Summary(pl): Serwer Courier-IMAP | |
6 | Name: courier-imap | |
7 | Version: 4.0.5 | |
8 | Release: 1 | |
9 | License: GPL | |
10 | Group: Networking/Daemons | |
11 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 | |
12 | # Source0-md5: 961372cea83bcbd07471670df1f9121b | |
13 | Source1: %{name}.init | |
14 | Source2: %{name}-ssl.init | |
15 | Source3: %{name}-pop3.init | |
16 | Source4: %{name}-pop3-ssl.init | |
17 | Source5: %{name}.pamd | |
18 | Source6: %{name}-pop3.pamd | |
19 | Patch0: %{name}-dirs.patch | |
20 | Patch1: %{name}-certsdir.patch | |
21 | Patch2: %{name}-maildir.patch | |
22 | Patch3: %{name}-toplevel.patch | |
23 | URL: http://www.courier-mta.org/imap/ | |
24 | BuildRequires: autoconf >= 2.54 | |
25 | BuildRequires: automake | |
26 | BuildRequires: courier-authlib-devel >= 0.57 | |
27 | BuildRequires: db-devel | |
28 | BuildRequires: fam-devel | |
29 | BuildRequires: libstdc++-devel | |
30 | BuildRequires: openssl-devel >= 0.9.7d | |
31 | BuildRequires: procps | |
32 | BuildRequires: rpmbuild(macros) >= 1.268 | |
33 | BuildRequires: sed >= 4.0 | |
34 | BuildRequires: sysconftool | |
35 | Requires(post,preun): /sbin/chkconfig | |
36 | Requires: %{name}-common = %{version}-%{release} | |
37 | Requires: /sbin/chkconfig | |
38 | Requires: pam >= 0.79.0 | |
39 | Requires: rc-scripts | |
40 | Provides: imapdaemon | |
41 | Obsoletes: imapdaemon | |
42 | Conflicts: cyrus-imapd | |
43 | Conflicts: imap | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %define _libexecdir /usr/%{_lib}/courier-imap | |
47 | %define _sysconfdir /etc/courier-imap | |
48 | %define _certsdir %{_sysconfdir}/certs | |
49 | %define _localstatedir /var/spool/courier-imap | |
50 | ||
51 | %description | |
52 | Courier-IMAP is an IMAP server for Maildir mailboxes. | |
53 | ||
54 | %description -l pl | |
55 | Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir. | |
56 | ||
57 | %package common | |
58 | Summary: Common files for imap and pop3 daemons | |
59 |