]>
Commit | Line | Data |
---|---|---|
bbe3aad6 | 1 | |
2 | Summary: Data Acquisition Library | |
3 | Name: daq | |
83cba9f0 | 4 | Version: 0.6.2 |
bbe3aad6 | 5 | Release: 1 |
6 | License: GNU General Public License | |
7 | Group: Networking | |
38b705f0 | 8 | Source0: http://www.snort.org/dl/snort-current/%{name}-%{version}.tar.gz |
83cba9f0 | 9 | # Source0-md5: 6ea8aaa6f067f8b8ef6de45b95d55875 |
bbe3aad6 | 10 | URL: http://www.snort.org/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
bbe3aad6 | 13 | BuildRequires: bison |
38b705f0 | 14 | BuildRequires: flex |
bbe3aad6 | 15 | BuildRequires: libdnet-devel |
16 | BuildRequires: libnetfilter_queue-devel | |
38b705f0 | 17 | BuildRequires: libpcap-devel >= 1.0.0 |
bbe3aad6 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Data Acquisition library for Snort. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %{__libtoolize} | |
28 | %{__aclocal} -I m4 | |
29 | %{__autoconf} | |
30 | %{__automake} | |
31 | ||
32 | %configure \ | |
33 | --enable-ipv6 | |
34 | ||
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %pre | |
46 | ||
47 | %post | |
48 | /sbin/ldconfig | |
49 | ||
50 | %preun | |
51 | ||
52 | %postun | |
53 | /sbin/ldconfig | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %{_includedir}/*.h | |
58 | %{_libdir}/daq | |
38b705f0 | 59 | %attr(755,root,root) %{_libdir}/lib*.so* |
bbe3aad6 | 60 | %{_libdir}/lib*.a |
61 | %{_libdir}/lib*.la | |
62 | %attr(755,root,root) %{_bindir}/daq-modules-config |