6118b9d
Name:           perl-Danga-Socket
a7e595e
Version:        1.61
0b175ca
Release:        3%{?dist}
6118b9d
Summary:        Event loop and event-driven async socket base class
06840a4
License:        GPL+ or Artistic
6118b9d
Group:          Development/Libraries
6118b9d
URL:            http://search.cpan.org/dist/Danga-Socket/
6118b9d
Source0:        http://www.cpan.org/modules/by-module/Danga/Danga-Socket-%{version}.tar.gz
6118b9d
BuildArch:      noarch
6118b9d
6118b9d
BuildRequires:  perl(ExtUtils::MakeMaker) perl(Test::More) perl(Sys::Syscall)
6118b9d
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
6118b9d
6118b9d
%description
6118b9d
This is an abstract base class for objects backed by a socket which
6118b9d
provides the basic framework for event-driven asynchronous IO, designed to
6118b9d
be fast. Danga::Socket is both a base class for objects, and an event loop.
6118b9d
6118b9d
%prep
6118b9d
%setup -q -n Danga-Socket-%{version}
6118b9d
6118b9d
%build
6118b9d
%{__perl} Makefile.PL INSTALLDIRS=vendor
6118b9d
make %{?_smp_mflags}
6118b9d
6118b9d
%install
6118b9d
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
6118b9d
6118b9d
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
6118b9d
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
6118b9d
6118b9d
%{_fixperms} $RPM_BUILD_ROOT/*
6118b9d
6118b9d
%check
6118b9d
make test
6118b9d
6118b9d
%files
6118b9d
%defattr(-,root,root,-)
6118b9d
%doc CHANGES examples/
a7e595e
%{perl_vendorlib}/Danga
a7e595e
%{_mandir}/man3/Danga::Socket.*
6118b9d
6118b9d
%changelog
0b175ca
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.61-3
0b175ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0b175ca
cf36ac3
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.61-2
cf36ac3
- 661697 rebuild for fixing problems with vendorach/lib
cf36ac3
a7e595e
* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.61-1
a7e595e
- Upstream released new version
a7e595e
7038625
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.58-5
7038625
- Mass rebuild with perl-5.12.0
7038625
9eafe95
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.58-4
9eafe95
- rebuild against perl 5.10.1
9eafe95
67f6aeb
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.58-3
67f6aeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
67f6aeb
1219433
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.58-2
1219433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1219433
39a01f7
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.58-1
39a01f7
- 1.58
39a01f7
06840a4
* Thu Feb 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.57-3
06840a4
- rebuild for new perl
06840a4
6118b9d
* Wed May 07 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.57-2
6118b9d
- Include examples in %%doc
6118b9d
* Mon May 07 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.57-1
6118b9d
- Initial import