1 %include /usr/lib/rpm/macros.perl
5 Summary: Perl binding to the LBL pcap(3) packet capture library
6 Summary(pl): Dowi±zanie perla do biblioteki przechwytywania pakietów LBL pcap(3)
7 Name: perl-%{pdir}-%{pnam}
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5: 3456934b09598122fea6a553cdf42a91
14 BuildRequires: rpm-perlprov >= 4.1-13
15 BuildRequires: perl-devel >= 5.6
16 BuildRequires: libpcap-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The Net::Pcap module is a Perl binding to the LBL pcap(3) packet
24 Modu³ Net::Pcap jest dowi±zaniem perla do biblioteki przechwytywania
28 %setup -q -n %{pdir}-%{pnam}-%{version}
31 %{__perl} Makefile.PL \
36 rm -rf $RPM_BUILD_ROOT
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39 find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %{perl_vendorarch}/%{pdir}/%{pnam}.pm
48 %{perl_vendorarch}/auto/%{pdir}/%{pnam}