Группа :: Разработка/Perl
Пакет: perl-Net-Pcap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define dist Net-Pcap
Name: perl-%dist
Version: 0.21
Release: alt1
Summary: Interface to pcap(3) LBL packet capture library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/C/CO/CORION/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Sat Oct 08 2011
BuildRequires: libpcap-devel perl-Test-Exception perl-Test-Pod perl-podlators
%description
Net::Pcap is a Perl binding to the LBL pcap(3) library.
The README for libpcap describes itself as:
"a system-independent interface for user-level packet capture.
libpcap provides a portable framework for low-level network
monitoring. Applications include network statistics collection,
security monitoring, network debugging, etc."
%prep
%setup -q -n %{dist}-%{version}
%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir
%install
%perl_vendor_install
%files
%doc Changes README
%_bindir/pcapinfo
%_man1dir/pcapinfo.1*
%perl_vendor_archlib/Net
%perl_vendor_autolib/Net
%changelog
…
Полный changelog можно просмотреть здесь
%define dist Net-Pcap
Name: perl-%dist
Version: 0.21
Release: alt1
Summary: Interface to pcap(3) LBL packet capture library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/C/CO/CORION/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Sat Oct 08 2011
BuildRequires: libpcap-devel perl-Test-Exception perl-Test-Pod perl-podlators
%description
Net::Pcap is a Perl binding to the LBL pcap(3) library.
The README for libpcap describes itself as:
"a system-independent interface for user-level packet capture.
libpcap provides a portable framework for low-level network
monitoring. Applications include network statistics collection,
security monitoring, network debugging, etc."
%prep
%setup -q -n %{dist}-%{version}
%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir
%install
%perl_vendor_install
%files
%doc Changes README
%_bindir/pcapinfo
%_man1dir/pcapinfo.1*
%perl_vendor_archlib/Net
%perl_vendor_autolib/Net
%changelog
…
Полный changelog можно просмотреть здесь