]>
Commit | Line | Data |
---|---|---|
485ac86d | 1 | # TODO |
8e3ef11d | 2 | # - test and bump rel. to 1 |
6c3bd8da | 3 | # - doesn't -webadmin need webserver integration? |
656834c7 | 4 | # - use rc-scripts here in %%post scriptlets |
285ed68b AA |
5 | # |
6 | # Conditional build: | |
a6245dc6 | 7 | %bcond_without fam # with fam support |
c7adf967 | 8 | %bcond_with tests # without tests |
285ed68b | 9 | # |
f65a4ca3 JB |
10 | Summary: Courier mail server |
11 | Summary(pl): Serwer poczty Courier | |
ac45207a | 12 | Name: courier |
8e3ef11d | 13 | Version: 0.52.2 |
72f62ae6 | 14 | Release: 2 |
f65a4ca3 | 15 | License: GPL |
1fdfbbe1 | 16 | Group: Networking/Daemons |
e15af55d | 17 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
8e3ef11d | 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 |
e6422d73 | 47 | Requires(post,preun): rc-scripts |
33c18667 AA |
48 | # only for light upgrade from old version < 0.47 |
49 | # remove it after some time | |
50 | Requires(post): courier-authlib-userdb | |
cb2ac501 | 51 | Requires(post): openssl-tools >= 0.9.7d |
60282135 | 52 | Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION') |
ac45207a | 53 | Provides: smtpdaemon |
33c18667 | 54 | Obsoletes: courier-smtpauth |
1b1a98bc PG |
55 | Obsoletes: exim |
56 | Obsoletes: masqmail | |
c3a54b72 | 57 | Obsoletes: nullmailer |
1b1a98bc | 58 | Obsoletes: omta |
9a3d2e11 | 59 | Obsoletes: postfix |
1b1a98bc PG |
60 | Obsoletes: qmail |
61 | Obsoletes: sendmail | |
62 | Obsoletes: sendmail-cf | |
63 | Obsoletes: sendmail-doc | |
64 | Obsoletes: smail | |
a0621e90 | 65 | Obsoletes: smtpdaemon |
66 | Obsoletes: ssmtp | |
1b1a98bc | 67 | Obsoletes: zmailer |
36277a4b | 68 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c5ebe9bf | 69 | |
d69319ff | 70 | %define _datadir %{_prefix}/share/courier |
e3dc8853 | 71 | %define _libdir %{_prefix}/%{_lib}/%{name} |
d69319ff | 72 | %define _libexecdir %{_libdir} |
f65a4ca3 JB |
73 | %define _localstatedir /var/spool/courier |
74 | %define _sysconfdir /etc/courier | |
c5520896 | 75 | %define _certsdir %{_sysconfdir}/certs |
eb9b6da5 | 76 | %define _initrddir /etc/rc.d/init.d |
c5ebe9bf | 77 | |
6c3bd8da | 78 | %define _webapps /etc/webapps |
8e3ef11d | 79 | %define _cgibindir %{_prefix}/lib/cgi-bin |
33c18667 AA |
80 | %define _imagedir %{_datadir}/sqwebmail/images |
81 | %define _imageurl /webmail | |
c5ebe9bf | 82 | |
c5ebe9bf | 83 | %description |
84 | Courier is a fully functional mail server, that can completely take | |
85 | over the mail services normally provided by sendmail, Qmail, or any | |
9e755595 | 86 | other mail server. Although Courier does not support all legacy |
c5ebe9bf | 87 | features of existing mail servers, the number of obsoleted functions |
88 | is very small, and there are better, and more robust, alternatives | |
89 | available. | |
90 | ||
91 | Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME. | |
92 | Courier also implements several new SMTP extensions for mailing list | |
93 | management and spam filtering. | |
94 | ||
f65a4ca3 JB |
95 | %description -l pl |
96 |