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