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