Browse Source

add Business::PayPal::API

Ralf S. Engelschall 18 years ago
parent
commit
211956c163
1 changed files with 11 additions and 1 deletions
  1. 11 1
      perl-biz/perl-biz.spec

+ 11 - 1
perl-biz/perl-biz.spec

@@ -33,6 +33,7 @@
 %define       V_business_paypal            0.02
 %define       V_business_paypal            0.02
 %define       V_business_paypal_ewp        0.02
 %define       V_business_paypal_ewp        0.02
 %define       V_business_paypal_ipn        1.94
 %define       V_business_paypal_ipn        1.94
+%define       V_business_paypal_api        0.51
 
 
 #   package information
 #   package information
 Name:         perl-biz
 Name:         perl-biz
@@ -45,7 +46,7 @@ Class:        BASE
 Group:        Perl
 Group:        Perl
 License:      GPL/Artistic
 License:      GPL/Artistic
 Version:      %{V_perl}
 Version:      %{V_perl}
-Release:      20070831
+Release:      20070901
 
 
 #   list of sources
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Business/Business-Hours-%{V_business_hours}.tar.gz
 Source0:      http://www.cpan.org/modules/by-module/Business/Business-Hours-%{V_business_hours}.tar.gz
@@ -57,6 +58,7 @@ Source5:      http://www.cpan.org/modules/by-module/Business/Business-CreditCard
 Source6:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-%{V_business_paypal}.tar.gz
 Source6:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-%{V_business_paypal}.tar.gz
 Source7:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-EWP-%{V_business_paypal_ewp}.tar.gz
 Source7:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-EWP-%{V_business_paypal_ewp}.tar.gz
 Source8:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-IPN-%{V_business_paypal_ipn}.tar.gz
 Source8:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-IPN-%{V_business_paypal_ipn}.tar.gz
+Source9:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-API-%{V_business_paypal_api}.tar.gz
 
 
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
@@ -79,6 +81,7 @@ AutoReqProv:  no
     - Business::PayPal (%{V_business_paypal})
     - Business::PayPal (%{V_business_paypal})
     - Business::PayPal::EWP (%{V_business_paypal_ewp})
     - Business::PayPal::EWP (%{V_business_paypal_ewp})
     - Business::PayPal::IPN (%{V_business_paypal_ipn})
     - Business::PayPal::IPN (%{V_business_paypal_ipn})
+    - Business::PayPal::API (%{V_business_paypal_api})
 
 
 %track
 %track
     prog perl-biz:Business-Hours = {
     prog perl-biz:Business-Hours = {
@@ -126,6 +129,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Business/
         url       = http://www.cpan.org/modules/by-module/Business/
         regex     = Business-PayPal-IPN-(__VER__)\.tar\.gz
         regex     = Business-PayPal-IPN-(__VER__)\.tar\.gz
     }
     }
+    prog perl-biz:Business-PayPal-API = {
+        version   = %{V_business_paypal_api}
+        url       = http://www.cpan.org/modules/by-module/Business/
+        regex     = Business-PayPal-API-(__VER__)\.tar\.gz
+    }
 
 
 %prep
 %prep
     %setup -q -c
     %setup -q -c
@@ -137,6 +145,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 6
     %setup -q -T -D -a 6
     %setup -q -T -D -a 7
     %setup -q -T -D -a 7
     %setup -q -T -D -a 8
     %setup -q -T -D -a 8
+    %setup -q -T -D -a 9
 
 
 %build
 %build
 
 
@@ -156,6 +165,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE9}  configure build install
     %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
     %{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`
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`