|
|
@@ -37,6 +37,7 @@
|
|
|
%define V_mime_tools 5.411
|
|
|
%define V_mime_types 1.12
|
|
|
%define V_user_identity 0.07
|
|
|
+%define V_mail_spamassassin 2.63
|
|
|
|
|
|
# package information
|
|
|
Name: perl-mail
|
|
|
@@ -48,8 +49,8 @@ Distribution: OpenPKG
|
|
|
Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
-Version: 20040209
|
|
|
-Release: 20040209
|
|
|
+Version: 20040210
|
|
|
+Release: 20040210
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Mail/MailTools-%{V_mailtools}.tar.gz
|
|
|
@@ -65,6 +66,7 @@ Source9: http://www.cpan.org/modules/by-module/Mail/Mail-MboxParser-%{V_mai
|
|
|
Source10: http://www.cpan.org/modules/by-module/Mail/Mail-Mbox-MessageParser-%{V_mail_mbox_messageparser}.tar.gz
|
|
|
Source11: http://www.cpan.org/modules/by-module/Mail/Mail-Sendmail-%{V_mail_sendmail}.tar.gz
|
|
|
Source12: http://www.cpan.org/modules/by-module/Mail/Mail-Sender-%{V_mail_sender}.tar.gz
|
|
|
+Source13: http://www.cpan.org/modules/by-module/Mail/Mail-SpamAssassin-%{V_mail_spamassassin}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -87,6 +89,7 @@ AutoReqProv: no
|
|
|
- Mail::Sender (%{V_mail_sender})
|
|
|
- Mail::Sendmail (%{V_mail_sendmail})
|
|
|
- Mail::XXX (%{V_mailtools})
|
|
|
+ - Mail::SpamAssassin (%{V_mail_spamassassin})
|
|
|
- User::Identity (%{V_user_identity})
|
|
|
|
|
|
%track
|
|
|
@@ -125,6 +128,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Mail/
|
|
|
regex = MailTools-(\d+\.\d\d)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-mail:SpamAssassin = {
|
|
|
+ version = %{V_mail_spamassassin}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Mail/
|
|
|
+ regex = Mail-SpamAssassin-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
prog perl-mail:MIME-Base64 = {
|
|
|
version = %{V_mime_base64}
|
|
|
url = http://www.cpan.org/modules/by-module/MIME/
|
|
|
@@ -170,6 +178,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 10
|
|
|
%setup -q -T -D -a 11
|
|
|
%setup -q -T -D -a 12
|
|
|
+ %setup -q -T -D -a 13
|
|
|
%{l_shtool} subst \
|
|
|
-e 's/\(has_readkey\) =[^;]*/\1 = 0/' \
|
|
|
Mail-Box-*/Makefile.PL
|
|
|
@@ -191,6 +200,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|