forked from CESNET/ipfixcol2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ipfixcol2-unirec-output.spec.in
47 lines (37 loc) · 1.1 KB
/
ipfixcol2-unirec-output.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name: ipfixcol2-unirec-output
Version: @UNIREC_VERSION@
Release: 1%{?dist}
Summary: Plugin for converting IPFIX data to UniRec format.
License: BSD
URL: http://www.liberouter.org/
Source0: %{name}-%{version}.tar.gz
Group: Liberouter
Vendor: CESNET, z.s.p.o.
Packager:
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires: gcc >= 4.8, cmake >= 2.8.8, make
BuildRequires: ipfixcol2-devel, libfds-devel, python2-docutils
BuildRequires: libtrap-devel, unirec >= 2.3.0
Requires: libtrap >= 0.12.0, ipfixcol2 >= 2.0.0, libfds >= 0.1.0
%description
Plugin for converting IPFIX data to UniRec format.
%prep
%autosetup
#%post
#/sbin/ldconfig
#%postun
#/sbin/ldconfig
# Build source code
%build
%cmake .
make %{?_smp_mflags}
# Perform installation into build directory
%install
make install DESTDIR=%{buildroot}
%files
%{_libdir}/ipfixcol2/*.so*
%{_mandir}/man7/*.7.gz
%config(noreplace) %{_sysconfdir}/ipfixcol2/unirec-elements.txt
%changelog
* Wed Nov 21 2018 Lukas Hutak <[email protected]> 2.0.0-1
- Initial RPM release