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