[perl-Net-Pcap-Easy] Initial import (#1166982).
David Dick
ddick at fedoraproject.org
Thu Nov 27 05:56:59 UTC 2014
commit 3966340af12dc2efb517706e57fa245b1f5523ff
Author: David Dick <ddick at cpan.org>
Date: Thu Nov 27 16:56:53 2014 +1100
Initial import (#1166982).
.gitignore | 1 +
perl-Net-Pcap-Easy.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f1de865 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-Pcap-Easy-1.4209.tar.gz
diff --git a/perl-Net-Pcap-Easy.spec b/perl-Net-Pcap-Easy.spec
new file mode 100644
index 0000000..961fae7
--- /dev/null
+++ b/perl-Net-Pcap-Easy.spec
@@ -0,0 +1,60 @@
+Name: perl-Net-Pcap-Easy
+Version: 1.4209
+Release: 1%{?dist}
+Summary: Convenience functions to make Net::Pcap easier to use
+License: ASL 2.0
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Net-Pcap-Easy/
+Source0: http://www.cpan.org/modules/by-module/Net/Net-Pcap-Easy-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(bytes)
+BuildRequires: perl(Carp)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Slurp)
+BuildRequires: perl(Net::Netmask)
+BuildRequires: perl(NetPacket::ARP)
+BuildRequires: perl(NetPacket::Ethernet)
+BuildRequires: perl(NetPacket::ICMP)
+BuildRequires: perl(NetPacket::IGMP)
+BuildRequires: perl(NetPacket::IP)
+BuildRequires: perl(NetPacket::TCP)
+BuildRequires: perl(NetPacket::UDP)
+BuildRequires: perl(Net::Pcap)
+BuildRequires: perl(Socket)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module is little more than a collection of macros and convenience
+functions. Net::Pcap does all the real work (of lifting libpcap into
+perl anyway).
+
+%prep
+%setup -q -n Net-Pcap-Easy-%{version}
+
+%build
+TEST_DEVICE=skip %{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README examples contrib
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Nov 22 2014 David Dick <ddick at cpan.org> - 1.4209-1
+- Initial release
diff --git a/sources b/sources
index e69de29..9861eeb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9feb73a538144beef43bac0e69019d7e Net-Pcap-Easy-1.4209.tar.gz
More information about the scm-commits
mailing list