]>
Commit | Line | Data |
---|---|---|
4e8547d5 | 1 | # |
a8a1b6d2 | 2 | # Conditional build: |
51e684a6 | 3 | %bcond_without ldap # without LDAP support |
4 | %bcond_without mysql # without MySQL support | |
5 | %bcond_without pgsql # without PostgreSQL support | |
e3496a0a | 6 | # |
8a084354 | 7 | Summary: Courier-IMAP server |
4e8547d5 | 8 | Summary(pl): Serwer Courier-IMAP |
c8a16646 | 9 | Name: courier-imap |
edf18efc AA |
10 | Version: 3.0.6 |
11 | Release: 1 | |
fb05bccc | 12 | License: GPL |
8a084354 | 13 | Group: Networking/Daemons |
7a7fb917 | 14 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
edf18efc | 15 | # Source0-md5: f2d3c0d566ea6789192dc3cd5fd8f8fb |
b89304e7 | 16 | Source1: %{name}.init |
8a084354 | 17 | Source2: %{name}-pop3.init |
d1b8aa86 AA |
18 | Source3: %{name}.pamd |
19 | Source4: %{name}-pop3.pamd | |
43beb1b2 AA |
20 | Patch0: %{name}-dirs.patch |
21 | Patch1: %{name}-certsdir.patch | |
e0e5ebb0 | 22 | Patch2: %{name}-maildir.patch |
1270157e | 23 | URL: http://www.inter7.com/courierimap/ |
68520aae | 24 | BuildRequires: autoconf >= 2.54 |
2beb47fe | 25 | BuildRequires: automake |
5a6f0f2e JB |
26 | BuildRequires: gdbm-devel |
27 | BuildRequires: libstdc++-devel | |
09e21e51 | 28 | %{?with_mysql:BuildRequires: mysql-devel} |
29 | %{?with_ldap:BuildRequires: openldap-devel} | |
cf9773f1 | 30 | BuildRequires: openssl-devel >= 0.9.7d |
09e21e51 | 31 | %{?with_pgsql:BuildRequires: postgresql-devel} |
c636fa52 | 32 | BuildRequires: procps |
d7bc0eb4 | 33 | BuildRequires: sysconftool |
09e21e51 | 34 | %{?with_mysql:BuildRequires: zlib-devel} |
68520aae | 35 | PreReq: %{name}-common = %{version}-%{release} |
7a7fb917 JB |
36 | PreReq: rc-scripts |
37 | Requires(post,preun): /sbin/chkconfig | |
5461903e | 38 | Requires: pam >= 0.77.3 |
83645454 | 39 | Provides: imapdaemon |
1270157e | 40 | Obsoletes: imapdaemon |
1409bbb6 | 41 | Conflicts: cyrus-imapd |
83645454 | 42 | Conflicts: imap |
c636fa52 | 43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55311f1f | 44 | |
43beb1b2 | 45 | %define _libexecdir /usr/%{_lib}/courier-imap |
8a084354 | 46 | %define _sysconfdir /etc/courier-imap |
e0e5ebb0 | 47 | %define _certsdir %{_sysconfdir}/certs |
edf18efc | 48 | %define _localstatedir /var/spool/courier-imap |
f727c71b | 49 | |
50 | %description | |
51 | Courier-IMAP is an IMAP server for Maildir mailboxes. | |
52 | ||
e541686a | 53 | %description -l pl |
54 | Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir. | |
55 | ||
8a084354 | 56 | %package common |
43beb1b2 AA |
57 | Summary: Common files for imap and pop3 daemons |
58 |