]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: | |
3 | # - triggers | |
4 | # - post, preun | |
5 | # - add maildir.patch (like in courier-mta) | |
6 | # - add certsdir.patch | |
7 | # - init scripts | |
8 | # | |
9 | # Conditional build: | |
10 | %bcond_without ldap # without LDAP support | |
11 | %bcond_without mysql # without MySQL support | |
12 | %bcond_without pgsql # without PostgreSQL support | |
13 | Summary: Courier-IMAP server | |
14 | Summary(pl): Serwer Courier-IMAP | |
15 | Name: courier-imap | |
16 | Version: 3.0.5 | |
17 | Release: 0.1 | |
18 | License: GPL | |
19 | Group: Networking/Daemons | |
20 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 | |
21 | # Source0-md5: 8b0c79997905dc46cfe4cc13be74ceaf | |
22 | Source1: %{name}.init | |
23 | Source2: %{name}-pop3.init | |
24 | Source3: %{name}-authdaemon.init | |
25 | Source4: %{name}.pamd | |
26 | Source5: %{name}-pop3.pamd | |
27 | Source6: %{name}-authdaemon.sysconfig | |
28 | URL: http://www.inter7.com/courierimap/ | |
29 | BuildRequires: autoconf >= 2.54 | |
30 | BuildRequires: automake | |
31 | BuildRequires: gdbm-devel | |
32 | BuildRequires: libstdc++-devel | |
33 | %{?with_mysql:BuildRequires: mysql-devel} | |
34 | %{?with_ldap:BuildRequires: openldap-devel} | |
35 | BuildRequires: openssl-devel >= 0.9.7d | |
36 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
37 | BuildRequires: procps | |
38 | BuildRequires: sysconftool | |
39 | %{?with_mysql:BuildRequires: zlib-devel} | |
40 | PreReq: %{name}-common = %{version}-%{release} | |
41 | PreReq: rc-scripts | |
42 | Requires(post,preun): /sbin/chkconfig | |
43 | Requires: pam >= 0.77.3 | |
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 | ||
53 | %description | |
54 | Courier-IMAP is an IMAP server for Maildir mailboxes. | |
55 | ||
56 | %description -l pl | |
57 | Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir. | |
58 | ||
59 | %package common | |
60 | Summary: Common files for imap and pop daemons | |
61 |