1 Summary: Libpcap provides promiscuous mode access to network interfaces
2 Summary(pl): Libpcap pozwala na bezpo¶redni dostêp do interfejsów sieciowych
11 Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
12 Patch0: %{name}-shared.patch
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Libpcap is a system-independent interface for user-level packet
19 capture. Libpcap provides a portable framework for low-level network
20 monitoring. Applications include network statistics collection,
21 security monitoring, network debugging, etc. Libpcap has
22 system-independent API that is used by several applications, including
26 Summary: Header files and develpment documentation for libpcap
27 Summary(pl): Pliki nag³ówkowe i dokumetacja do libpcap
28 Group: Development/Libraries
29 Group(pl): Programowanie/Biblioteki
30 Group(fr): Development/Librairies
31 Requires: %{name} = %{version}
34 Header files and develpment documentation for libpcap.
36 %description -l pl devel
37 Pliki nag³ówkowe i dokumetacja do libpcap.
40 Summary: Static libpcap library
41 Summary(pl): Biblioteka statyczna libpcap
42 Group: Development/Libraries
43 Group(pl): Programowanie/Biblioteki
44 Group(fr): Development/Librairies
45 Requires: %{name}-devel = %{version}
48 Static libpcap library.
50 %description -l pl static
51 Biblioteka statyczna libpcap.
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_includedir}/net \
66 $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3}
69 DESTDIR=$RPM_BUILD_ROOT \
72 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
73 README CHANGES CREDITS
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
83 %doc {README,CHANGES,CREDITS}.gz
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
90 %{_includedir}/net/*.h
94 %defattr(644,root,root,755)