|
@@ -34,6 +34,7 @@
|
|
|
%define V_business_paypal_ewp 1.00
|
|
%define V_business_paypal_ewp 1.00
|
|
|
%define V_business_paypal_ipn 1.94
|
|
%define V_business_paypal_ipn 1.94
|
|
|
%define V_business_paypal_api 0.52
|
|
%define V_business_paypal_api 0.52
|
|
|
|
|
+%define V_google_checkout 1.0.1
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: perl-biz
|
|
Name: perl-biz
|
|
@@ -46,7 +47,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
Version: %{V_perl}
|
|
|
-Release: 20071002
|
|
|
|
|
|
|
+Release: 20071021
|
|
|
|
|
|
|
|
# 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
|
|
@@ -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
|
|
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
|
|
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
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -82,6 +84,7 @@ AutoReqProv: no
|
|
|
- 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})
|
|
- Business::PayPal::API (%{V_business_paypal_api})
|
|
|
|
|
+ - Google::Checkout (%{V_google_checkout})
|
|
|
|
|
|
|
|
%track
|
|
%track
|
|
|
prog perl-biz:Business-Hours = {
|
|
prog perl-biz:Business-Hours = {
|
|
@@ -134,6 +137,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Business/
|
|
url = http://www.cpan.org/modules/by-module/Business/
|
|
|
regex = Business-PayPal-API-(__VER__)\.tar\.gz
|
|
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
|
|
%prep
|
|
|
%setup -q -c
|
|
%setup -q -c
|
|
@@ -146,6 +154,7 @@ AutoReqProv: no
|
|
|
%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
|
|
%setup -q -T -D -a 9
|
|
|
|
|
+ %setup -q -T -D -a 10
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
|
@@ -166,6 +175,7 @@ AutoReqProv: no
|
|
|
%{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 -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_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`
|
|
|
|
|
|