]> git.pld-linux.org Git - packages/perl-Net-Pcap.git/blob - perl-Net-Pcap.spec
- removed all Group fields translations (oure rpm now can handle translating
[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:        3
10 License:        GPL
11 Group:          Development/Languages/Perl
12 Source0:        ftp://ftp.perl.org/pub/CPAN/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 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
36
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38 gzip -9nf README 
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 %{perl_sitearch}/%{pdir}/%{pnam}.pm
47 %{perl_sitearch}/auto/%{pdir}/%{pnam}
48 %{_mandir}/man3/*
49 %doc *.gz
This page took 0.051886 seconds and 3 git commands to generate.