%define name perl-libnet %define real_name libnet %define version 1.0703 %define prefix %{_prefix} Name: %{name} Version: %{version} Summary: libnet module for perl (Networking_Devices_IPC/Net) Release: 3mdk Copyright: GPL or Artistic Group: Development/Perl Source0: ftp://ftp.pasteur.fr/pub/computing/CPAN/modules/by-module/Net/libnet-%{version}.tar.bz2 Url: http://www.cpan.org BuildArch: noarch Buildroot: %{_tmppath}/%{name}-root Requires: perl >= 5.00503 Patch0: perl-libnet-nointeractive.patch.bz2 %description libnet module for perl %prep %setup -q -n libnet-%{version} %patch0 -p1 %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 README %{_libdir}/perl5/site_perl/*/Net %{_libdir}/perl5/man/*/* %changelog * Tue Aug 29 2000 François Pons <fpons@mandrakesoft.com> 1.0703-3mdk - rename spec file. - added minimal documentation. - macroszifications. - build as noarch. * Wed May 24 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.0703-2mdk - Don't ask interactive questions. * Mon Apr 3 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.0703-1mdk - 1.0703 - fixed group - rebuild with new perl - fixed location * Tue Feb 29 2000 Jean-Michel Dault <jmdault@netrevolution.com> 1.0607-1mdk - upgraded to 1.0607 * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com> - final cleanup for Mandrake 7 * Thu Dec 30 1999 Jean-Michel Dault <jmdault@netrevolution.com> - rebuilt for Mandrake 7 * Sun Aug 29 1999 Jean-Michel Dault <jmdault@netrevolution.com> - bzip2'd sources * Tue May 11 1999 root <root@alien.devel.redhat.com> - Spec file was autogenerated.