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