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