1 Summary: Libpcap provides promiscuous mode access to network interfaces
2 Summary(pl): Libpcap pozwala na bezpo¶redni dostêp do interfejsów sieciowych
6 Group: Applications/Networking
7 Group(pl): Aplikacje/Sieciowe
10 Source: ftp://ftp.ee.lbl.gov/%{name}-%{version}.tar.Z
11 Patch0: ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/libpcap-0.4-ss990417.dif.gz
12 Patch1: libpcap-Makefile.patch
13 BuildRoot: /tmp/%{name}-%{version}-root
16 Libpcap is a system-independent interface for user-level packet capture.
17 Libpcap provides a portable framework for low-level network monitoring.
18 Applications include network statistics collection, security monitoring,
19 network debugging, etc. Libpcap has system-independent API that is used
20 by several applications, including tcpdump and arpwatch.
28 LDFLAGS="-s"; export LDFLAGS
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_includedir}/net \
35 $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3}
37 make install install-man install-incl \
38 DESTDIR=$RPM_BUILD_ROOT \
39 INCLDEST=%{_includedir} \
41 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc {README,CHANGES}.gz