Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 3b63a3794f09cbd21f2900260bf65f7c > files > 2

perl-Danga-Socket-1.59-2mdv2009.0.src.rpm

%define module  Danga-Socket
%define name    perl-%{module}
%define version 1.59
%define release %mkrel 2

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        Event loop and event-driven async socket base class
License:        GPL and Artistic
Group:          Development/Perl
URL:            http://search.cpan.org/dist/%{module}
Source:         http://www.cpan.org/modules/by-module/Danga/%{module}-%{version}.tar.bz2
%if %{mdkversion} < 1010
BuildRequires:  perl-devel
%endif
BuildRequires:  perl(Sys::Syscall)
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}

%description
This is an abstract base class for objects backed by a socket which provides 
the basic framework for event-driven asynchronous IO, designed to be fast. 
Danga::Socket is both a base class for objects, and an event loop.

Callers subclass Danga::Socket. Danga::Socket's constructor registers itself 
with the Danga::Socket event loop, and invokes callbacks on the object for 
readability, writability, errors, and other conditions.
Because Danga::Socket uses the "fields" module, your subclasses must too.

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

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGES
%{perl_vendorlib}/Danga
%{_mandir}/man3/*



%changelog
* Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.59-2mdv2009.0
+ Revision: 268407
- rebuild early 2009.0 package (before pixel changes)

* Wed Apr 16 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.59-1mdv2009.0
+ Revision: 194843
- update to new version 1.59
- update to new version 1.59

* Tue Jan 22 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.58-1mdv2008.1
+ Revision: 156175
- update to new version 1.58

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 1.57-1mdv2008.0
+ Revision: 19826
- 1.57


* Mon Aug 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.53-1mdv2007.0
- new version
- fix sources URL

* Wed Aug 02 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.52-1mdv2007.0
- New version 1.52
- fix directory ownership

* Sun Apr 30 2006 Michael Scherer <misc@mandriva.org> 1.51-1mdk
- New release 1.51

* Wed Apr 19 2006 Michael Scherer <misc@mandriva.org> 1.50-1mdk
- First Mandriva package