Name: libdaq Version: 0.5 Release: 1mamba Summary: Data Acquisition library Group: Network/Monitoring Vendor: openmamba Distribution: openmamba Packager: Tiziana Ferro URL: http://www.snort.org # 0.5: no direct link working; downloaded by hand Source: http://dl.snort.org/snort-current/daq-%{version}.tar.gz License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpcap-devel ## AUTOBUILDREQ-END %description DAQ replaces direct calls to PCAP functions with an abstraction layer that facilitates operation on a variety of hardware and software interfaces without requiring changes to Snort. It is possible to select the DAQ type and mode when invoking Snort to perform PCAP readback or inline operation, etc. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version} %description devel DAQ replaces direct calls to PCAP functions with an abstraction layer that facilitates operation on a variety of hardware and software interfaces without requiring changes to Snort. This package contains static libraries and header files need for development. %prep %setup -q -n daq-%{version} %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %doc README %files devel %defattr(-,root,root) %{_bindir}/daq-modules-config %{_includedir}/daq*.h %{_includedir}/sfbpf*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/daq/*.la %{_libdir}/daq/*.so %changelog * Mon Mar 07 2011 Tiziana Ferro 0.5-1mamba - package created by autospec