# # spec file for package prewikka # # Copyright (c) 2017 SUSE LINUX 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.1.0 Release: 0 Summary: Graphical front-end analysis console for the Prelude Framework License: GPL-2.0+ Group: Productivity/Networking/Web/Frontends Url: https://www.prelude-siem.org Source0: https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz # Backport ez_setup to be compatible with old (Open)SuSE Patch0: prewikka-ez_setup.patch BuildRequires: gettext BuildRequires: python-cheetah BuildRequires: python-devel BuildRequires: python-lesscpy BuildRequires: python-setuptools Requires: python-babel Requires: python-cheetah Requires: python-dateutil Requires: python-libprelude Requires: python-libpreludedb Requires: python-pytz Requires: xorg-x11-fonts BuildArch: noarch %description Prewikka is the graphical front-end analysis console for the Prelude Universal SIM. Prewikka provides alert aggregation and sensor and hearbeat views, and has user management and configurable filters, as well as access to external tools such as whois and traceroute. %prep %setup -q %patch0 %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' -delete %find_lang %{name} --with-python %files -f %{name}.lang %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