[perl-NetPacket-LLC] Initial import #573918

Jan Klepek hpejakle at fedoraproject.org
Mon Mar 7 17:52:29 UTC 2011


commit 5a7247184a92bedc65dfa6ad2c59508d54fd1e35
Author: Jan Klepek <jan.klepek at gmail.com>
Date:   Mon Mar 7 18:52:23 2011 +0100

    Initial import #573918

 .gitignore              |    1 +
 perl-NetPacket-LLC.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4dabafc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/NetPacket-LLC-0.01.tar.gz
diff --git a/perl-NetPacket-LLC.spec b/perl-NetPacket-LLC.spec
new file mode 100644
index 0000000..d1f46d3
--- /dev/null
+++ b/perl-NetPacket-LLC.spec
@@ -0,0 +1,55 @@
+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 <jan.klepek at, gmail.com> - 0.01-2
+- fixed license
+
+* Mon Mar 15 2010 Jan Klepek <jan.klepek at, gmail.com> 0.01-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a7a2a5a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0a0cc97648a655da5b7a825760c1d78f  NetPacket-LLC-0.01.tar.gz



More information about the perl-devel mailing list