]> git.pld-linux.org Git - packages/perl-Net-Pcap.git/blob - perl-Net-Pcap.spec
98d9da4d1c5561eeb194ba88d588704812d21555
[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:        5
10 License:        GPL
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)
18
19 %description
20 The Net::Pcap module is a Perl binding to the LBL pcap(3) packet
21 capture library.
22
23 %description -l pl
24 Modu³ Net::Pcap jest dowi±zaniem perla do biblioteki przechwytywania
25 pakietów LBL pcap(3).
26
27 %prep
28 %setup -q -n %{pdir}-%{pnam}-%{version}
29
30 %build
31 %{__perl} Makefile.PL \
32         INSTALLDIRS=vendor 
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39 find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %{perl_vendorarch}/%{pdir}/%{pnam}.pm
48 %{perl_vendorarch}/auto/%{pdir}/%{pnam}
49 %{_mandir}/man3/*
This page took 0.097157 seconds and 2 git commands to generate.