]>
Commit | Line | Data |
---|---|---|
285ed68b AA |
1 | # |
2 | # Conditional build: | |
debb60a3 | 3 | %bcond_with fam # with fam support |
285ed68b | 4 | # |
f65a4ca3 JB |
5 | Summary: Courier mail server |
6 | Summary(pl): Serwer poczty Courier | |
ac45207a | 7 | Name: courier |
3068504b | 8 | Version: 0.44.2 |
d8190ce6 | 9 | Release: 4 |
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 |
0dae501c | 16 | Patch2: %{name}-maildir.patch |
d69319ff | 17 | Patch3: %{name}-no_res_query.patch |
f65a4ca3 | 18 | URL: http://www.courier-mta.org/ |
cbf1746a | 19 | BuildRequires: autoconf |
77b70afa | 20 | BuildRequires: automake |
50b95ff6 | 21 | BuildRequires: db-devel |
1fdfbbe1 | 22 | BuildRequires: expect |
cbf1746a | 23 | BuildRequires: libstdc++-devel |
77b70afa | 24 | BuildRequires: libtool |
932156cb | 25 | BuildRequires: mailcap |
a78f0f7d | 26 | BuildRequires: mysql-devel |
debd9b9c | 27 | BuildRequires: openldap-devel |
cb01f039 | 28 | BuildRequires: openssl-devel >= 0.9.7c |
29 | BuildRequires: openssl-tools >= 0.9.7c | |
30 | BuildRequires: openssl-tools-perl >= 0.9.7c | |
debd9b9c JB |
31 | BuildRequires: pam-devel |
32 | BuildRequires: perl-devel | |
a78f0f7d | 33 | BuildRequires: postgresql-devel |
77b70afa | 34 | BuildRequires: sysconftool |
debd9b9c | 35 | BuildRequires: zlib-devel |
debb60a3 | 36 | %{?with_fam:BuildRequires: fam-devel} |
36277a4b | 37 | Requires(post,preun): /sbin/chkconfig |
0dae501c | 38 | Requires(post): openssl-tools >= 0.9.7c |
debb60a3 | 39 | %{?with_fam:Requires: fam} |
ac45207a | 40 | Provides: smtpdaemon |
1b1a98bc PG |
41 | Obsoletes: smtpdaemon |
42 | Obsoletes: exim | |
43 | Obsoletes: masqmail | |
44 | Obsoletes: omta | |
45 | Obsoletes: qmail | |
46 | Obsoletes: sendmail | |
47 | Obsoletes: sendmail-cf | |
48 | Obsoletes: sendmail-doc | |
49 | Obsoletes: smail | |
50 | Obsoletes: zmailer | |
36277a4b | 51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c5ebe9bf | 52 | |
df8fd513 | 53 | %define apachedir /home/services/httpd |
d69319ff | 54 | %define _datadir %{_prefix}/share/courier |
36277a4b | 55 | %define _mandir /usr/share/man |
d69319ff AA |
56 | %define _libdir %{_prefix}/%{_lib}/courier |
57 | %define _libexecdir %{_libdir} | |
f65a4ca3 JB |
58 | %define _localstatedir /var/spool/courier |
59 | %define _sysconfdir /etc/courier | |
60 | %define initdir /etc/rc.d/init.d | |
c5ebe9bf | 61 | |
62 | # Change the following if your DocumentRoot and cgibindir differ. This is | |
63 | # the default redhat build: | |
64 | ||
f65a4ca3 JB |
65 | %define _cgibindir %{apachedir}/cgi-bin |
66 | %define _documentrootdir %{apachedir}/html | |
67 | %define _imageurl /webmail/ | |
c5ebe9bf | 68 | |
c5ebe9bf | 69 | %description |
70 | Courier is a fully functional mail server, that can completely take | |
71 | over the mail services normally provided by sendmail, Qmail, or any | |
9e755595 | 72 | other mail server. Although Courier does not support all legacy |
c5ebe9bf | 73 | features of existing mail servers, the number of obsoleted functions |
74 | is very small, and there are better, and more robust, alternatives | |
75 | available. | |
76 | ||
77 | Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME. | |
78 | Courier also implements several new SMTP extensions for mailing list | |
79 | management and spam filtering. | |
80 | ||
f65a4ca3 JB |
81 | %description -l pl |
82 |