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