Package perl-NetPacket: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | %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 Source0: http://www.cpan.org/authors/id/Y/YA/YANICK/%{dist}-%{version}.tar.gz Patch1: NetPacket-IPv6.diff Patch2: NetPacket-1.1.0-LinuxSLL.pm.patch BuildArch: noarch BuildPreReq: /proc rpm-build-licenses # Automatically added by buildreq on Sat Jan 15 2011 BuildRequires: perl-Module-Build %description 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 Url: http://www.packetmischief.ca/code/netpacket/ %description -n perl-NetPacket-IPv6 perl-NetPacket-IPv6 contain IPv6 modules for perl-NetPacket (ICMPv6.pm and IPv6.pm). OpenBSD Packet Filter Module (PFLog.pm) included also becouse it is a part of original netpacket.diff. Version of modules 0.020 %prep %setup -q -n %{dist}-%{version} %patch1 -p1 %patch2 -p1 cat >>MANIFEST <<EOF lib/NetPacket/PFLog.pm EOF %build %perl_vendor_build %install %perl_vendor_install %files %doc README Changes CODE_OF_CONDUCT.md CONTRIBUTORS README.mkdn %exclude %perl_vendor_privlib/NetPacket/ICMPv6.pm %exclude %perl_vendor_privlib/NetPacket/IPv6.pm %exclude %perl_vendor_privlib/NetPacket/PFLog.pm %perl_vendor_privlib/NetPacket* %files -n perl-NetPacket-IPv6 %perl_vendor_privlib/NetPacket/ICMPv6.pm %perl_vendor_privlib/NetPacket/IPv6.pm %perl_vendor_privlib/NetPacket/PFLog.pm %changelog * Mon Dec 31 2018 Igor Vlasenko <viy@altlinux.ru> 1.7.0-alt1 - automated CPAN update * Wed Apr 01 2015 Igor Vlasenko <viy@altlinux.ru> 1.6.0-alt1 - automated CPAN update * Mon Jun 16 2014 Igor Vlasenko <viy@altlinux.ru> 1.5.0-alt1 - automated CPAN update * Mon Dec 02 2013 Igor Vlasenko <viy@altlinux.ru> 1.4.4-alt1 - automated CPAN update * Fri Sep 27 2013 Igor Vlasenko <viy@altlinux.ru> 1.4.2-alt1 - automated CPAN update * Tue Sep 24 2013 Igor Vlasenko <viy@altlinux.ru> 1.4.1-alt1 - automated CPAN update * Sat Jul 27 2013 Igor Vlasenko <viy@altlinux.ru> 1.3.3-alt1 - automated CPAN update * Wed Oct 17 2012 Igor Vlasenko <viy@altlinux.ru> 1.3.1-alt1 - automated CPAN update * Sun Sep 25 2011 Igor Vlasenko <viy@altlinux.ru> 1.2.0-alt1 - automated CPAN update * Tue Mar 01 2011 Sergey Y. Afonin <asy@altlinux.ru> 1.1.1-alt1 - New wersion - removed Ethernet.pm.patch (fixed in new version) * Tue Mar 01 2011 Sergey Y. Afonin <asy@altlinux.ru> 1.1.0-alt4 - rewrote LinuxSLL.pm in new style of NetPacket (object oriented) * Tue Feb 15 2011 Sergey Y. Afonin <asy@altlinux.ru> 1.1.0-alt3 - added LinuxSLL.pm * Mon Feb 07 2011 Sergey Y. Afonin <asy@altlinux.ru> 1.1.0-alt2 - fixed export of new variables in Ethernet.pm * Sat Jan 15 2011 Sergey Y. Afonin <asy@altlinux.ru> 1.1.0-alt1 - Initial build for ALTLinux - added netpacket.diff: http://www.packetmischief.ca/code/netpacket/ Some parts removed, file remamed to NetPacket-IPv6.diff. Warning: perl-NetPacket and perl-NetPacket-IPv6 have different licenses. |