|
@@ -33,7 +33,7 @@ Class: BASE
|
|
|
Group: Mail
|
|
Group: Mail
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: 1.31
|
|
Version: 1.31
|
|
|
-Release: 20071003
|
|
|
|
|
|
|
+Release: 20071108
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://postgrey.schweikert.ch/pub/postgrey-%{version}.tar.gz
|
|
Source0: http://postgrey.schweikert.ch/pub/postgrey-%{version}.tar.gz
|
|
@@ -74,8 +74,16 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
# build manual page
|
|
# build manual page
|
|
|
- pod2man postgrey >postgrey.8
|
|
|
|
|
- pod2man contrib/postgreyreport >contrib/postgreyreport.8
|
|
|
|
|
|
|
+ for i in postgrey contrib/postgreyreport; do
|
|
|
|
|
+ pod2man $i >$i.8
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;/etc/postfix/postgrey_\([a-z_.]\{1,\}\);%{l_prefix}/etc/postgrey/\1;g' \
|
|
|
|
|
+ -e 's;/etc/postfix;%{l_prefix}/etc/postfix;g' \
|
|
|
|
|
+ -e 's;/etc/main.cf;%{l_prefix}/etc/postfix/main.cf;g' \
|
|
|
|
|
+ -e 's;/var/log/maillog;%{l_prefix}/var/postfix/log/postfix.log;g' \
|
|
|
|
|
+ -e 's;/var/spool/postfix/postgrey;%{l_prefix}/var/postgrey;g' \
|
|
|
|
|
+ $i.8
|
|
|
|
|
+ done
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
|
# create installation hierarchy
|
|
# create installation hierarchy
|