daq-vl.spec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. %define version 0.6.2
  2. Summary: Data Acquisition Library
  3. License: GPLv2
  4. Group: Libraries/Network
  5. Name: daq
  6. Prefix: %{_prefix}
  7. Provides: daq
  8. Release: 1%{?_dist_release}
  9. Source: daq-%{version}.tar.gz
  10. URL: http://www.snort.org/
  11. Version: %{version}
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: autoconf, automake, flex, bison
  14. BuildRequires: libnetfilter_queue-devel
  15. BuildRequires: libdnet-devel
  16. BuildRequires: libpcap-devel >= 1.0.0
  17. BuildRequires: iptables-devel
  18. %description
  19. Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The
  20. DAQ replaces direct calls to PCAP functions with an abstraction layer that
  21. facilitates operation on a variety of hardware and software interfaces without
  22. requiring changes to Snort. It is possible to select the DAQ type and mode
  23. when invoking Snort to perform PCAP readback or inline operation, etc. The
  24. DAQ library may be useful for other packet processing applications and the
  25. modular nature allows you to build new modules for other platforms.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure
  30. make
  31. %install
  32. rm -rf %{buildroot}
  33. make install DESTDIR=%{buildroot}
  34. rm -f %{buildroot}%{_libdir}/*.la
  35. rm -f %{buildroot}%{_libdir}/daq/*.la
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root)
  40. %{_includedir}/*.h
  41. %{_libdir}/*.so
  42. %{_libdir}/*.so.*
  43. %{_libdir}/*.a
  44. %dir %{_libdir}/daq
  45. %{_libdir}/daq/*.so
  46. %{_bindir}/daq-modules-config
  47. %changelog
  48. * Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1
  49. - initial build for Vine Linux