forked from CESNET/ipfixcol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathipfixcol-json-output.spec.in
42 lines (32 loc) · 997 Bytes
/
ipfixcol-json-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
Summary: JSON storage plugin for ipfixcol.
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: @RELEASE@
URL: http://www.liberouter.org/
Source: http://homeproj.cesnet.cz/rpm/liberouter/stable/SOURCES/%{name}-%{version}-%{release}.tar.gz
Group: Liberouter
License: BSD
Vendor: CESNET, z.s.p.o.
Packager: @USERNAME@ <@USERMAIL@>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires: gcc make doxygen
BuildRequires: ipfixcol-devel >= 0.8.0
Requires: ipfixcol >= 0.8.0
%description
JSON storage plugin for ipfixcol.
%prep
%setup
%post
ipfixconf add -c "%{_sysconfdir}/ipfixcol/internalcfg.xml" -p o -n json -t json -s "%{_datadir}/ipfixcol/plugins/ipfixcol-json-output.so" -f
%preun
%postun
ipfixconf remove -c "%{_sysconfdir}/ipfixcol/internalcfg.xml" -p o -n json
%build
%configure --with-distro=@DISTRO@
make
%install
make DESTDIR=%{buildroot} install
%files
#storage plugins
%{_datadir}/ipfixcol/plugins/ipfixcol-json-output.*
%{_mandir}/man1/ipfixcol-json-output.1*