initial import (rhbz#734168)

This commit is contained in:
Iain Arnell 2011-08-30 17:42:37 +02:00
parent 798c68b406
commit c7d2f75d83
3 changed files with 62 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Plack-Test-ExternalServer-0.01.tar.gz

View File

@ -0,0 +1,60 @@
Name: perl-Plack-Test-ExternalServer
Version: 0.01
Release: 1%{?dist}
Summary: Run HTTP tests on external live servers
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Plack-Test-ExternalServer/
Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Plack-Test-ExternalServer-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Plack::Loader)
BuildRequires: perl(Plack::Test)
BuildRequires: perl(Test::More) >= 0.89
BuildRequires: perl(Test::TCP)
BuildRequires: perl(URI)
# additional deps for "release" testing
%if !0%{?perl_bootstrap}
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
%endif
Requires: perl(Plack::Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
This module allows you to run your Plack::Test tests against an external
server instead of just against a local application through either mocked
HTTP or a locally spawned server.
%prep
%setup -q -n Plack-Test-ExternalServer-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
RELEASE_TESTING=1 make test
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Aug 29 2011 Iain Arnell <iarnell@gmail.com> 0.01-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
bb0806b4e5bc61064e3736991dd8640c Plack-Test-ExternalServer-0.01.tar.gz