1 Summary: Libpcap provides promiscuous mode access to network interfaces
2 Summary(pl): Libpcap pozwala na bezpo¶redni dostêp do interfejsów sieciowych
12 Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
13 Patch0: %{name}-shared.patch
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Libpcap is a system-independent interface for user-level packet
20 capture. Libpcap provides a portable framework for low-level network
21 monitoring. Applications include network statistics collection,
22 security monitoring, network debugging, etc. Libpcap has
23 system-independent API that is used by several applications, including
27 Summary: Header files and develpment documentation for libpcap
28 Summary(pl): Pliki nag³ówkowe i dokumetacja do libpcap
29 Group: Development/Libraries
30 Group(de): Entwicklung/Libraries
31 Group(fr): Development/Librairies
32 Group(pl): Programowanie/Biblioteki
33 Requires: %{name} = %{version}
36 Header files and develpment documentation for libpcap.
38 %description -l pl devel
39 Pliki nag³ówkowe i dokumetacja do libpcap.
42 Summary: Static libpcap library
43 Summary(pl): Biblioteka statyczna libpcap
44 Group: Development/Libraries
45 Group(de): Entwicklung/Libraries
46 Group(fr): Development/Librairies
47 Group(pl): Programowanie/Biblioteki
48 Requires: %{name}-devel = %{version}
51 Static libpcap library.
53 %description -l pl static
54 Biblioteka statyczna libpcap.
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_includedir}/net \
69 $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3}
72 DESTDIR=$RPM_BUILD_ROOT
74 gzip -9nf README CHANGES CREDITS
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %doc {README,CHANGES,CREDITS}.gz
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
91 %{_includedir}/net/*.h
95 %defattr(644,root,root,755)