| 1944 |
richard |
1 |
Name: nfdump
|
|
|
2 |
Version: 1.6.15
|
|
|
3 |
Release: %mkrel 1
|
|
|
4 |
Summary: A set of command-line tools to collect and process netflow data
|
|
|
5 |
License: BSD
|
|
|
6 |
Packager: Richard REY (Rexy)
|
|
|
7 |
Group: Applications/System
|
|
|
8 |
Source: %{name}-%{version}.tar.gz
|
|
|
9 |
BuildRequires: flex
|
|
|
10 |
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
11 |
Prefix: /usr
|
|
|
12 |
Url: http://nfdump.sourceforge.net/
|
|
|
13 |
|
|
|
14 |
%description
|
|
|
15 |
The nfdump tools collect and process netflow data on the command line.
|
|
|
16 |
They are part of the NFSEN project, which is explained more detailed at
|
|
|
17 |
http://www.terena.nl/tech/task-forces/tf-csirt/meeting12/nfsen-Haag.pdf
|
|
|
18 |
|
|
|
19 |
%prep
|
|
|
20 |
rm -rf $RPM_BUILD_ROOT
|
|
|
21 |
|
|
|
22 |
%setup -q
|
|
|
23 |
|
|
|
24 |
%build
|
|
|
25 |
./configure --prefix=$RPM_BUILD_ROOT/%{prefix} --libdir=$RPM_BUILD_ROOT/%{_libdir}
|
|
|
26 |
make
|
|
|
27 |
|
|
|
28 |
%install
|
|
|
29 |
make install
|
|
|
30 |
|
|
|
31 |
%clean
|
|
|
32 |
rm -rf $RPM_BUILD_ROOT
|
|
|
33 |
|
|
|
34 |
%files
|
|
|
35 |
%defattr(-,root,root)
|
|
|
36 |
%doc INSTALL README.md ToDo BSD-license.txt AUTHORS ChangeLog
|
|
|
37 |
%{prefix}/bin/*
|
|
|
38 |
%{prefix}/share/man/man1/*
|
|
|
39 |
%{_libdir}/*
|