ソースを参照

Email address verification modules

Ralf S. Engelschall 21 年 前
コミット
3b281810e3
1 ファイル変更21 行追加1 行削除
  1. 21 1
      perl-mail/perl-mail.spec

+ 21 - 1
perl-mail/perl-mail.spec

@@ -38,6 +38,8 @@
 %define       V_mime_tools              5.414
 %define       V_mime_types              1.13
 %define       V_user_identity           0.90
+%define       V_email_address           1.6
+%define       V_email_valid             0.15
 
 #   package information
 Name:         perl-mail
@@ -50,7 +52,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20041007
+Release:      20041009
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Mail/MailTools-%{V_mailtools}.tar.gz
@@ -66,6 +68,8 @@ 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/Email/Email-Address-%{V_email_address}.tar.gz
+Source14:     http://www.cpan.org/modules/by-module/Email/Email-Valid-%{V_email_valid}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -92,6 +96,8 @@ AutoReqProv:  no
     - Mail::Sendmail (%{V_mail_sendmail})
     - Mail::XXX (%{V_mailtools})
     - User::Identity (%{V_user_identity})
+    - Email::Address (%{V_email_address})
+    - Email::Valid (%{V_email_valid})
 
 %track
     prog perl-mail:Mail-Box = {
@@ -159,6 +165,16 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/User/
         regex     = User-Identity-(__VER__)\.tar\.gz
     }
+    prog perl-mail:Email-Address = {
+        version   = %{V_email_address}
+        url       = http://www.cpan.org/modules/by-module/Email/
+        regex     = Email-Address-(__VER__)\.tar\.gz
+    }
+    prog perl-mail:Email-Valid = {
+        version   = %{V_email_valid}
+        url       = http://www.cpan.org/modules/by-module/Email/
+        regex     = Email-Valid-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -174,6 +190,8 @@ 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
+    %setup -q -T -D -a 14
     %{l_shtool} subst \
         -e 's/\(has_readkey\) =[^;]*/\1 = 0/' \
         Mail-Box-*/Makefile.PL
@@ -196,6 +214,8 @@ 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 -d %{SOURCE14} 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`