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

Revision 8979, 2.4 KB checked in by inagaki, 8 years ago (diff)

2014-09-27 Ryoichi INAGAKI <ryo1@…>

  • daq, indent, pxz: changed Group


Line 
1Name: daq
2Summary: Data Acquisition Library for packet I/O
3Summary(ja): パケットI/O用データ獲得ライブラリ
4Version: 2.0.2
5Release: 1%{?_dist_release}
6
7License: GPLv2
8Group: System Environment/Libraries
9URL: http://www.snort.org/
10
11Source: https://www.snort.org/downloads/snort/daq-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: autoconf, automake, flex, bison
15BuildRequires: libnetfilter_queue-devel
16BuildRequires: libdnet-devel
17BuildRequires: libpcap-devel >= 1.0.0
18BuildRequires: iptables-devel
19Provides: libdaq = %{version}-%{release}
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%package devel
34Summary: Development files for %{name}
35Summary(ja): %{name} の開発用ファイル
36Group: Development/Libraries
37Requires: %{name}%{?_isa} = %{version}-%{release}
38Provides: libdaq-devel = %{version}-%{release}
39
40%description devel
41The package contains libraries and header files for
42developing applications that use daq.
43
44
45%prep
46%setup -q
47
48
49%build
50%configure
51make
52
53
54%install
55rm -rf %{buildroot}
56make install DESTDIR=%{buildroot}
57
58rm -f %{buildroot}%{_libdir}/*.la
59rm -f %{buildroot}%{_libdir}/daq/*.la
60
61
62%clean
63rm -rf %{buildroot}
64
65
66%post -p /sbin/ldconfig
67
68%postun -p /sbin/ldconfig
69
70
71%files
72%defattr(-,root,root)
73%doc ChangeLog COPYING README
74%{_libdir}/*.so.*
75%dir %{_libdir}/daq
76%{_libdir}/daq/*.so
77
78%files devel
79%defattr(-,root,root)
80%{_bindir}/daq-modules-config
81%{_includedir}/*.h
82%{_libdir}/*.so
83%{_libdir}/*.a
84
85
86%changelog
87* Sat Sep 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.2-1
88- new upstream release
89- changed Group to System Environment/Libraries
90- added devel subpackage
91
92* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.1-1
93- new upstream release
94
95* Sun Mar 18 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-2
96- fix post and postun scripts
97
98* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1
99- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.