packages: prelude-correlator/prelude-correlator.spec - pl - PLDified spec
qboosh
qboosh at pld-linux.org
Thu Aug 11 19:40:26 CEST 2011
Author: qboosh Date: Thu Aug 11 17:40:26 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- pl
- PLDified spec
---- Files affected:
packages/prelude-correlator:
prelude-correlator.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/prelude-correlator/prelude-correlator.spec
diff -u packages/prelude-correlator/prelude-correlator.spec:1.1 packages/prelude-correlator/prelude-correlator.spec:1.2
--- packages/prelude-correlator/prelude-correlator.spec:1.1 Wed Aug 3 13:34:06 2011
+++ packages/prelude-correlator/prelude-correlator.spec Thu Aug 11 19:40:21 2011
@@ -1,14 +1,16 @@
# $Revision$, $Date$
+# TODO: verify if %%py_postclean can be done
Summary: Real time correlator of events received by Prelude Manager
+Summary(pl.UTF-8): Narzędzie kojarzące w czasie rzeczywistym zdarzenia odebrane przez Prelude Managera
Name: prelude-correlator
Version: 1.0.0
Release: 1
License: GPL v2+
Group: Applications/Networking
-URL: http://www.prelude-ids.com/
Source0: http://www.prelude-ids.com/download/releases/prelude-correlator/%{name}-%{version}.tar.gz
# Source0-md5: d66135ceba28cd6d06dbb29e2963012b
Source1: %{name}.init
+URL: http://www.prelude-ids.com/
BuildRequires: python-devel
BuildRequires: python-setuptools >= 0.6-2.c11
Requires(pre): /usr/sbin/useradd
@@ -16,9 +18,9 @@
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(postun): /sbin/service
-Requires: libprelude-python >= 0.9.24
+Requires: python-libprelude >= 0.9.24
BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Prelude-Correlator allows conducting multi-stream correlations thanks
@@ -28,50 +30,51 @@
appears within the Prewikka interface and indicates the potential
target information via the set of correlation rules.
+%description -l pl.UTF-8
+Prelude-Correlator pozwala na wykonywanie wielostrumieniowych
+skojarzeń dzięki potężnemu językowi programowania do tworzenia reguł
+korelacji. Dzięki możliwości skorelowania dowolnego rodzaju alarmu,
+analiza zdarzeń robi się prostsza, szybsza i dokładniejsza. Tak
+skorelowane alarmy pojawiają się następnie w interfejsie Prewikki i
+określają potencjalną informację o celu poprzez zbiór reguł korelacji.
+
%prep
%setup -q
-%build
-
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_initrddir}
-install %SOURCE1 $RPM_BUILD_ROOT%{_initrddir}/%{name}
+
+%{__python} setup.py install \
+ -O1 \
+ --root=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
-
%post
/sbin/chkconfig --add %{name}
-
+%service %{name} restart
%preun
-if [ $1 = 0 ]; then
- %service %{name} stop > /dev/null 2>&1 || :
+if [ "$1" = "0" ]; then
+ %service -q %{name} stop
/sbin/chkconfig --del %{name}
fi
-
-%postun
-if [ "$1" -ge "1" ]; then
- %service %{name} condrestart >/dev/null 2>&1 || :
-fi
-
-
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING NEWS HACKING.README docs/sample-plugin
-%dir %attr(700,root,root) %{_sysconfdir}/%{name}
-%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
-%{_initrddir}/%{name}
+%doc AUTHORS ChangeLog NEWS README docs/sample-plugin
+%attr(700,root,root) %dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
%attr(755,root,root) %{_bindir}/%{name}
%dir %{_var}/lib/%{name}
-%{_var}/lib/%{name}/*
-%{py_sitescriptdir}/PreludeCorrelator/
-%{py_sitescriptdir}/prelude_correlator*.egg-info
-
+%{_var}/lib/%{name}/*.dat
+%{py_sitescriptdir}/PreludeCorrelator
+%{py_sitescriptdir}/prelude_correlator-%{version}-py*.egg-info
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -79,6 +82,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/08/11 17:40:21 qboosh
+- pl
+- PLDified spec
+
Revision 1.1 2011/08/03 11:34:06 paszczus
- new, stoll^H^H^H^H^Hborrowed from Fedora
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/prelude-correlator/prelude-correlator.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list