]> git.pld-linux.org Git - packages/postfix.git/blame_incremental - postfix.spec
- fix in ipv6 patch: added IPv6 support to inet_addr_list_uniq() function
[packages/postfix.git] / postfix.spec
... / ...
CommitLineData
1#
2# Conditional build:
3# --without sasl - build wihtout SMTP AUTH support
4# --without ldap - build without LDAP support
5# --without pcre - build without Perl Compatible Regular Expresion support
6# --without ssl - build without SSL/TLS support
7# --with mysql - build with MySQL support
8# --without ipv6 - build without IPv6 support
9#
10%define tls_ver 0.7.13c-snap20011127-0.9.6b
11Summary: Postfix Mail Transport Agent
12Summary(pl): Serwer SMTP Postfix
13Name: postfix
14Version: 20011127
15Release: 2
16Group: Networking/Daemons
17Group(de): Netzwerkwesen/Server
18Group(pl): Sieciowe/Serwery
19License: distributable
20Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/snapshot-%{version}.tar.gz
21Source1: %{name}.aliases
22Source2: %{name}.cron
23Source3: %{name}.init
24Source5: %{name}.sysconfig
25Source6: ftp://ftp.aet.tu-cottbus.de/pub/pfixtls/pfixtls-%{tls_ver}.tar.gz
26Source7: %{name}.sasl
27Patch0: %{name}-config.patch
28Patch1: %{name}-pl.patch
29Patch2: %{name}-conf_msg.patch
30Patch3: %{name}-ipv6.patch
31URL: http://www.postfix.org/
32Provides: smtpdaemon
33Prereq: rc-scripts
34%{!?_without_ldap:BuildRequires: openldap-devel >= 2.0.0}
35%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
36%{!?_without_pcre:BuildRequires: pcre-devel}
37%{!?_without_sasl:BuildRequires: cyrus-sasl-devel}
38%{!?_without_ipv6:BuildRequires: libinet6 >= 0.20010420-3}
39BuildRequires: db3-devel
40BuildRequires: grep
41BuildRequires: awk
42Prereq: /sbin/chkconfig
43Prereq: /usr/sbin/useradd
44Prereq: /usr/sbin/groupadd
45Prereq: /usr/sbin/userdel
46Prereq: /usr/sbin/groupdel
47Prereq: /usr/bin/getgid
48Prereq: /bin/id
49Prereq: /bin/hostname
50%{!?_without_ldap:Prereq: openldap >= 2.0.0}
51BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52Obsoletes: smtpdaemon
53Obsoletes: exim
54Obsoletes: masqmail
55Obsoletes: omta
56Obsoletes: qmail
57Obsoletes: sendmail
58Obsoletes: sendmail-cf
59Obsoletes: sendmail-doc
60Obsoletes: smail
61Obsoletes: zmailer
62Requires: procmail
63
64%description
65Postfix is attempt to provide an alternative to the widely-used
66Sendmail program. Postfix attempts to be fast, easy to administer, and
67hopefully secure, while at the same time being sendmail compatible
68enough to not upset your users. This version have IPv6 support and
69%{!?_without_ldap:no }LDAP support.
70
71%description -l pl
72