]>
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 |
6f4c39d4 | 8 | Version: 0.52.0 |
88c0da09 | 9 | Release: 1 |
f65a4ca3 | 10 | License: GPL |
1fdfbbe1 | 11 | Group: Networking/Daemons |
95221c40 | 12 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
6f4c39d4 SP |
13 | # Source0-md5: 6046be4fb3392bd0f9da3a71628a14ef |
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 |
f65a4ca3 | 21 | URL: http://www.courier-mta.org/ |
cbf1746a | 22 | BuildRequires: autoconf |
77b70afa | 23 | BuildRequires: automake |
b8a031c2 | 24 | BuildRequires: courier-authlib-devel >= 0.57 |
1fdfbbe1 | 25 | BuildRequires: expect |
cbf1746a | 26 | BuildRequires: libstdc++-devel |
77b70afa | 27 | BuildRequires: libtool |
932156cb | 28 | BuildRequires: mailcap |
cb2ac501 | 29 | BuildRequires: openssl-devel >= 0.9.7d |
30 | BuildRequires: openssl-tools >= 0.9.7d | |
31 | BuildRequires: openssl-tools-perl >= 0.9.7d | |
debd9b9c JB |
32 | BuildRequires: pam-devel |
33 | BuildRequires: perl-devel | |
27221f8a | 34 | BuildRequires: sed >= 4.0 |
77b70afa | 35 | BuildRequires: sysconftool |
debb60a3 | 36 | %{?with_fam:BuildRequires: fam-devel} |
36277a4b | 37 | Requires(post,preun): /sbin/chkconfig |
33c18667 AA |
38 | # only for light upgrade from old version < 0.47 |
39 | # remove it after some time | |
40 | Requires(post): courier-authlib-userdb | |
cb2ac501 | 41 | Requires(post): openssl-tools >= 0.9.7d |
60282135 | 42 | Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION') |
ac45207a | 43 | Provides: smtpdaemon |
33c18667 | 44 | Obsoletes: courier-smtpauth |
1b1a98bc PG |
45 | Obsoletes: exim |
46 | Obsoletes: masqmail | |
c3a54b72 | 47 | Obsoletes: nullmailer |
1b1a98bc | 48 | Obsoletes: omta |
9a3d2e11 | 49 | Obsoletes: postfix |
1b1a98bc PG |
50 | Obsoletes: qmail |
51 | Obsoletes: sendmail | |
52 | Obsoletes: sendmail-cf | |
53 | Obsoletes: sendmail-doc | |
54 | Obsoletes: smail | |
a0621e90 | 55 | Obsoletes: smtpdaemon |
56 | Obsoletes: ssmtp | |
1b1a98bc | 57 | Obsoletes: zmailer |
36277a4b | 58 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c5ebe9bf | 59 | |
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 |
eb9b6da5 | 67 | %define _initrddir /etc/rc.d/init.d |
c5ebe9bf | 68 | |
33c18667 AA |
69 | %define _httpdir /home/services/httpd |
70 | %define _cgibindir %{_httpdir}/cgi-bin | |
71 | %define _imagedir %{_datadir}/sqwebmail/images | |
72 | %define _imageurl /webmail | |
73 | %define _apache1dir /etc/apache | |
74 | %define _apache2dir /etc/httpd | |
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 |