]> git.pld-linux.org Git - packages/postfix.git/blame - postfix.spec
- use macros in %{pre,post}{,un}
[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
19Copyright: 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
a6206693 26Patch0: %{name}-config.patch
b760ac66 27Patch1: %{name}-pl.patch
96f1d37d
AF
28# ftp://ftp.aet.tu-cottbus.de/pub/pfixtls
29#Patch2: %{name}-ssl.patch
b760ac66 30Patch3: %{name}-ipv6.patch.gz
417d7d5e 31Patch5: %{name}-conf_msg.patch
7003f448 32URL: http://www.postfix.org/
aed7eb18 33Provides: smtpdaemon
5908b5f5 34Prereq: rc-scripts
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}
39%{!?_without_ipv6:BuildRequires: libinet6}
38f90f82 40BuildRequires: db3-devel
24230b63 41BuildRequires: grep
aed7eb18 42Prereq: /sbin/chkconfig
c41ca9c7
AF
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
720f7174 50%{!?_without_ldap:Prereq: openldap >= 2.0.0}
76a43132 51BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
fe99dcaa 52Obsoletes: smtpdaemon
53Obsoletes: exim
54Obsoletes: sendmail
55Obsoletes: sendmail-cf
56Obsoletes: sendmail-doc
0effd84f 57
7003f448 58%define _sysconfdir /etc
59
0effd84f 60%description
9d1e23e4 61Postfix is attempt to provide an alternative to the widely-used
62Sendmail program. Postfix attempts to be fast, easy to administer, and
63hopefully secure, while at the same time being sendmail compatible
64enough to not upset your users. This version have IPv6 support and
720f7174 65%{!?_without_ldap:no }LDAP support.
9d1e23e4 66
0effd84f 67%description -l pl
9d1e23e4 68