Package perl-NetPacket: Specfile

%define _unpackaged_files_terminate_build 1
%define dist NetPacket

Name: perl-%dist
Version: 1.7.0
Release: alt1

Summary: A cluster of modules related to decoding and encoding of network protocols.
License: %artistic_license_v2
Group: Development/Perl

Url: %CPAN %dist

Patch1: NetPacket-IPv6.diff

BuildArch: noarch

BuildPreReq: /proc rpm-build-licenses

# Automatically added by buildreq on Sat Jan 15 2011
BuildRequires: perl-Module-Build

NetPacket provides a base class for a cluster of modules related to
decoding and encoding of network protocols. Each NetPacket descendent
module knows how to encode and decode packets for the network protocol
it implements. Consult the documentation for the module in question
for protocol-specific implementation.

%package -n perl-NetPacket-IPv6
Summary: IPv6 modules (v0.020) for NetPacket
Group: Development/Perl
License: %bsd

%description -n perl-NetPacket-IPv6
perl-NetPacket-IPv6 contain IPv6 modules for perl-NetPacket
( and OpenBSD Packet Filter Module (
included also becouse it is a part of original netpacket.diff.
Version of modules 0.020

%setup -q -n %{dist}-%{version}

%patch1 -p1
%patch2 -p1




%exclude %perl_vendor_privlib/NetPacket/
%exclude %perl_vendor_privlib/NetPacket/
%exclude %perl_vendor_privlib/NetPacket/

%files -n perl-NetPacket-IPv6

* Mon Dec 31 2018 Igor Vlasenko <> 1.7.0-alt1
- automated CPAN update

* Wed Apr 01 2015 Igor Vlasenko <> 1.6.0-alt1
- automated CPAN update

* Mon Jun 16 2014 Igor Vlasenko <> 1.5.0-alt1
- automated CPAN update

* Mon Dec 02 2013 Igor Vlasenko <> 1.4.4-alt1
- automated CPAN update

* Fri Sep 27 2013 Igor Vlasenko <> 1.4.2-alt1
- automated CPAN update

* Tue Sep 24 2013 Igor Vlasenko <> 1.4.1-alt1
- automated CPAN update

* Sat Jul 27 2013 Igor Vlasenko <> 1.3.3-alt1
- automated CPAN update

* Wed Oct 17 2012 Igor Vlasenko <> 1.3.1-alt1
- automated CPAN update

* Sun Sep 25 2011 Igor Vlasenko <> 1.2.0-alt1
- automated CPAN update

* Tue Mar 01 2011 Sergey Y. Afonin <> 1.1.1-alt1
- New wersion
- removed (fixed in new version)

* Tue Mar 01 2011 Sergey Y. Afonin <> 1.1.0-alt4
- rewrote in new style of NetPacket (object oriented)

* Tue Feb 15 2011 Sergey Y. Afonin <> 1.1.0-alt3
- added

* Mon Feb 07 2011 Sergey Y. Afonin <> 1.1.0-alt2
- fixed export of new variables in

* Sat Jan 15 2011 Sergey Y. Afonin <> 1.1.0-alt1
- Initial build for ALTLinux
- added netpacket.diff:
  Some parts removed, file remamed to NetPacket-IPv6.diff.
  Warning: perl-NetPacket and perl-NetPacket-IPv6 have different licenses.