]> git.pld-linux.org Git - packages/postfix.git/blame - postfix.spec
- require fixed version of libinet6 (to allow building on alpha)
[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 14Version: 20010525
ce5ea51e 15Release: 0.8
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
ce5ea51e 29Patch2: %{name}-conf_msg.patch
23bbf6c1 30Patch3: %{name}-ipv6.patch
ce5ea51e
JB
31# ftp://ftp.aet.tu-cottbus.de/pub/pfixtls
32#Patch4: %{name}-ssl.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}
191741b9 40%{!?_without_ipv6:BuildRequires: libinet6 >= 0.20010420-3}
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
191741b9
JB
55Obsoletes: masqmail
56Obsoletes: omta
57Obsoletes: qmail
fe99dcaa 58Obsoletes: sendmail
59Obsoletes: sendmail-cf
60Obsoletes: sendmail-doc
191741b9
JB
61Obsoletes: smail
62Obsoletes: zmailer
0effd84f 63
7003f448 64%define _sysconfdir /etc
65
0effd84f 66%description
9d1e23e4 67Postfix is attempt to provide an alternative to the widely-used
68Sendmail program. Postfix attempts to be fast, easy to administer, and
69hopefully secure, while at the same time being sendmail compatible
70enough to not upset your users. This version have IPv6 support and
720f7174 71%{!?_without_ldap:no }LDAP support.
9d1e23e4 72
0effd84f 73%description -l pl
9d1e23e4 74