Subversion Repositories ALCASAR

Rev

Rev 1944 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1944 Rev 2427
Line 5... Line 5...
5
License:	BSD
5
License:	BSD
6
Packager:	Richard REY (Rexy)
6
Packager:	Richard REY (Rexy)
7
Group:		Applications/System
7
Group:		Applications/System
8
Source:		%{name}-%{version}.tar.gz
8
Source:		%{name}-%{version}.tar.gz
9
BuildRequires:	flex
9
BuildRequires:	flex
10
BuildRoot: %{_tmppath}/%{name}-root
10
BuildRoot:	%{_tmppath}/%{name}-root
11
Prefix: /usr
11
Prefix:		/usr
12
Url: http://nfdump.sourceforge.net/
12
Url:		http://nfdump.sourceforge.net/
13
 
13
 
14
%description
14
%description
15
The nfdump tools collect and process netflow data on the command line.
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
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
17
http://www.terena.nl/tech/task-forces/tf-csirt/meeting12/nfsen-Haag.pdf
Line 20... Line 20...
20
rm -rf $RPM_BUILD_ROOT
20
rm -rf $RPM_BUILD_ROOT
21
 
21
 
22
%setup -q
22
%setup -q
23
 
23
 
24
%build
24
%build
25
./configure --prefix=$RPM_BUILD_ROOT/%{prefix} --libdir=$RPM_BUILD_ROOT/%{_libdir}
25
./configure --enable-nfprofile --enable-nftrack --prefix=$RPM_BUILD_ROOT/%{prefix} --libdir=$RPM_BUILD_ROOT/%{_libdir}
26
make
26
make
27
 
27
 
28
%install
28
%install
29
make install
29
make install
30
 
30
 
Line 34... Line 34...
34
%files
34
%files
35
%defattr(-,root,root)
35
%defattr(-,root,root)
36
%doc INSTALL README.md ToDo BSD-license.txt AUTHORS ChangeLog
36
%doc INSTALL README.md ToDo BSD-license.txt AUTHORS ChangeLog
37
%{prefix}/bin/*
37
%{prefix}/bin/*
38
%{prefix}/share/man/man1/*
38
%{prefix}/share/man/man1/*
39
%{_libdir}/*
-
 
40
 
39
%{_libdir}/*
-
 
40