]> git.pld-linux.org Git - packages/courier.git/blame_incremental - courier.spec
- cosmetics
[packages/courier.git] / courier.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with fam # with fam support
4#
5Summary: Courier mail server
6Summary(pl): Serwer poczty Courier
7Name: courier
8Version: 0.44.2
9Release: 4
10License: GPL
11Group: Networking/Daemons
12Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
13# Source0-md5: 8c607c70a692d8f8ccb769a3f96d2f28
14Patch0: %{name}-openssl-path.patch
15Patch1: %{name}-withoutfam.patch
16Patch2: %{name}-maildir.patch
17Patch3: %{name}-no_res_query.patch
18Patch4: %{name}-sendmail_dir.patch
19URL: http://www.courier-mta.org/
20BuildRequires: autoconf
21BuildRequires: automake
22BuildRequires: db-devel
23BuildRequires: expect
24BuildRequires: libstdc++-devel
25BuildRequires: libtool
26BuildRequires: mailcap
27BuildRequires: mysql-devel
28BuildRequires: openldap-devel
29BuildRequires: openssl-devel >= 0.9.7c
30BuildRequires: openssl-tools >= 0.9.7c
31BuildRequires: openssl-tools-perl >= 0.9.7c
32BuildRequires: pam-devel
33BuildRequires: perl-devel
34BuildRequires: postgresql-devel
35BuildRequires: sysconftool
36BuildRequires: zlib-devel
37%{?with_fam:BuildRequires: fam-devel}
38Requires(post,preun): /sbin/chkconfig
39Requires(post): openssl-tools >= 0.9.7c
40%{?with_fam:Requires: fam}
41Provides: smtpdaemon
42Obsoletes: exim
43Obsoletes: masqmail
44Obsoletes: nullmailer
45Obsoletes: omta
46Obsoletes: qmail
47Obsoletes: sendmail
48Obsoletes: sendmail-cf
49Obsoletes: sendmail-doc
50Obsoletes: smail
51Obsoletes: smtpdaemon
52Obsoletes: ssmtp
53Obsoletes: zmailer
54BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56%define apachedir /home/services/httpd
57%define _datadir %{_prefix}/share/courier
58%define _mandir /usr/share/man
59%define _libdir %{_prefix}/%{_lib}/courier
60%define _libexecdir %{_libdir}
61%define _localstatedir /var/spool/courier
62%define _sysconfdir /etc/courier
63%define initdir /etc/rc.d/init.d
64
65# Change the following if your DocumentRoot and cgibindir differ. This is
66# the default redhat build:
67
68%define _cgibindir %{apachedir}/cgi-bin
69%define _documentrootdir %{apachedir}/html
70%define _imageurl /webmail/
71
72%description
73Courier is a fully functional mail server, that can completely take
74over the mail services normally provided by sendmail, Qmail, or any
75other mail server. Although Courier does not support all legacy
76features of existing mail servers, the number of obsoleted functions
77is very small, and there are better, and more robust, alternatives
78available.
79
80Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME.
81Courier also implements several new SMTP extensions for mailing list
82management and spam filtering.
83
84%description -l pl
85