]> git.pld-linux.org Git - packages/perl-Net-Pcap.git/commitdiff
- 1st release perl-Net-Pcap-0_04-1
authormis <mis@pld-linux.org>
Thu, 15 Nov 2001 09:07:27 +0000 (09:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-Pcap.spec -> 1.1

perl-Net-Pcap.spec [new file with mode: 0644]

diff --git a/perl-Net-Pcap.spec b/perl-Net-Pcap.spec
new file mode 100644 (file)
index 0000000..c31afa6
--- /dev/null
@@ -0,0 +1,46 @@
+%include       /usr/lib/rpm/macros.perl
+%define         pdir Net
+%define         pnam Pcap
+
+Summary:       Perl binding to the LBL pcap(3) packet capture library
+Name:          perl-%{pdir}-%{pnam}
+Version:       0.04
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl >= 5.6
+BuildRequires: libpcap-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Net::Pcap module is a Perl binding to the LBL pcap(3) packet
+capture library.  
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+gzip -9nf README 
+find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitearch}/%{pdir}/%{pnam}.pm
+%{perl_sitearch}/auto/%{pdir}/%{pnam}
+%{_mandir}/man3/*
+%doc *.gz
This page took 0.094884 seconds and 4 git commands to generate.