commit 1049f29558c2585eeea8bf331079ff48f56dd8ae Author: David Dick <ddick@xxxxxxxx> Date: Sat Apr 19 08:36:08 2014 +1000 Initial import (#1086974). .gitignore | 1 + perl-Business-PayPal-API.spec | 50 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ff19099 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Business-PayPal-API-0.70.tar.gz diff --git a/perl-Business-PayPal-API.spec b/perl-Business-PayPal-API.spec new file mode 100644 index 0000000..60059b9 --- /dev/null +++ b/perl-Business-PayPal-API.spec @@ -0,0 +1,50 @@ +%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(SOAP::Lite\\)$ +Name: perl-Business-PayPal-API +Version: 0.70 +Release: 1%{?dist} +Summary: PayPal API +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Business-PayPal-API/ +Source0: http://www.cpan.org/modules/by-module/Business/Business-PayPal-API-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(SOAP::Lite) >= 0.67 +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(Data::Dumper) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Business::PayPal::API supports both certificate authentication and the new +3-token "Signature" authentication. + +%prep +%setup -q -n Business-PayPal-API-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc auth.sample.3token auth.sample.cert Changes README eg +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Apr 12 2014 David Dick <ddick@xxxxxxxx> - 0.70-1 +- Initial release diff --git a/sources b/sources index e69de29..bcd77ea 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f2ae0de969eb37196c706c44487cde12 Business-PayPal-API-0.70.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel