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