Name: prewikka Version: 5.2.0 Release: 4%{?dist} Summary: Graphical front-end analysis console for IDMEF License: GPLv2+ URL: https://www.prelude-siem.org/ Source0: https://www.prelude-siem.org/pkg/src/5.2.0/%{name}-%{version}.tar.gz BuildRequires: gettext BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-configargparse BuildRequires: python%{python3_pkgversion}-babel BuildRequires: python%{python3_pkgversion}-lesscpy BuildRequires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-%{name} >= 5.2.0 # Since mass rebuild, debugpackage wont works %define debug_package %{nil} %description Prewikka is the backend of the web browser interface of Prelude SIEM. Providing numerous features, Prewikka facilitates the work of users and analysts. It provides alert aggregation and heartbeat views, and has user customization and configurable filters. Prewikka also provides access to external tools such as whois and traceroute. %package -n python%{python3_pkgversion}-%{name} Summary: Graphical front-end analysis console for IDMEF Requires: %{name} = %{version}-%{release} Requires: python%{python3_pkgversion}-prelude >= 5.2.0 Requires: python%{python3_pkgversion}-preludedb >= 5.2.0 Requires: python%{python3_pkgversion}-babel Requires: python%{python3_pkgversion}-mako Requires: python%{python3_pkgversion}-croniter Requires: python%{python3_pkgversion}-pyyaml Requires: python%{python3_pkgversion}-werkzeug Requires: python%{python3_pkgversion}-dateutil Requires: python%{python3_pkgversion}-pytz Requires: python%{python3_pkgversion}-lark-parser Requires: python%{python3_pkgversion}-gevent Requires: python%{python3_pkgversion}-voluptuous Requires: python%{python3_pkgversion}-passlib Requires: python%{python3_pkgversion}-requests %description -n python%{python3_pkgversion}-%{name} Prewikka is the backend of the web browser interface of Prelude SIEM. Providing numerous features, Prewikka facilitates the work of users and analysts. It provides alert aggregation and heartbeat views, and has user customization and configurable filters. Prewikka also provides access to external tools such as whois and traceroute. %prep %autosetup -p1 %build %py3_build %install install -d -m 0755 %{buildroot}%{_sbindir} # We have to use this because py3_install do other things and siteconfig.py # will be not installed %{__python3} setup.py install --root=%{buildroot} mv %{buildroot}%{_bindir}/%{name}-httpd %{buildroot}%{_sbindir}/%{name}-httpd mv %{buildroot}%{_bindir}/%{name}-crontab %{buildroot}%{_sbindir}/%{name}-crontab mv %{buildroot}%{_bindir}/%{name}-cli %{buildroot}%{_sbindir}/%{name}-cli ## Language files; not under /usr/share/locale, need to move them install -d -m 0755 %{buildroot}%{_datadir}/locale cp -r %{buildroot}%{python3_sitelib}/%{name}/locale/* %{buildroot}%{_datadir}/locale/ rm -rf %{buildroot}%{python3_sitelib}/%{name}/locale ln -s %{_datadir}/locale %{buildroot}%{python3_sitelib}/%{name}/locale %find_lang %{name} %files -f %{name}.lang %license COPYING %doc AUTHORS NEWS README %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/conf.d %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}/menu.yml %config(noreplace) %{_sysconfdir}/%{name}/conf.d/auth.conf %config(noreplace) %{_sysconfdir}/%{name}/conf.d/external_app.conf %config(noreplace) %{_sysconfdir}/%{name}/conf.d/logs.conf %config(noreplace) %{_sysconfdir}/%{name}/conf.d/riskoverview.conf %{_datadir}/%{name} %files -n python%{python3_pkgversion}-%{name} %{_sbindir}/%{name}-httpd %{_sbindir}/%{name}-crontab %{_sbindir}/%{name}-cli %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info %changelog * Fri Oct 16 2020 Thomas Andrejak - 5.2.0-4 - Add python3-prewikka as dependency * Fri Oct 16 2020 Thomas Andrejak - 5.2.0-3 - Add missing dependency * Thu Oct 15 2020 Thomas Andrejak - 5.2.0-2 - Add missing dependency * Thu Sep 17 2020 Thomas Andrejak - 5.2.0-1 - Bump version 5.2.0 * Wed Nov 13 2019 Thomas Andrejak - 5.1.1-1 - Bump version 5.1.1 * Wed Jul 24 2019 Thomas Andrejak - 5.0.2-1 - Bump version 5.0.2 * Sun May 6 2018 Thomas Andrejak - 4.1.5-2 - Remove python 3 fixes * Wed Apr 25 2018 Thomas Andrejak - 4.1.5-1 - Bump version 4.1.5 * Wed Oct 11 2017 Thomas Andrejak - 4.0.0-1 - Bump version 4.0.0 - Prepare Python 3 support * Fri Feb 17 2017 Thomas Andrejak - 3.1.0-1 - Bump version * Thu Feb 14 2013 Fedora Release Engineering - 1:1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1:1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1:1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1:1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm - 1:1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Wed May 12 2010 Steve Grubb 1.0.0-1 - new upstream release * Fri Feb 12 2010 Steve Grubb 1.0.0rc3-1 - new upstream release * Wed Feb 10 2010 Steve Grubb 1.0.0rc2-1 - new upstream release * Sat Jan 30 2010 Steve Grubb 1.0.0rc1-1 - new upstream release * Tue Sep 29 2009 Steve Grubb 0.9.17.1-1 - new upstream release * Sun Jul 26 2009 Fedora Release Engineering - 0.9.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jul 09 2009 Steve Grubb 0.9.17-1 - new upstream release * Wed Jun 17 2009 Steve Grubb 0.9.15-1 - new upstream release * Fri Apr 17 2009 Steve Grubb 0.9.14-4 - Change default perms on conf file * Thu Feb 26 2009 Fedora Release Engineering - 0.9.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.9.14-2 - Rebuild for Python 2.6 * Thu Apr 24 2008 Steve Grubb 0.9.14-1 - new upstream release * Mon Jan 14 2008 Steve Grubb 0.9.13-1 - new upstream version 0.9.13 * Sun Apr 8 2007 Thorsten Scherf 0.9.10-1 - moved to upstream version 0.9.10 * Fri Jan 12 2007 Thorsten Scherf 0.9.8-1 - moved to upstream version 0.9.8 * Thu Jan 11 2007 Thorsten Scherf 0.9.7.1-5 - changed docs handling - fixed python settings * Mon Jan 01 2007 Thorsten Scherf 0.9.7.1-4 - corrected perms on python files - moved prewikka-httpd to /sbin - added README.fedora * Mon Nov 20 2006 Thorsten Scherf 0.9.7.1-3 - disabled dependency-generator * Mon Nov 20 2006 Thorsten Scherf 0.9.7.1-2 - Some minor fixes in requirements * Sat Nov 06 2004 Thorsten Scherf 0.9.7.1-1 - test build for fc6