]>
Commit | Line | Data |
---|---|---|
285ed68b AA |
1 | # |
2 | # Conditional build: | |
a6245dc6 | 3 | %bcond_without fam # with fam support |
285ed68b | 4 | # |
f65a4ca3 JB |
5 | Summary: Courier mail server |
6 | Summary(pl): Serwer poczty Courier | |
ac45207a | 7 | Name: courier |
95221c40 | 8 | Version: 0.51.0 |
88c0da09 | 9 | Release: 1 |
f65a4ca3 | 10 | License: GPL |
1fdfbbe1 | 11 | Group: Networking/Daemons |
95221c40 AA |
12 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 9c6c9decb33b9515978f0b1062d38923 | |
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 |
58bc002e | 20 | Patch6: %{name}-db.patch |
d79a4339 | 21 | Patch7: %{name}-webmail-sec_fix.patch |
f65a4ca3 | 22 | URL: http://www.courier-mta.org/ |
cbf1746a | 23 | BuildRequires: autoconf |
77b70afa | 24 | BuildRequires: automake |
b8a031c2 | 25 | BuildRequires: courier-authlib-devel >= 0.57 |
1fdfbbe1 | 26 | BuildRequires: expect |
cbf1746a | 27 | BuildRequires: libstdc++-devel |
77b70afa | 28 | BuildRequires: libtool |
932156cb | 29 | BuildRequires: mailcap |
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 | |
27221f8a | 35 | BuildRequires: sed >= 4.0 |
77b70afa | 36 | BuildRequires: sysconftool |
debb60a3 | 37 | %{?with_fam:BuildRequires: fam-devel} |
36277a4b | 38 | Requires(post,preun): /sbin/chkconfig |
33c18667 AA |
39 | # only for light upgrade from old version < 0.47 |
40 | # remove it after some time | |
41 | Requires(post): courier-authlib-userdb | |
cb2ac501 | 42 | Requires(post): openssl-tools >= 0.9.7d |
60282135 | 43 | Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION') |
ac45207a | 44 | Provides: smtpdaemon |
33c18667 | 45 | Obsoletes: courier-smtpauth |
1b1a98bc PG |
46 | Obsoletes: exim |
47 | Obsoletes: masqmail | |
c3a54b72 | 48 | Obsoletes: nullmailer |
1b1a98bc | 49 | Obsoletes: omta |
9a3d2e11 | 50 | Obsoletes: postfix |
1b1a98bc PG |
51 | Obsoletes: qmail |
52 | Obsoletes: sendmail | |
53 | Obsoletes: sendmail-cf | |
54 | Obsoletes: sendmail-doc | |
55 | Obsoletes: smail | |
a0621e90 | 56 | Obsoletes: smtpdaemon |
57 | Obsoletes: ssmtp | |
1b1a98bc | 58 | Obsoletes: zmailer |
36277a4b | 59 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c5ebe9bf | 60 | |
d69319ff | 61 | %define _datadir %{_prefix}/share/courier |
36277a4b | 62 | %define _mandir /usr/share/man |
d69319ff AA |
63 | %define _libdir %{_prefix}/%{_lib}/courier |
64 | %define _libexecdir %{_libdir} | |
f65a4ca3 JB |
65 | %define _localstatedir /var/spool/courier |
66 | %define _sysconfdir /etc/courier | |
c5520896 | 67 | %define _certsdir %{_sysconfdir}/certs |
eb9b6da5 | 68 | %define _initrddir /etc/rc.d/init.d |
c5ebe9bf | 69 | |
33c18667 AA |
70 | %define _httpdir /home/services/httpd |
71 | %define _cgibindir %{_httpdir}/cgi-bin | |
72 | %define _imagedir %{_datadir}/sqwebmail/images | |
73 | %define _imageurl /webmail | |
74 | %define _apache1dir /etc/apache | |
75 | %define _apache2dir /etc/httpd | |
c5ebe9bf | 76 | |
c5ebe9bf | 77 | %description |
78 | Courier is a fully functional mail server, that can completely take | |
79 | over the mail services normally provided by sendmail, Qmail, or any | |
9e755595 | 80 | other mail server. Although Courier does not support all legacy |
c5ebe9bf | 81 | features of existing mail servers, the number of obsoleted functions |
82 | is very small, and there are better, and more robust, alternatives | |
83 | available. | |
84 | ||
85 | Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME. | |
86 | Courier also implements several new SMTP extensions for mailing list | |
87 | management and spam filtering. | |
88 | ||
f65a4ca3 JB |
89 | %description -l pl |
90 |