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