]> git.pld-linux.org Git - packages/postfix.git/blame - postfix.spec
- (postun) require flag for {group,user}del.
[packages/postfix.git] / postfix.spec
CommitLineData
c41ca9c7 1#
6c202c7c 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
6c202c7c 6# --without ssl - build without SSL/TLS support
d977cfae 7# --with mysql - build with MySQL support
6c202c7c 8# --without ipv6 - build without IPv6 support
c41ca9c7 9#
6c202c7c 10%define tls_ver 0.7.13c-snap20011127-0.9.6b
aed7eb18 11Summary: Postfix Mail Transport Agent
2344b037 12Summary(pl): Serwer SMTP Postfix
aed7eb18 13Name: postfix
759823fd 14Version: 20011127
6c202c7c 15Release: 6
7003f448 16Group: Networking/Daemons
ad4d0234 17Group(de): Netzwerkwesen/Server
7003f448 18Group(pl): Sieciowe/Serwery
4e46d0a4 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
7003f448 31URL: http://www.postfix.org/
6c202c7c
TP
32BuildRequires: awk
33BuildRequires: db3-devel
34BuildRequires: grep
720f7174
AF
35%{!?_without_ldap:BuildRequires: openldap-devel >= 2.0.0}
36%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
37%{!?_without_pcre:BuildRequires: pcre-devel}
38%{!?_without_sasl:BuildRequires: cyrus-sasl-devel}
191741b9 39%{!?_without_ipv6:BuildRequires: libinet6 >= 0.20010420-3}
6c202c7c
TP
40PreReq: /sbin/chkconfig
41PreReq: rc-scripts
42%{!?_without_ldap:PreReq: openldap >= 2.0.0}
43Requires(pre): /bin/id
44Requires(pre): /usr/bin/getgid
45Requires(pre): /usr/sbin/groupadd
46Requires(pre): /usr/sbin/useradd
47Requires(post): /bin/hostname
42acfda2
TP
48Requires(postun): /usr/sbin/groupdel
49Requires(postun): /usr/sbin/userdel
6c202c7c 50Provides: smtpdaemon
fe99dcaa 51Obsoletes: smtpdaemon
52Obsoletes: exim
191741b9
JB
53Obsoletes: masqmail
54Obsoletes: omta
55Obsoletes: qmail
fe99dcaa 56Obsoletes: sendmail
57Obsoletes: sendmail-cf
58Obsoletes: sendmail-doc
191741b9
JB
59Obsoletes: smail
60Obsoletes: zmailer
c85fd643 61Requires: procmail
6c202c7c 62BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0effd84f
AM
63
64%description
9d1e23e4 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
720f7174 69%{!?_without_ldap:no }LDAP support.
9d1e23e4 70
0effd84f 71%description -l pl
9d1e23e4 72