forked from CESNET/ipfixcol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ipfixcol.spec.in
114 lines (101 loc) · 3.47 KB
/
ipfixcol.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Summary: IPFIX Collector Toolset.
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 gcc-c++ autoconf libtool make doxygen flex bison libxslt lzo-devel @BUILDREQS@
Requires: libxml2 lksctp-tools openssl
BuildRequires: libxml2-devel lksctp-tools-devel openssl-devel
%description
IPFIX Collector Toolset
%package devel
Summary: IPFIX Collector development package
Group: Liberouter
Requires: ipfixcol = %{version}-%{release}
%description devel
This package contains header files needed for development of plugins for IPFIX Collector (ipfixcol).
%prep
%setup
%post
/sbin/ldconfig
%preun
%postun
/sbin/ldconfig
%build
%configure --with-distro=@DISTRO@
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%check
make test
%files
%{_bindir}/ipfixcol
%{_libdir}/pkgconfig/ipfixcol.pc
%{_mandir}/man1/ipfixcol.1.gz
#ipfixconf
%{_bindir}/ipfixconf
#ipfixsend
%{_bindir}/ipfixsend
#ipfixcol-filter-check
%{_bindir}/ipfixcol-filter-check
#ipfixcol-profiles-check
%{_bindir}/ipfixcol-profiles-check
#libsiso
%{_libdir}/libsiso.so
%{_libdir}/libsiso.la
%{_includedir}/siso.h
#input plugins
%{_datadir}/%{name}/plugins/ipfixcol-udp-input.*
%{_datadir}/%{name}/plugins/ipfixcol-tcp-input.*
%{_mandir}/man1/ipfixcol-tcp-input.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-sctp-input.*
%{_datadir}/%{name}/plugins/ipfixcol-ipfix-input.*
%{_mandir}/man1/ipfixcol-ipfix-input.1.gz
#storage plugins
%{_datadir}/%{name}/plugins/ipfixcol-ipfix-output.*
%{_mandir}/man1/ipfixcol-ipfix-output.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-dummy-output.*
%{_mandir}/man1/ipfixcol-dummy-output.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-forwarding-output.la
%{_datadir}/%{name}/plugins/ipfixcol-forwarding-output.so
%{_mandir}/man1/ipfixcol-forwarding-output.1.gz
#intermediate plugins
%{_datadir}/%{name}/plugins/ipfixcol-anonymization-inter.la
%{_datadir}/%{name}/plugins/ipfixcol-anonymization-inter.so
%{_mandir}/man1/ipfixcol-anonymization-inter.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-dummy-inter.la
%{_datadir}/%{name}/plugins/ipfixcol-dummy-inter.so
%{_datadir}/%{name}/plugins/ipfixcol-joinflows-inter.la
%{_datadir}/%{name}/plugins/ipfixcol-joinflows-inter.so
%{_mandir}/man1/ipfixcol-joinflows-inter.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-filter-inter.la
%{_datadir}/%{name}/plugins/ipfixcol-filter-inter.so
%{_mandir}/man1/ipfixcol-filter-inter.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-hooks-inter.la
%{_datadir}/%{name}/plugins/ipfixcol-hooks-inter.so
%{_mandir}/man1/ipfixcol-hooks-inter.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-odip-inter.la
%{_datadir}/%{name}/plugins/ipfixcol-odip-inter.so
%{_mandir}/man1/ipfixcol-odip-inter.1.gz
%{_datadir}/%{name}/plugins/ipfixcol-timenow-inter.la
%{_datadir}/%{name}/plugins/ipfixcol-timenow-inter.so
%{_mandir}/man1/ipfixcol-timenow-inter.1.gz
#ipfixviewer
%{_datadir}/%{name}/plugins/ipfixcol-ipfixviewer-output.*
%{_datadir}/%{name}/ipfixviewer_startup.xml
%{_bindir}/ipfixviewer
#config files
%config(noreplace) %{_sysconfdir}/ipfixcol/internalcfg.xml
%config(noreplace) %{_sysconfdir}/ipfixcol/ipfix-elements.xml
%config(noreplace) %{_sysconfdir}/ipfixcol/startup.xml
%files devel
%{_includedir}/ipfixcol.h
%{_includedir}/ipfixcol/*.h
#doxygen
%{_datadir}/%{name}/%{name}-doxy-%{version}.tar.gz