Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > a841bb3a92db7b470cca3d0067d3166e > files > 2

perl-INET6-2.01-1mdk.src.rpm

%define module	INET6
%define version	2.01
%define release	1mdk

Summary:	Object interface for AF_INET|AF_INET6 domain sockets
Name:		perl-%{module}
Version:	%{version}
Release:	%{release}
License:	BSD-like
Group:		Development/Perl
Source0:	%{module}-%{version}.tar.bz2
URL:		http://www.cpan.org/
BuildRequires:	perl-Socket6
BuildRequires:	perl-devel
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
IO::Socket::INET6 provides an object interface to creating and
using sockets in both AF_INET|AF_INET6 domain. It is built upon
the IO::Socket interface and inherits all the methods defined by
IO::Socket.

%prep

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

%build

%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

# make test hangs at "t/io_sock6..........ok 11/20"
# maybe it works as root?
# make test

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%makeinstall_std

%clean 
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog README
%{perl_vendorlib}/IO/Socket/INET6.pm
%{_mandir}/man3/*

%changelog
* Thu Aug 26 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.17-1mdk
- initial mandrake package