]>
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 | |
8a084354 | 6 | Summary: Courier-IMAP server |
4e8547d5 | 7 | Summary(pl): Serwer Courier-IMAP |
c8a16646 | 8 | Name: courier-imap |
09e21e51 | 9 | Version: 2.1.2 |
10 | Release: 1 | |
fb05bccc | 11 | License: GPL |
8a084354 | 12 | Group: Networking/Daemons |
7a7fb917 | 13 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
09e21e51 | 14 | # Source0-md5: d77ef5d3c90fd0a70b333a44e0ead0a2 |
b89304e7 | 15 | Source1: %{name}.init |
8a084354 | 16 | Source2: %{name}-pop3.init |
17 | Source3: %{name}-authdaemon.init | |
18 | Source4: %{name}.pamd | |
19 | Source5: %{name}-pop3.pamd | |
20 | Source6: %{name}.sysconfig | |
21 | Source7: %{name}-pop3.sysconfig | |
22 | Source8: %{name}-authdaemon.sysconfig | |
508fd83b | 23 | # Patch0: ftp://ftp.pld.org.pl/people/siefca/patches/courier/%{name}-myownquery.patch |
1270157e | 24 | URL: http://www.inter7.com/courierimap/ |
5a6f0f2e JB |
25 | BuildRequires: gdbm-devel |
26 | BuildRequires: libstdc++-devel | |
09e21e51 | 27 | %{?with_mysql:BuildRequires: mysql-devel} |
28 | %{?with_ldap:BuildRequires: openldap-devel} | |
13c93af4 | 29 | BuildRequires: openssl-devel >= 0.9.7c |
09e21e51 | 30 | %{?with_pgsql:BuildRequires: postgresql-devel} |
31 | %{?with_mysql:BuildRequires: zlib-devel} | |
a8a1b6d2 | 32 | PreReq: %{name}-common = %{version} |
7a7fb917 JB |
33 | PreReq: rc-scripts |
34 | Requires(post,preun): /sbin/chkconfig | |
5461903e | 35 | Requires: pam >= 0.77.3 |
83645454 | 36 | Provides: imapdaemon |
796ef867 | 37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1270157e | 38 | Obsoletes: imapdaemon |
1409bbb6 | 39 | Conflicts: cyrus-imapd |
83645454 | 40 | Conflicts: imap |
55311f1f | 41 | |
fb05bccc | 42 | %define _libexecdir /usr/lib/courier-imap |
8a084354 | 43 | %define _sysconfdir /etc/courier-imap |
f727c71b | 44 | |
45 | %description | |
46 | Courier-IMAP is an IMAP server for Maildir mailboxes. | |
47 | ||
e541686a | 48 | %description -l pl |
49 | Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir. | |
50 | ||
8a084354 | 51 | %package common |
4e8547d5 JB |
52 | Summary: Common files for imap and pop daemons |
53 |