]>
Commit | Line | Data |
---|---|---|
485ac86d ER |
1 | # TODO |
2 | # - move stuff out of /home/services/httpd (because that ain't right!) | |
3 | # - use %{_prefix}/lib/cgi-bin | |
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 |
c7adf967 | 12 | Version: 0.52.1 |
485ac86d | 13 | Release: 1.1 |
f65a4ca3 | 14 | License: GPL |
1fdfbbe1 | 15 | Group: Networking/Daemons |
c7adf967 | 16 | #Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
075e0cc1 | 17 | Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 |
c7adf967 | 18 | # Source0-md5: 98005b9bacd44fa9e1a2b2100907522a |
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 |
c7adf967 | 36 | BuildRequires: openldap-devel |
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 |
485ac86d | 43 | BuildRequires: rpmbuild(macros) >= 1.226 |
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 |
36277a4b | 70 | %define _mandir /usr/share/man |
d69319ff AA |
71 | %define _libdir %{_prefix}/%{_lib}/courier |
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 | |
33c18667 AA |
78 | %define _httpdir /home/services/httpd |
79 | %define _cgibindir %{_httpdir}/cgi-bin | |
80 | %define _imagedir %{_datadir}/sqwebmail/images | |
81 | %define _imageurl /webmail | |
82 | %define _apache1dir /etc/apache | |
83 | %define _apache2dir /etc/httpd | |
c5ebe9bf | 84 | |
c5ebe9bf | 85 | %description |
86 | Courier is a fully functional mail server, that can completely take | |
87 | over the mail services normally provided by sendmail, Qmail, or any | |
9e755595 | 88 | other mail server. Although Courier does not support all legacy |
c5ebe9bf | 89 | features of existing mail servers, the number of obsoleted functions |
90 | is very small, and there are better, and more robust, alternatives | |
91 | available. | |
92 | ||
93 | Courier implements many SMTP extensions: DSN, PIPELINING, 8BITMIME. | |
94 | Courier also implements several new SMTP extensions for mailing list | |
95 | management and spam filtering. | |
96 | ||
f65a4ca3 JB |
97 | %description -l pl |
98 |