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