Subversion Repositories ALCASAR

Rev

Rev 2683 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
2740 rexy 1
%define		libname %mklibname %{name}
1944 richard 2
Name:		nfdump
2683 rexy 3
Version:	1.6.17
2740 rexy 4
Release:	%mkrel 2
5
Summary:	NetFlow collecting and processing tools
1944 richard 6
License:	BSD
7
Packager:	Richard REY (Rexy)
2740 rexy 8
Group:		Networking/Other
9
Source0:	%{name}-%{version}.tar.gz
10
BuildRequires:	lib64rrdtool-devel
2427 tom.houday 11
BuildRoot:	%{_tmppath}/%{name}-root
2740 rexy 12
Url:		https://github.com/phaag/nfdump
13
Requires:	nfdump-libs = %{version}-%{release}
1944 richard 14
 
15
%description
16
The nfdump tools collect and process netflow data on the command line.
17
They are part of the NFSEN project, which is explained more detailed at
18
http://www.terena.nl/tech/task-forces/tf-csirt/meeting12/nfsen-Haag.pdf
19
 
2740 rexy 20
%package -n %{libname}
21
Summary:	Libraries used by NFDUMP packages
22
Group:		System/Libraries
23
 
24
%description -n %{libname}
25
%{summary}.
26
 
1944 richard 27
%prep
28
rm -rf $RPM_BUILD_ROOT
29
%setup -q
30
 
31
%build
2683 rexy 32
./autogen.sh
2740 rexy 33
%define configure_args --enable-nfprofile --enable-nftrack --disable-rpath --disable-static
34
%configure2_5x %{configure_args}
35
%make_build
1944 richard 36
 
37
%install
2740 rexy 38
%make_install
39
chmod 0644 AUTHORS ChangeLog README.md
40
rm -f %{buildroot}%{_libdir}/*.la
1944 richard 41
 
42
%clean
43
rm -rf $RPM_BUILD_ROOT
44
 
45
%files
46
%defattr(-,root,root)
2740 rexy 47
%license LICENSE
48
%doc AUTHORS ChangeLog README.md
49
%{_bindir}/*
50
%{_mandir}/man1/*
51
 
52
%files -n %{libname}
2427 tom.houday 53
%{_libdir}/*
2683 rexy 54
 
55
%changelog
56
* Thu Jan 03 2019 Richard REY <Rexy>
57
- Version 1.6.17 for ALCASAR 3.3.3
2740 rexy 58
* Sat Jun 22 2019 Richard REY <Rexy>
59
- Version 1.6.17-2 for ALCASAR 3.4