]> git.pld-linux.org Git - packages/courier-imap.git/blame - courier-imap.spec
- working Source0 URL, Requires() for chkconfig
[packages/courier-imap.git] / courier-imap.spec
CommitLineData
4e8547d5 1#
a8a1b6d2 2# Conditional build:
4e8547d5
JB
3# _without_ldap - without LDAP support
4# _without_mysql - without MySQL support
8025c62e 5# _without_postgresql - without PostgreSQL support
7a7fb917 6#
8a084354 7Summary: Courier-IMAP server
4e8547d5 8Summary(pl): Serwer Courier-IMAP
c8a16646 9Name: courier-imap
508fd83b 10Version: 1.7.0
11Release: 1
fb05bccc 12License: GPL
8a084354 13Group: Networking/Daemons
7a7fb917 14Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
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
508fd83b 23# Patch0: ftp://ftp.pld.org.pl/people/siefca/patches/courier/%{name}-myownquery.patch
1270157e 24URL: http://www.inter7.com/courierimap/
8025c62e 25%{!?_without_postgresql:BuildRequires: postgresql-devel}
4e8547d5 26%{!?_without_mysql:BuildRequires: mysql-devel}
c1669ee1 27%{!?_without_mysql:BuildRequires: zlib-devel}
4e8547d5 28%{!?_without_ldap:BuildRequires: openldap-devel}
5a6f0f2e
JB
29BuildRequires: gdbm-devel
30BuildRequires: libstdc++-devel
115bdc94 31BuildRequires: openssl-devel
a8a1b6d2 32PreReq: %{name}-common = %{version}
7a7fb917
JB
33PreReq: rc-scripts
34Requires(post,preun): /sbin/chkconfig
83645454 35Provides: imapdaemon
1270157e 36Obsoletes: imapdaemon
1409bbb6 37Conflicts: cyrus-imapd
83645454
JB
38Conflicts: imap
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55311f1f 40
fb05bccc 41%define _libexecdir /usr/lib/courier-imap
8a084354 42%define _sysconfdir /etc/courier-imap
f727c71b 43
44%description
45Courier-IMAP is an IMAP server for Maildir mailboxes.
46
e541686a 47%description -l pl
48Courier-IMAP jest serwerem IMAP dla skrzynek pocztowych Maildir.
49
8a084354 50%package common
4e8547d5
JB
51Summary: Common files for imap and pop daemons
52