Name: perl-NetPacket-LLC Version: 0.01 Release: 2%{?dist} Summary: Assemble and disassemble IEEE 802.3 LLC protocol packets License: Artistic clarified Group: Development/Libraries URL: http://search.cpan.org/dist/NetPacket-LLC/ Source0: http://www.cpan.org/authors/id/C/CG/CGANESAN/NetPacket-LLC-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(NetPacket::Ethernet) >= 0.04 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description NetPacket::LLC provides a set of routines for assembling and disassembling packets using the IEEE standard LLC protocol layer. %prep %setup -q -n NetPacket-LLC-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jan 11 2011 Jan Klepek - 0.01-2 - fixed license * Mon Mar 15 2010 Jan Klepek 0.01-1 - Specfile autogenerated by cpanspec 1.78.