]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
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 | |
6 | # --without ssl - build without SSL/TLS support | |
7 | # --with mysql - build with MySQL support | |
8 | # --without ipv6 - build without IPv6 support | |
9 | # | |
10 | %define tls_ver 0.7.13c-snap20011127-0.9.6b | |
11 | Summary: Postfix Mail Transport Agent | |
12 | Summary(pl): Serwer SMTP Postfix | |
13 | Name: postfix | |
14 | Version: 20011127 | |
15 | Release: 2 | |
16 | Group: Networking/Daemons | |
17 | Group(de): Netzwerkwesen/Server | |
18 | Group(pl): Sieciowe/Serwery | |
19 | License: distributable | |
20 | Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/snapshot-%{version}.tar.gz | |
21 | Source1: %{name}.aliases | |
22 | Source2: %{name}.cron | |
23 | Source3: %{name}.init | |
24 | Source5: %{name}.sysconfig | |
25 | Source6: ftp://ftp.aet.tu-cottbus.de/pub/pfixtls/pfixtls-%{tls_ver}.tar.gz | |
26 | Source7: %{name}.sasl | |
27 | Patch0: %{name}-config.patch | |
28 | Patch1: %{name}-pl.patch | |
29 | Patch2: %{name}-conf_msg.patch | |
30 | Patch3: %{name}-ipv6.patch | |
31 | URL: http://www.postfix.org/ | |
32 | Provides: smtpdaemon | |
33 | Prereq: rc-scripts | |
34 | %{!?_without_ldap:BuildRequires: openldap-devel >= 2.0.0} | |
35 | %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a} | |
36 | %{!?_without_pcre:BuildRequires: pcre-devel} | |
37 | %{!?_without_sasl:BuildRequires: cyrus-sasl-devel} | |
38 | %{!?_without_ipv6:BuildRequires: libinet6 >= 0.20010420-3} | |
39 | BuildRequires: db3-devel | |
40 | BuildRequires: grep | |
41 | BuildRequires: awk | |
42 | Prereq: /sbin/chkconfig | |
43 | Prereq: /usr/sbin/useradd | |
44 | Prereq: /usr/sbin/groupadd | |
45 | Prereq: /usr/sbin/userdel | |
46 | Prereq: /usr/sbin/groupdel | |
47 | Prereq: /usr/bin/getgid | |
48 | Prereq: /bin/id | |
49 | Prereq: /bin/hostname | |
50 | %{!?_without_ldap:Prereq: openldap >= 2.0.0} | |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
52 | Obsoletes: smtpdaemon | |
53 | Obsoletes: exim | |
54 | Obsoletes: masqmail | |
55 | Obsoletes: omta | |
56 | Obsoletes: qmail | |
57 | Obsoletes: sendmail | |
58 | Obsoletes: sendmail-cf | |
59 | Obsoletes: sendmail-doc | |
60 | Obsoletes: smail | |
61 | Obsoletes: zmailer | |
62 | Requires: procmail | |
63 | ||
64 | %description | |
65 | Postfix is attempt to provide an alternative to the widely-used | |
66 | Sendmail program. Postfix attempts to be fast, easy to administer, and | |
67 | hopefully secure, while at the same time being sendmail compatible | |
68 | enough to not upset your users. This version have IPv6 support and | |
69 | %{!?_without_ldap:no }LDAP support. | |
70 | ||
71 | %description -l pl | |
72 |