|
@@ -1,15 +1,14 @@
|
|
|
-%define version 2.0.1
|
|
|
-
|
|
|
-Summary: Data Acquisition Library
|
|
|
-License: GPLv2
|
|
|
-Group: Libraries/Network
|
|
|
Name: daq
|
|
|
-Prefix: %{_prefix}
|
|
|
-Provides: daq
|
|
|
+Summary: Data Acquisition Library for packet I/O
|
|
|
+Summary(ja): パケットI/O用データ獲得ライブラリ
|
|
|
+Version: 2.0.2
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Source: daq-%{version}.tar.gz
|
|
|
+
|
|
|
+License: GPLv2
|
|
|
+Group: System Environment/Libraries
|
|
|
URL: http://www.snort.org/
|
|
|
-Version: %{version}
|
|
|
+
|
|
|
+Source: https://www.snort.org/downloads/snort/daq-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: autoconf, automake, flex, bison
|
|
@@ -17,6 +16,7 @@ BuildRequires: libnetfilter_queue-devel
|
|
|
BuildRequires: libdnet-devel
|
|
|
BuildRequires: libpcap-devel >= 1.0.0
|
|
|
BuildRequires: iptables-devel
|
|
|
+Provides: libdaq = %{version}-%{release}
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -30,6 +30,17 @@ when invoking Snort to perform PCAP readback or inline operation, etc. The
|
|
|
DAQ library may be useful for other packet processing applications and the
|
|
|
modular nature allows you to build new modules for other platforms.
|
|
|
|
|
|
+%package devel
|
|
|
+Summary: Development files for %{name}
|
|
|
+Summary(ja): %{name} の開発用ファイル
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
+Provides: libdaq-devel = %{version}-%{release}
|
|
|
+
|
|
|
+%description devel
|
|
|
+The package contains libraries and header files for
|
|
|
+developing applications that use daq.
|
|
|
+
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
@@ -54,22 +65,30 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
-
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%{_includedir}/*.h
|
|
|
-%{_libdir}/*.so
|
|
|
+%doc ChangeLog COPYING README
|
|
|
%{_libdir}/*.so.*
|
|
|
-%{_libdir}/*.a
|
|
|
%dir %{_libdir}/daq
|
|
|
%{_libdir}/daq/*.so
|
|
|
+
|
|
|
+%files devel
|
|
|
+%defattr(-,root,root)
|
|
|
%{_bindir}/daq-modules-config
|
|
|
+%{_includedir}/*.h
|
|
|
+%{_libdir}/*.so
|
|
|
+%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Sep 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.2-1
|
|
|
+- new upstream release
|
|
|
+- changed Group to System Environment/Libraries
|
|
|
+- added devel subpackage
|
|
|
+
|
|
|
* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.1-1
|
|
|
- new upstream release
|
|
|
|