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