Subversion Repositories ALCASAR

Rev

Rev 2740 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

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