source: projects/specs/trunk/d/daq/daq-vl.spec @ 5921

Revision 5921, 1.6 KB checked in by shaolin, 12 years ago (diff)
  • daq: minor fix
Line 
1%define version 0.6.2
2
3Summary: Data Acquisition Library
4License: GPLv2
5Group: Libraries/Network
6Name: daq
7Prefix: %{_prefix}
8Provides: daq
9Release: 2%{?_dist_release}
10Source: daq-%{version}.tar.gz
11URL: http://www.snort.org/
12Version: %{version}
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: autoconf, automake, flex, bison
16BuildRequires: libnetfilter_queue-devel
17BuildRequires: libdnet-devel
18BuildRequires: libpcap-devel >= 1.0.0
19BuildRequires: iptables-devel
20
21%description
22Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O.  The
23DAQ replaces direct calls to PCAP functions with an abstraction layer that
24facilitates operation on a variety of hardware and software interfaces without
25requiring changes to Snort.  It is possible to select the DAQ type and mode
26when invoking Snort to perform PCAP readback or inline operation, etc.  The
27DAQ library may be useful for other packet processing applications and the
28modular nature allows you to build new modules for other platforms.
29
30
31%prep
32%setup -q
33
34
35%build
36%configure
37make
38
39
40%install
41rm -rf %{buildroot}
42make install DESTDIR=%{buildroot}
43
44rm -f %{buildroot}%{_libdir}/*.la
45rm -f %{buildroot}%{_libdir}/daq/*.la
46
47
48%clean
49rm -rf %{buildroot}
50
51
52%post -p /sbin/ldconfig
53
54
55%postun -p /sbin/ldconfig
56
57
58%files
59%defattr(-,root,root)
60%{_includedir}/*.h
61%{_libdir}/*.so
62%{_libdir}/*.so.*
63%{_libdir}/*.a
64%dir %{_libdir}/daq
65%{_libdir}/daq/*.so
66%{_bindir}/daq-modules-config
67
68
69%changelog
70* Sun Mar 18 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-2
71- fix post and postun scripts
72
73* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1
74- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.