2016-05-20 15:09:52 +00:00
|
|
|
#
|
|
|
|
# spec file for package prewikka
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: prewikka
|
|
|
|
Version: 3.0.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Graphical front-end analysis console for the Prelude Framework
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Applications/Internet
|
|
|
|
Url: https://www.prelude-siem.org
|
2016-08-27 15:49:02 +00:00
|
|
|
Source0: https://www.prelude-siem.org/pkg/src/3.0.0/%{name}-%{version}.tar.gz
|
2016-05-20 15:09:52 +00:00
|
|
|
Patch0: prewikka-cheetah-shbang.patch
|
|
|
|
Patch1: prewikka-wsgi-shbang.patch
|
|
|
|
Patch2: prewikka-ez_setup.patch
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-cheetah
|
|
|
|
BuildRequires: python-lesscpy
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
BuildRequires: gettext
|
|
|
|
Requires: python-cheetah
|
|
|
|
Requires: xorg-x11-fonts-Type1
|
|
|
|
Requires: python-babel
|
|
|
|
Requires: python-dateutil
|
|
|
|
Requires: pytz
|
2016-08-27 15:49:02 +00:00
|
|
|
Requires: python-libprelude
|
|
|
|
Requires: python-libpreludedb
|
2016-05-20 15:09:52 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Prewikka is the graphical front-end analysis console for the
|
|
|
|
Prelude Universal SIM. Providing numerous features, Prewikka
|
|
|
|
facilitates the work of users and analysts. It provides alert
|
|
|
|
aggregation and sensor and hearbeat views, and has user management
|
|
|
|
and configurable filters. Prewikka also provides access to external
|
|
|
|
tools such as whois and traceroute.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p0
|
|
|
|
%patch1 -p0
|
|
|
|
%patch2 -p0
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__python} setup.py install -O1 --root=%{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}/
|
|
|
|
mv %{buildroot}/%{_bindir}/%{name}-httpd %{buildroot}/%{_sbindir}/%{name}-httpd
|
|
|
|
find %{buildroot} -type f -name '*.pyo' -exec rm -f {} ';'
|
|
|
|
%find_lang %{name} --with-python
|
|
|
|
|
|
|
|
%files -f %{name}.lang -n %{name}
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%attr(0750, -,-) %dir %{_sysconfdir}/%{name}/
|
|
|
|
%config(noreplace) %attr(0640, -,-) %{_sysconfdir}/%{name}/%{name}.conf
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_sbindir}/%{name}-httpd
|
|
|
|
%{python_sitelib}/%{name}/
|
|
|
|
%{python_sitelib}/%{name}*.egg-info
|
|
|
|
%doc COPYING* AUTHORS README NEWS HACKING.README
|
|
|
|
|
|
|
|
%changelog
|