commit 17aa80c3cecae29247f6a052cb33d058c6093a7d Author: David Dick <ddick@xxxxxxxx> Date: Thu Apr 3 21:40:59 2014 +1100 Initial import (#1082281). .gitignore | 1 + perl-Business-Stripe.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..6ca5126 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Business-Stripe-0.04.tar.gz diff --git a/perl-Business-Stripe.spec b/perl-Business-Stripe.spec new file mode 100644 index 0000000..79b3871 --- /dev/null +++ b/perl-Business-Stripe.spec @@ -0,0 +1,51 @@ +Name: perl-Business-Stripe +Version: 0.04 +Release: 1%{?dist} +Summary: Interface for Stripe payment system +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Business-Stripe/ +Source0: http://www.cpan.org/modules/by-module/Business/Business-Stripe-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(constant) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Provides common bindings for Stripe payment system. Any API calls that do +not have bindings can be access through the generic api method. + +%prep +%setup -q -n Business-Stripe-%{version} +# remove symlink +rm README.pod +# remove pod testing. it is currently failing incorrectly +rm t/pod.t + +%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 Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Mar 30 2014 David Dick <ddick@xxxxxxxx> - 0.04-1 +- Initial release diff --git a/sources b/sources index e69de29..b7b3f8a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8b5f4ce603b0799eff447187757332a8 Business-Stripe-0.04.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