Sophie

Sophie

distrib > Mandriva > 7.2 > i586 > by-pkgid > 0e8823baca1b793adbe9555ade4bb81b > files > 2

perl-Net-XWhois-0.72-1mdk.src.rpm

%define name perl-Net-XWhois
%define real_name Net-XWhois
%define version 0.72
%define prefix %{_prefix}

Name: %{name}
Version: %{version}
Summary: xtensible client framework for doing Whois queries and parsing server response
Release: 1mdk
Copyright: GPL or Artistic
Group: Development/Perl
Source: %{real_name}-%{version}.tar.bz2
Url: http://www.cpan.org
BuildArch: noarch
Buildroot: %{_tmppath}/%{name}-root
Requires: perl >= 5.00503

%description
The Net::XWhois class provides an extensible client framework for doing Whois queries and
parsing server response. The class maintains an array of whois servers and associated lists of top
level domains for transparently selecting servers appropriate for different queries. Supports
response caching and comes with a drop-in replacement for the whois program. 

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

%build
%{__perl} Makefile.PL
%make
%make test

%clean 
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix}

%files
%defattr(-,root,root)
%doc TODO ARTISTIC contribs/*
%{_libdir}/perl5/site_perl/*/Net
%{_libdir}/perl5/man/*/*

%changelog
* Mon Sep 25 2000 Florin Grad <florin@mandrakesoft.com> 0.72-1mdk
- first attempt