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