#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
+
%define pdir Plack
%define pnam Test-ExternalServer
%include /usr/lib/rpm/macros.perl
Summary: Plack::Test::ExternalServer - Run HTTP tests on external live servers
-#Summary(pl.UTF-8):
Name: perl-Plack-Test-ExternalServer
Version: 0.01
Release: 1
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Plack/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: bb0806b4e5bc61064e3736991dd8640c
-# generic URL, check or change before uncommenting
-#URL: http://search.cpan.org/dist/Plack-Test-ExternalServer/
+URL: http://search.cpan.org/dist/Plack-Test-ExternalServer/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-HTTP-Message
-BuildRequires: perl-libwww
BuildRequires: perl-Plack
BuildRequires: perl-Test-TCP
BuildRequires: perl-URI
+BuildRequires: perl-libwww
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
external server instead of just against a local application through
either mocked HTTP or a locally spawned server.
-# %description -l pl.UTF-8
-# TODO
-
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}