]> git.pld-linux.org Git - packages/courier.git/blame - courier.spec
- don't check for res_query() - this function is never used in the sources
[packages/courier.git] / courier.spec
CommitLineData
285ed68b
AA
1#
2# Conditional build:
debb60a3 3%bcond_with fam # with fam support
285ed68b 4#
f65a4ca3
JB
5Summary: Courier mail server
6Summary(pl): Serwer poczty Courier
ac45207a 7Name: courier
3068504b 8Version: 0.44.2
06643d5d 9Release: 2
f65a4ca3 10License: GPL
1fdfbbe1 11Group: Networking/Daemons
87184988 12Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
3068504b 13# Source0-md5: 8c607c70a692d8f8ccb769a3f96d2f28
3bf26190 14Patch0: %{name}-openssl-path.patch
285ed68b 15Patch1: %{name}-withoutfam.patch
0dae501c 16Patch2: %{name}-maildir.patch
f65a4ca3 17URL: http://www.courier-mta.org/
cbf1746a 18BuildRequires: autoconf
77b70afa 19BuildRequires: automake
50b95ff6 20BuildRequires: db-devel
1fdfbbe1 21BuildRequires: expect
cbf1746a 22BuildRequires: libstdc++-devel
77b70afa 23BuildRequires: libtool
932156cb 24BuildRequires: mailcap
a78f0f7d 25BuildRequires: mysql-devel
debd9b9c 26BuildRequires: openldap-devel
cb01f039 27BuildRequires: openssl-devel >= 0.9.7c
28BuildRequires: openssl-tools >= 0.9.7c
29BuildRequires: openssl-tools-perl >= 0.9.7c
debd9b9c
JB
30BuildRequires: pam-devel
31BuildRequires: perl-devel
a78f0f7d 32BuildRequires: postgresql-devel
77b70afa 33BuildRequires: sysconftool
debd9b9c 34BuildRequires: zlib-devel
debb60a3 35%{?with_fam:BuildRequires: fam-devel}
36277a4b 36Requires(post,preun): /sbin/chkconfig
0dae501c 37Requires(post): openssl-tools >= 0.9.7c
debb60a3 38%{?with_fam:Requires: fam}
ac45207a 39Provides: smtpdaemon
36277a4b 40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c5ebe9bf 41
df8fd513 42%define apachedir /home/services/httpd
f65a4ca3 43%define _prefix /usr/lib/courier
36277a4b 44%define _mandir /usr/share/man
f65a4ca3
JB
45%define _localstatedir /var/spool/courier
46%define _sysconfdir /etc/courier
47%define initdir /etc/rc.d/init.d
c5ebe9bf 48
49# Change the following if your DocumentRoot and cgibindir differ. This is
50# the default redhat build:
51
f65a4ca3
JB
52%define _cgibindir %{apachedir}/cgi-bin
53%define _documentrootdir %{apachedir}/html
54%define _imageurl /webmail/
c5ebe9bf 55
c5ebe9bf 56%description
57Courier is a fully functional mail server, that can completely take
58over the mail services normally provided by sendmail, Qmail, or any
9e755595 59other mail server. Although Courier does not support all legacy
c5ebe9bf 60features of existing mail servers, the number of obsoleted functions
61is very small, and there are better, and more robust, alternatives
62available.
63
64Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
65Courier also implements several new SMTP extensions for mailing list
66management and spam filtering.
67
f65a4ca3
JB
68%description -l pl
69