]> git.pld-linux.org Git - packages/courier-imap.git/blame_incremental - courier-imap.spec
- version -> version-release
[packages/courier-imap.git] / courier-imap.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without ldap # without LDAP support
4%bcond_without mysql # without MySQL support
5%bcond_without pgsql # without PostgreSQL support
6Summary: Courier-IMAP server
7Summary(pl): Serwer Courier-IMAP
8Name: courier-imap
9Version: 2.2.1
10Release: 4
11License: GPL
12Group: Networking/Daemons
13Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
14# Source0-md5: 27c90ce2ac2412bc90994cacbd75616b
15Source1: %{name}.init
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
23Patch0: %{name}-no_res_query.patch
24URL: http://www.inter7.com/courierimap/
25BuildRequires: autoconf
26BuildRequires: automake
27BuildRequires: gdbm-devel
28BuildRequires: libstdc++-devel
29%{?with_mysql:BuildRequires: mysql-devel}
30%{?with_ldap:BuildRequires: openldap-devel}
31BuildRequires: openssl-devel >= 0.9.7c
32%{?with_pgsql:BuildRequires: postgresql-devel}
33BuildRequires: sysconftool
34%{?with_mysql:BuildRequires: zlib-devel}
35PreReq: %{name}-common = %{version}
36PreReq: rc-scripts
37Requires(post,preun): /sbin/chkconfig
38Requires: pam >= 0.77.3
39Provides: imapdaemon
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41Obsoletes: imapdaemon
42Conflicts: cyrus-imapd
43Conflicts: imap
44
45%define _libexecdir /usr/lib/courier-imap
46%define _sysconfdir /etc/courier-imap
47
48%description
49Courier-IMAP is an IMAP server for Maildir mailboxes.
50
51%description -l pl
52Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir.
53
54%package common
55Summary: Common files for imap and pop daemons
56