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