|
|
@@ -24,17 +24,19 @@
|
|
|
##
|
|
|
|
|
|
# versions of individual parts
|
|
|
+%define V_mail_box 2.053
|
|
|
+%define V_mail_imapclient 2.2.9
|
|
|
+%define V_mail_mbox_messageparser 1.12
|
|
|
+%define V_mail_mboxparser 0.43
|
|
|
+%define V_mail_sender 0.8.10
|
|
|
+%define V_mail_sendmail 0.79
|
|
|
%define V_mailtools 1.60
|
|
|
-%define V_mime_tools 5.411
|
|
|
-%define V_mime_lite 3.01
|
|
|
%define V_mime_base64 2.21
|
|
|
%define V_mime_explode 0.28
|
|
|
+%define V_mime_lite 3.01
|
|
|
+%define V_mime_tools 5.411
|
|
|
%define V_mime_types 1.09
|
|
|
-%define V_mail_box 2.053
|
|
|
-%define V_mail_mboxparser 0.43
|
|
|
-%define V_mail_mbox_messageparser 1.12
|
|
|
-%define V_mail_sendmail 0.79
|
|
|
-%define V_mail_sender 0.8.10
|
|
|
+%define V_user_identity 0.07
|
|
|
|
|
|
# package information
|
|
|
Name: perl-mail
|
|
|
@@ -55,32 +57,36 @@ Source2: http://www.cpan.org/modules/by-module/MIME/MIME-Lite-%{V_mime_lite
|
|
|
Source3: http://www.cpan.org/modules/by-module/MIME/MIME-Base64-%{V_mime_base64}.tar.gz
|
|
|
Source4: http://www.cpan.org/modules/by-module/MIME/MIME-Explode-%{V_mime_explode}.tar.gz
|
|
|
Source5: http://www.cpan.org/modules/by-module/MIME/MIME-Types-%{V_mime_types}.tar.gz
|
|
|
-Source6: http://www.cpan.org/modules/by-module/Mail/Mail-Box-%{V_mail_box}.tar.gz
|
|
|
-Source7: http://www.cpan.org/modules/by-module/Mail/Mail-MboxParser-%{V_mail_mboxparser}.tar.gz
|
|
|
-Source8: http://www.cpan.org/modules/by-module/Mail/Mail-Mbox-MessageParser-%{V_mail_mbox_messageparser}.tar.gz
|
|
|
-Source9: http://www.cpan.org/modules/by-module/Mail/Mail-Sendmail-%{V_mail_sendmail}.tar.gz
|
|
|
-Source10: http://www.cpan.org/modules/by-module/Mail/Mail-Sender-%{V_mail_sender}.tar.gz
|
|
|
+Source6: http://www.cpan.org/modules/by-module/User/User-Identity-%{V_user_identity}.tar.gz
|
|
|
+Source7: http://www.cpan.org/modules/by-module/Mail/Mail-IMAPClient-%{V_mail_imapclient}.tar.gz
|
|
|
+Source8: http://www.cpan.org/modules/by-module/Mail/Mail-Box-%{V_mail_box}.tar.gz
|
|
|
+Source9: http://www.cpan.org/modules/by-module/Mail/Mail-MboxParser-%{V_mail_mboxparser}.tar.gz
|
|
|
+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
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20021230, perl, perl-openpkg, perl-ds, perl-util
|
|
|
-PreReq: OpenPKG, openpkg >= 20021230, perl, perl-openpkg, perl-ds, perl-util
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20021230, perl, perl-openpkg, perl-ds, perl-util >= 20031204
|
|
|
+PreReq: OpenPKG, openpkg >= 20021230, perl, perl-openpkg, perl-ds, perl-util >= 20031204
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
%description
|
|
|
Perl modules for use with email:
|
|
|
- MIME::Base64 (%{V_mime_base64})
|
|
|
- - Mail::Sendmail (%{V_mail_sendmail})
|
|
|
- - Mail::Sender (%{V_mail_sender})
|
|
|
+ - MIME::Explode (%{V_mime_explode})
|
|
|
+ - MIME::Lite (%{V_mime_lite})
|
|
|
+ - MIME::Types (%{V_mime_types})
|
|
|
+ - MIME::XXX (%{V_mime_tools})
|
|
|
- Mail::Box (%{V_mail_box})
|
|
|
+ - Mail::IMAPClient (%{V_mail_imapclient})
|
|
|
- Mail::Mbox::MessageParser (%{V_mail_mbox_messageparser})
|
|
|
+ - Mail::Sender (%{V_mail_sender})
|
|
|
+ - Mail::Sendmail (%{V_mail_sendmail})
|
|
|
- Mail::XXX (%{V_mailtools})
|
|
|
- - MIME::XXX (%{V_mime_tools})
|
|
|
- - MIME::Lite (%{V_mime_lite})
|
|
|
- - MIME::Types (%{V_mime_types})
|
|
|
- - MIME::Explode (%{V_mime_explode})
|
|
|
+ - User::Identity (%{V_user_identity})
|
|
|
|
|
|
%prep
|
|
|
%setup0 -q -c
|
|
|
@@ -94,6 +100,8 @@ AutoReqProv: no
|
|
|
%setup8 -q -T -D -a 8
|
|
|
%setup9 -q -T -D -a 9
|
|
|
%setup10 -q -T -D -a 10
|
|
|
+ %setup11 -q -T -D -a 11
|
|
|
+ %setup12 -q -T -D -a 12
|
|
|
%{l_shtool} subst \
|
|
|
-e 's/\(has_readkey\) =[^;]*/\1 = 0/' \
|
|
|
Mail-Box-*/Makefile.PL
|
|
|
@@ -116,6 +124,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE8}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE9}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE10}
|
|
|
+ %{l_prefix}/bin/perl-openpkg install -d %{SOURCE11}
|
|
|
+ %{l_prefix}/bin/perl-openpkg install -d %{SOURCE12}
|
|
|
|
|
|
# perform common epilog operations
|
|
|
%{l_prefix}/bin/perl-openpkg epilog
|