]> git.pld-linux.org Git - packages/prelude-correlator.git/blame - prelude-correlator.spec
- release 2 (by relup.sh)
[packages/prelude-correlator.git] / prelude-correlator.spec
CommitLineData
f63d8b34 1# TODO: verify if %%py_postclean can be done
7041a6d8 2Summary: Real time correlator of events received by Prelude Manager
f63d8b34 3Summary(pl.UTF-8): Narzędzie kojarzące w czasie rzeczywistym zdarzenia odebrane przez Prelude Managera
7041a6d8 4Name: prelude-correlator
07f4a607 5Version: 5.1.0
ae175777 6Release: 2
7041a6d8
SP
7License: GPL v2+
8Group: Applications/Networking
55ab4014 9#Source0Download: https://www.prelude-siem.org/projects/prelude/files
07f4a607
JB
10Source0: https://www.prelude-siem.org/attachments/download/1173/%{name}-%{version}.tar.gz
11# Source0-md5: 0916b2391a35ed7a4808ba7c8656d833
7041a6d8 12Source1: %{name}.init
a117af49 13Patch0: %{name}-vardir.patch
55ab4014 14URL: https://www.prelude-siem.org/
7041a6d8
SP
15BuildRequires: python-devel
16BuildRequires: python-setuptools >= 0.6-2.c11
a117af49 17BuildRequires: rpmbuild(macros) >= 1.714
7041a6d8
SP
18Requires(pre): /usr/sbin/useradd
19Requires(post): /sbin/chkconfig
20Requires(preun): /sbin/chkconfig
21Requires(preun): /sbin/service
22Requires(postun): /sbin/service
7041a6d8 23BuildArch: noarch
f63d8b34 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
7041a6d8
SP
25
26%description
27Prelude-Correlator allows conducting multi-stream correlations thanks
28to a powerful programming language for writing correlation rules. With
29any type of alert able to be correlated, event analysis becomes
30simpler, quicker and more incisive. This correlation alert then
31appears within the Prewikka interface and indicates the potential
32target information via the set of correlation rules.
33
f63d8b34
JB
34%description -l pl.UTF-8
35Prelude-Correlator pozwala na wykonywanie wielostrumieniowych
36skojarzeń dzięki potężnemu językowi programowania do tworzenia reguł
37korelacji. Dzięki możliwości skorelowania dowolnego rodzaju alarmu,
38analiza zdarzeń robi się prostsza, szybsza i dokładniejsza. Tak
39skorelowane alarmy pojawiają się następnie w interfejsie Prewikki i
40określają potencjalną informację o celu poprzez zbiór reguł korelacji.
41
7041a6d8
SP
42%prep
43%setup -q
a117af49
JB
44%patch0 -p1
45
46%build
47%py_build
7041a6d8 48
7041a6d8
SP
49%install
50rm -rf $RPM_BUILD_ROOT
f63d8b34 51
a117af49 52%py_install
f63d8b34
JB
53
54install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
55install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
7041a6d8
SP
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
7041a6d8
SP
60%post
61/sbin/chkconfig --add %{name}
f63d8b34 62%service %{name} restart
7041a6d8
SP
63
64%preun
f63d8b34
JB
65if [ "$1" = "0" ]; then
66 %service -q %{name} stop
7041a6d8
SP
67 /sbin/chkconfig --del %{name}
68fi
69
7041a6d8
SP
70%files
71%defattr(644,root,root,755)
55ab4014 72%doc AUTHORS NEWS README
f63d8b34
JB
73%attr(700,root,root) %dir %{_sysconfdir}/%{name}
74%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf
a117af49
JB
75%dir %{_sysconfdir}/%{name}/conf.d
76%dir %{_sysconfdir}/%{name}/rules
77%dir %{_sysconfdir}/%{name}/rules/python
78%{_sysconfdir}/%{name}/rules/python/*.py
f63d8b34 79%attr(754,root,root) /etc/rc.d/init.d/%{name}
7041a6d8
SP
80%attr(755,root,root) %{_bindir}/%{name}
81%dir %{_var}/lib/%{name}
f63d8b34 82%{_var}/lib/%{name}/*.dat
55ab4014 83%{py_sitescriptdir}/preludecorrelator
f63d8b34 84%{py_sitescriptdir}/prelude_correlator-%{version}-py*.egg-info
This page took 0.073764 seconds and 4 git commands to generate.