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