# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Gearman
%define pnam Client-Async
+%include /usr/lib/rpm/macros.perl
Summary: Gearman::Client::Async - Asynchronous client module for Gearman for Danga::Socket applications
-#Summary(pl.UTF-8):
Name: perl-Gearman-Client-Async
Version: 0.94
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-authors/id/B/BR/BRADFITZ/Gearman-Client-Async-0.94.tar.gz
+Source0: http://www.cpan.org/modules/by-authors/id/B/BR/BRADFITZ/Gearman-Client-Async-%{version}.tar.gz
# Source0-md5: 71dcadfb434202dbdf4798f2ec93b32f
-# generic URL, check or change before uncommenting
-#URL: http://search.cpan.org/dist/Gearman-Client-Async/
+URL: http://search.cpan.org/dist/Gearman-Client-Async/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with autodeps} || %{with tests}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-
-
-# %description -l pl.UTF-8
-# TODO
+Asynchronous client module for Gearman for Danga::Socket applications.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}