%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} Name: perl-libnet Version: 1.19 Release: 1%{?dist} Summary: libnet Perl module License: CHECK(GPL or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/libnet/ Source0: http://www.cpan.org/authors/id/G/GB/GBARR/libnet-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(IO::Socket) >= 1.05 BuildRequires: perl(Socket) >= 1.3 Requires: perl(IO::Socket) >= 1.05 Requires: perl(Socket) >= 1.3 AutoReq: 0 %description libnet is a collection of Perl modules which provides a simple and consistent programming interface (API) to the client side of various protocols used in the internet community. %prep %setup -q -n libnet-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor /dev/null \; %{_fixperms} %{buildroot}/* %check || : make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes Config.eg Configure Hostname.pm.eg install-nomake README %{perl_vendorlib}/* %changelog * Sun Nov 05 2006 Wil Cooley 1.19-1 - Specfile autogenerated by cpanspec 1.69.1.