Subversion Repositories ALCASAR

Rev

Rev 2683 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

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