Subversion Repositories ALCASAR

Rev

Rev 1944 | Blame | Last modification | View Log

Name:           nfdump
Version:        1.6.15
Release:        %mkrel 1
Summary:        A set of command-line tools to collect and process netflow data
License:        BSD
Packager:       Richard REY (Rexy)
Group:          Applications/System
Source:         %{name}-%{version}.tar.gz
BuildRequires:  flex
BuildRoot:      %{_tmppath}/%{name}-root
Prefix:         /usr
Url:            http://nfdump.sourceforge.net/

%description
The nfdump tools collect and process netflow data on the command line.
They are part of the NFSEN project, which is explained more detailed at
http://www.terena.nl/tech/task-forces/tf-csirt/meeting12/nfsen-Haag.pdf

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%build
./configure --enable-nfprofile --enable-nftrack --prefix=$RPM_BUILD_ROOT/%{prefix} --libdir=$RPM_BUILD_ROOT/%{_libdir}
make

%install
make install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc INSTALL README.md ToDo BSD-license.txt AUTHORS ChangeLog
%{prefix}/bin/*
%{prefix}/share/man/man1/*
%{_libdir}/*