File perl-Gearman-Client-Async.spec of Package perl-Gearman-Client-Async

#
# spec file for package perl-Gearman-Client-Async (Version 0.94)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%define tarname       Gearman-Client-Async

Name:           perl-%{tarname} 
Version:        0.94
Release:        0
Requires:       perl = %{perl_version}
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
URL:            http://www.danga.com/gearman/
Summary:        Asynchronous client module for Gearman for Danga::Socket applications
Source:         %{tarname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  perl(Test::Simple) >= 0.44
BuildRequires:  perl(Danga::Socket) >= 1.52
BuildRequires:  perl(Gearman::Client)
BuildRequires:  perl-Gearman >= 1.05
# For tests
BuildRequires:	perl(Gearman::Server)
Requires:  perl(Test::Simple) >= 0.44
Requires:  perl(Danga::Socket) >= 1.52
Requires:  perl(Gearman::Client)
Requires:  perl-Gearman >= 1.05

%description
Asynchronous client module for Gearman for Danga::Socket applications

Authors:
--------
    Brad Fitzpatrick <brad@danga.com> 
    Jonathan Steinert <hachi@cpan.org>

%prep
%setup -q -n %{tarname}-%{version}

%build
perl Makefile.PL
make
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc CHANGES TODO
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Gearman/*
%{perl_vendorarch}/auto/Gearman/*
/var/adm/perl-modules/*

%changelog
* Sun Aug  3 2008 pzb@novell.com
- New package

openSUSE Build Service is sponsored by