forked from pool/perl-Net-Pcap
Accepting request 1037695 from home:pmonrealgonzalez:branches:devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1037695 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Pcap?expand=0&rev=19
This commit is contained in:
@@ -44,6 +44,24 @@ like kernel-level packet filtering and access to internal statistics.
|
||||
Common applications include network statistics collection, security
|
||||
monitoring, network debugging, etc.
|
||||
|
||||
%package -n pcapdump
|
||||
Summary: Dump packets from the network
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n pcapdump
|
||||
Command line tool to dump packets from the network.
|
||||
|
||||
pcapdump mimics the very basic features of tcpdump(1) and provides a good
|
||||
example of how to use Net::Pcap.
|
||||
|
||||
%package -n pcapinfo
|
||||
Summary: Prints detailed information about the network devices
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n pcapinfo
|
||||
pcapinfo prints detailed information about the network devices and Pcap library
|
||||
available on the current host.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
@@ -69,24 +87,6 @@ install -D -m0755 eg/pcapdump "%{buildroot}%{_bindir}/pcapdump"
|
||||
%exclude %{_bindir}/pcapdump
|
||||
%exclude %{_mandir}/man1/pcapinfo.1%{?ext_man}
|
||||
|
||||
%package -n pcapdump
|
||||
Summary: Dump packets from the network
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n pcapdump
|
||||
Command line tool to dump packets from the network.
|
||||
|
||||
pcapdump mimics the very basic features of tcpdump(1) and provides a good
|
||||
example of how to use Net::Pcap.
|
||||
|
||||
%package -n pcapinfo
|
||||
Summary: Prints detailed information about the network devices
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n pcapinfo
|
||||
pcapinfo prints detailed information about the network devices and Pcap library
|
||||
available on the current host.
|
||||
|
||||
%files -n pcapdump
|
||||
%{_bindir}/pcapdump
|
||||
|
||||
|
||||
Reference in New Issue
Block a user