[packages/daq] - up to 2.0.6

baggins baggins at pld-linux.org
Sun Apr 10 14:59:14 CEST 2016


commit 22fa44a29d264f4dc399845aa0cef7a3c8f0cec5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 10 21:58:52 2016 +0900

    - up to 2.0.6

 daq.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 48 insertions(+), 16 deletions(-)
---
diff --git a/daq.spec b/daq.spec
index abdf571..2989c30 100644
--- a/daq.spec
+++ b/daq.spec
@@ -1,15 +1,12 @@
-
 Summary:	Data Acquisition Library
 Name:		daq
-Version:	1.1.1
+Version:	2.0.6
 Release:	1
 License:	GNU General Public License
 Group:		Networking
-Source0:	http://www.snort.org/dl/snort-current/%{name}-%{version}.tar.gz
-# Source0-md5:	bc204ea09165b4ecbb1bb49c7c1a2ad4
+Source0:	https://www.snort.org/downloads/snort/%{name}-%{version}.tar.gz
+# Source0-md5:	2cd6da422a72c129c685fc4bb848c24c
 URL:		http://www.snort.org/
-BuildRequires:	autoconf
-BuildRequires:	automake
 BuildRequires:	bison
 BuildRequires:	flex
 BuildRequires:	libdnet-devel
@@ -20,19 +17,38 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Data Acquisition library for Snort.
 
+%package devel
+Summary:	Header files for %{name} library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{name} library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki %{name}.
+
+%package static
+Summary:	Static %{name} library
+Summary(pl.UTF-8):	Statyczna biblioteka %{name}
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static %{name} library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka %{name}.
+
 %prep
 %setup -q
 
 %build
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__automake}
-
 %configure \
 	--enable-ipv6
 
-%{__make}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,9 +70,25 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%dir %{_libdir}/daq
+%{_libdir}/daq/daq_*.so
+%attr(755,root,root) %ghost %{_libdir}/libdaq.so.2
+%attr(755,root,root) %{_libdir}/libdaq.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsfbpf.so.0
+%attr(755,root,root) %{_libdir}/libsfbpf.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
 %{_includedir}/*.h
-%{_libdir}/daq
-%attr(755,root,root) %{_libdir}/lib*.so*
-%{_libdir}/lib*.a
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libdaq.so
+%attr(755,root,root) %{_libdir}/libsfbpf.so
+%{_libdir}/libdaq.la
+%{_libdir}/libsfbpf.la
 %attr(755,root,root) %{_bindir}/daq-modules-config
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libdaq.a
+%{_libdir}/libdaq_static.a
+%{_libdir}/libdaq_static_modules.a
+%{_libdir}/libsfbpf.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/daq.git/commitdiff/22fa44a29d264f4dc399845aa0cef7a3c8f0cec5



More information about the pld-cvs-commit mailing list