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

Revision 8191, 1.8 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define version 2.0.1
2
3Summary: Data Acquisition Library
4License: GPLv2
5Group: Libraries/Network
6Name: daq
7Prefix: %{_prefix}
8Provides: daq
9Release: 1%{?_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
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O.  The
26DAQ replaces direct calls to PCAP functions with an abstraction layer that
27facilitates operation on a variety of hardware and software interfaces without
28requiring changes to Snort.  It is possible to select the DAQ type and mode
29when invoking Snort to perform PCAP readback or inline operation, etc.  The
30DAQ library may be useful for other packet processing applications and the
31modular nature allows you to build new modules for other platforms.
32
33
34%prep
35%setup -q
36
37
38%build
39%configure
40make
41
42
43%install
44rm -rf %{buildroot}
45make install DESTDIR=%{buildroot}
46
47rm -f %{buildroot}%{_libdir}/*.la
48rm -f %{buildroot}%{_libdir}/daq/*.la
49
50
51%clean
52rm -rf %{buildroot}
53
54
55%post -p /sbin/ldconfig
56
57
58%postun -p /sbin/ldconfig
59
60
61%files
62%defattr(-,root,root)
63%{_includedir}/*.h
64%{_libdir}/*.so
65%{_libdir}/*.so.*
66%{_libdir}/*.a
67%dir %{_libdir}/daq
68%{_libdir}/daq/*.so
69%{_bindir}/daq-modules-config
70
71
72%changelog
73* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.1-1
74- new upstream release
75
76* Sun Mar 18 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-2
77- fix post and postun scripts
78
79* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1
80- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.