|
@@ -32,10 +32,11 @@ Packager: rse@openpkg.org
|
|
|
Distribution: OpenPKG
|
|
Distribution: OpenPKG
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: 3.22
|
|
Version: 3.22
|
|
|
-Release: 2
|
|
|
|
|
|
|
+Release: 3
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://ftp.procmail.org/pub/procmail/procmail-%{version}.tar.gz
|
|
Source0: ftp://ftp.procmail.org/pub/procmail/procmail-%{version}.tar.gz
|
|
|
|
|
+Source1: procmailrc
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -88,6 +89,7 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \
|
|
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/etc/procmail \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man5
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man5
|
|
|
%{l_shtool} install -c -s \
|
|
%{l_shtool} install -c -s \
|
|
@@ -97,6 +99,9 @@ AutoReqProv: no
|
|
|
new/*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
|
|
new/*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
|
|
|
%{l_shtool} install -c -m 644 \
|
|
%{l_shtool} install -c -m 644 \
|
|
|
new/*.5 $RPM_BUILD_ROOT%{l_prefix}/man/man5/
|
|
new/*.5 $RPM_BUILD_ROOT%{l_prefix}/man/man5/
|
|
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
|
|
+ -e 's;@l_prefix@;%{l_prefix};g' \
|
|
|
|
|
+ %{SOURCE procmailrc} $RPM_BUILD_ROOT%{l_prefix}/etc/procmail/
|
|
|
|
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
%{l_files_std} \
|
|
%{l_files_std} \
|