Bladeren bron

add Google Checkout Perl API

Ralf S. Engelschall 18 jaren geleden
bovenliggende
commit
392350db1e
1 gewijzigde bestanden met toevoegingen van 11 en 1 verwijderingen
  1. 11 1
      perl-biz/perl-biz.spec

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

@@ -34,6 +34,7 @@
 %define       V_business_paypal_ewp        1.00
 %define       V_business_paypal_ipn        1.94
 %define       V_business_paypal_api        0.52
+%define       V_google_checkout            1.0.1
 
 #   package information
 Name:         perl-biz
@@ -46,7 +47,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20071002
+Release:      20071021
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Business/Business-Hours-%{V_business_hours}.tar.gz
@@ -59,6 +60,7 @@ Source6:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-%{V
 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
 Source9:      http://www.cpan.org/modules/by-module/Business/Business-PayPal-API-%{V_business_paypal_api}.tar.gz
+Source10:     http://google-checkout-perl-sample-code.googlecode.com/files/Google-Checkout-%{V_google_checkout}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -82,6 +84,7 @@ AutoReqProv:  no
     - Business::PayPal::EWP (%{V_business_paypal_ewp})
     - Business::PayPal::IPN (%{V_business_paypal_ipn})
     - Business::PayPal::API (%{V_business_paypal_api})
+    - Google::Checkout (%{V_google_checkout})
 
 %track
     prog perl-biz:Business-Hours = {
@@ -134,6 +137,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Business/
         regex     = Business-PayPal-API-(__VER__)\.tar\.gz
     }
+    prog perl-biz:Google-Checkout = {
+        version   = %{V_google_checkout}
+        url       = http://google-checkout-perl-sample-code.googlecode.com/files/
+        regex     = Google-Checkout-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -146,6 +154,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 7
     %setup -q -T -D -a 8
     %setup -q -T -D -a 9
+    %setup -q -T -D -a 10
 
 %build
 
@@ -166,6 +175,7 @@ AutoReqProv:  no
     %{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 %{SOURCE9}  configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} 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`