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