]> git.pld-linux.org Git - packages/perl-Net-Pcap.git/blob - perl-Net-Pcap.spec
- massive attack: change CPAN URLs
[packages/perl-Net-Pcap.git] / perl-Net-Pcap.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir Net
3 %define         pnam Pcap
4
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}
8 Version:        0.04
9 Release:        4
10 License:        GPL
11 Group:          Development/Languages/Perl
12 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRequires:  perl >= 5.6
15 BuildRequires:  libpcap-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The Net::Pcap module is a Perl binding to the LBL pcap(3) packet
20 capture library.
21
22 %description -l pl
23 Modu³ Net::Pcap jest dowi±zaniem perla do biblioteki przechwytywania
24 pakietów LBL pcap(3).
25
26 %prep
27 %setup -q -n %{pdir}-%{pnam}-%{version}
28
29 %build
30 perl Makefile.PL
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37 find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README
45 %{perl_sitearch}/%{pdir}/%{pnam}.pm
46 %{perl_sitearch}/auto/%{pdir}/%{pnam}
47 %{_mandir}/man3/*
This page took 0.048786 seconds and 3 git commands to generate.