]> git.pld-linux.org Git - packages/postfix.git/blame - postfix.spec
- one more fix: inet_interfaces=all should work with v6 enabled
[packages/postfix.git] / postfix.spec
CommitLineData
c41ca9c7 1#
8dde77f0 2# Conditional build:
d977cfae
AF
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
2344b037 6# --without ssl - build without SSL/TLS support
d977cfae 7# --with mysql - build with MySQL support
3ddeb2d1 8# --without ipv6 - build without IPv6 support
c41ca9c7 9#
96f1d37d 10%define tls_ver 0.7.3-snap20010525-0.9.6a
aed7eb18 11Summary: Postfix Mail Transport Agent
2344b037 12Summary(pl): Serwer SMTP Postfix
aed7eb18 13Name: postfix
96f1d37d
AF
14Version: 20010525
15Release: 0.1
7003f448 16Group: Networking/Daemons
ad4d0234 17Group(de): Netzwerkwesen/Server
7003f448 18Group(pl): Sieciowe/Serwery
23bbf6c1 19License: Distributable
1f87d5ad 20Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/snapshot-%{version}.tar.gz
a6206693 21Source1: %{name}.aliases
22Source2: %{name}.cron
23Source3: %{name}.init
24Source5: %{name}.sysconfig
96f1d37d 25Source6: ftp://ftp.aet.tu-cottbus.de/pub/pfixtls/pfixtls-%{tls_ver}.tar.gz
a2c1cc34 26Source7: %{name}.sasl
a6206693 27Patch0: %{name}-config.patch
b760ac66 28Patch1: %{name}-pl.patch
96f1d37d
AF
29# ftp://ftp.aet.tu-cottbus.de/pub/pfixtls
30#Patch2: %{name}-ssl.patch
23bbf6c1 31Patch3: %{name}-ipv6.patch
417d7d5e 32Patch5: %{name}-conf_msg.patch
7003f448 33URL: http://www.postfix.org/
aed7eb18 34Provides: smtpdaemon
5908b5f5 35Prereq: rc-scripts
720f7174
AF
36%{!?_without_ldap:BuildRequires: openldap-devel >= 2.0.0}
37%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
38%{!?_without_pcre:BuildRequires: pcre-devel}
39%{!?_without_sasl:BuildRequires: cyrus-sasl-devel}
40%{!?_without_ipv6:BuildRequires: libinet6}
38f90f82 41BuildRequires: db3-devel
24230b63 42BuildRequires: grep
aed7eb18 43Prereq: /sbin/chkconfig
c41ca9c7
AF
44Prereq: /usr/sbin/useradd
45Prereq: /usr/sbin/groupadd
46Prereq: /usr/sbin/userdel
47Prereq: /usr/sbin/groupdel
48Prereq: /usr/bin/getgid
49Prereq: /bin/id
50Prereq: /bin/hostname
720f7174 51%{!?_without_ldap:Prereq: openldap >= 2.0.0}
76a43132 52BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
fe99dcaa 53Obsoletes: smtpdaemon
54Obsoletes: exim
55Obsoletes: sendmail
56Obsoletes: sendmail-cf
57Obsoletes: sendmail-doc
0effd84f 58
7003f448 59%define _sysconfdir /etc
60
0effd84f 61%description
9d1e23e4 62Postfix is attempt to provide an alternative to the widely-used
63Sendmail program. Postfix attempts to be fast, easy to administer, and
64hopefully secure, while at the same time being sendmail compatible
65enough to not upset your users. This version have IPv6 support and
720f7174 66%{!?_without_ldap:no }LDAP support.
9d1e23e4 67
0effd84f 68%description -l pl
9d1e23e4 69