|
|
78b8bd2 |
Name: prewikka
|
|
|
8cbd573 |
Version: 5.0.2
|
|
|
ae15434 |
Release: 2%{?dist}
|
|
|
78b8bd2 |
Summary: Graphical front-end analysis console for IDMEF
|
|
|
78b8bd2 |
License: GPLv2+
|
|
|
78b8bd2 |
URL: https://www.prelude-siem.org/
|
|
|
b1572e7 |
Source0: https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz
|
|
|
b1572e7 |
# https://www.prelude-siem.org/issues/912
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
BuildRequires: gettext
|
|
|
b1572e7 |
BuildRequires: python3-devel
|
|
|
b1572e7 |
BuildRequires: pkgconfig(python3)
|
|
|
b1572e7 |
BuildRequires: python3-configargparse
|
|
|
b1572e7 |
BuildRequires: python3-babel
|
|
|
ba7534d |
BuildRequires: python3-lesscpy
|
|
|
b1572e7 |
BuildRequires: python3-setuptools
|
|
|
78b8bd2 |
|
|
|
8cbd573 |
Requires: python3-%{name} >= 5.0.0
|
|
|
b1572e7 |
|
|
|
b1572e7 |
# Since mass rebuild, debugpackage wont works for prewikka
|
|
|
b1572e7 |
%define debug_package %{nil}
|
|
|
b1572e7 |
|
|
|
b1572e7 |
%description
|
|
|
b1572e7 |
Prewikka is the backend of the web browser interface of Prelude SIEM. Providing
|
|
|
b1572e7 |
numerous features, Prewikka facilitates the work of users and analysts. It
|
|
|
b1572e7 |
provides alert aggregation and heartbeat views, and has user customization and
|
|
|
b1572e7 |
configurable filters. Prewikka also provides access to external tools such as
|
|
|
b1572e7 |
whois and traceroute.
|
|
|
b1572e7 |
|
|
|
b1572e7 |
%package -n python3-%{name}
|
|
|
b1572e7 |
Summary: Graphical front-end analysis console for IDMEF
|
|
|
b1572e7 |
Requires: %{name} = %{version}-%{release}
|
|
|
8cbd573 |
Requires: python3-prelude >= 5.0.0
|
|
|
8cbd573 |
Requires: python3-preludedb >= 5.0.0
|
|
|
b1572e7 |
Requires: python3-babel
|
|
|
ae15434 |
Requires: python3-croniter
|
|
|
b1572e7 |
Requires: python3-mako
|
|
|
b1572e7 |
Requires: python3-PyYAML
|
|
|
b1572e7 |
Requires: python3-werkzeug
|
|
|
b1572e7 |
Requires: python3-dateutil
|
|
|
b1572e7 |
Requires: python3-pytz
|
|
|
b1572e7 |
%{?python_provide:%python_provide python3-%{name}}
|
|
|
af2f936 |
|
|
|
b1572e7 |
%description -n python3-%{name}
|
|
|
78b8bd2 |
Prewikka is the backend of the web browser interface of Prelude SIEM. Providing
|
|
|
78b8bd2 |
numerous features, Prewikka facilitates the work of users and analysts. It
|
|
|
78b8bd2 |
provides alert aggregation and heartbeat views, and has user customization and
|
|
|
78b8bd2 |
configurable filters. Prewikka also provides access to external tools such as
|
|
|
78b8bd2 |
whois and traceroute.
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
%prep
|
|
|
b1572e7 |
%autosetup -p1
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
%build
|
|
|
b1572e7 |
%py3_build
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
%install
|
|
|
b1572e7 |
install -d -m 0755 %{buildroot}%{_sbindir}
|
|
|
b1572e7 |
|
|
|
fb20944 |
# We have to use this because py3_install do other things and siteconfig.py
|
|
|
78b8bd2 |
# will be not installed
|
|
|
b1572e7 |
%{__python3} setup.py install --root=%{buildroot}
|
|
|
b1572e7 |
mv %{buildroot}%{_bindir}/%{name}-httpd %{buildroot}%{_sbindir}/%{name}-httpd-%{python3_version}
|
|
|
fb20944 |
mv %{buildroot}%{_bindir}/%{name}-crontab %{buildroot}%{_sbindir}/%{name}-crontab-%{python3_version}
|
|
|
78b8bd2 |
|
|
|
b1572e7 |
ln -s ./%{name}-httpd-%{python3_version} %{buildroot}%{_sbindir}/%{name}-httpd-3
|
|
|
b1572e7 |
ln -s ./%{name}-httpd-3 %{buildroot}%{_sbindir}/%{name}-httpd
|
|
|
fb20944 |
ln -s ./%{name}-crontab-%{python3_version} %{buildroot}%{_sbindir}/%{name}-crontab-3
|
|
|
fb20944 |
ln -s ./%{name}-crontab-3 %{buildroot}%{_sbindir}/%{name}-crontab
|
|
|
b1572e7 |
|
|
|
fb20944 |
rm -f %{buildroot}%{_sysconfdir}/%{name}/*-dist
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
## Language files; not under /usr/share/locale, need to move them
|
|
|
78b8bd2 |
install -d -m 0755 %{buildroot}%{_datadir}/locale
|
|
|
b1572e7 |
cp -r %{buildroot}%{python3_sitelib}/%{name}/locale/* %{buildroot}%{_datadir}/locale/
|
|
|
b1572e7 |
rm -rf %{buildroot}%{python3_sitelib}/%{name}/locale
|
|
|
b1572e7 |
ln -s %{_datadir}/locale %{buildroot}%{python3_sitelib}/%{name}/locale
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
%find_lang %{name}
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
%files -f %{name}.lang
|
|
|
78b8bd2 |
%license COPYING
|
|
|
78b8bd2 |
%doc AUTHORS NEWS README
|
|
|
78b8bd2 |
%dir %{_sysconfdir}/%{name}
|
|
|
78b8bd2 |
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
|
|
b1572e7 |
%config(noreplace) %{_sysconfdir}/%{name}/menu.yml
|
|
|
78b8bd2 |
%{_datadir}/%{name}
|
|
|
b1572e7 |
|
|
|
b1572e7 |
%files -n python3-%{name}
|
|
|
b1572e7 |
%{_sbindir}/%{name}-httpd
|
|
|
b1572e7 |
%{_sbindir}/%{name}-httpd-3
|
|
|
b1572e7 |
%{_sbindir}/%{name}-httpd-%{python3_version}
|
|
|
fb20944 |
%{_sbindir}/%{name}-crontab
|
|
|
fb20944 |
%{_sbindir}/%{name}-crontab-3
|
|
|
fb20944 |
%{_sbindir}/%{name}-crontab-%{python3_version}
|
|
|
b1572e7 |
%{python3_sitelib}/%{name}
|
|
|
b1572e7 |
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
|
|
|
b1572e7 |
|
|
|
78b8bd2 |
%changelog
|
|
|
ae15434 |
* Thu Jul 24 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.0.2-2
|
|
|
ae15434 |
- Add missing dependencie
|
|
|
ae15434 |
|
|
|
8cbd573 |
* Sun Jul 14 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.0.2-1
|
|
|
8cbd573 |
- Bump version 5.0.2
|
|
|
8cbd573 |
|
|
|
8a1d3b2 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.5-4
|
|
|
8a1d3b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8a1d3b2 |
|
|
|
962e549 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.5-3
|
|
|
962e549 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
962e549 |
|
|
|
3eaf1ae |
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 4.1.5-2
|
|
|
3eaf1ae |
- Rebuilt for Python 3.7
|
|
|
3eaf1ae |
|
|
|
fb20944 |
* Wed Apr 25 2018 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.1.5-1
|
|
|
fb20944 |
- Bump version 4.1.5
|
|
|
fb20944 |
|
|
|
e356253 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
|
|
|
e356253 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e356253 |
|
|
|
b1572e7 |
* Wed Oct 11 2017 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.0.0-1
|
|
|
b1572e7 |
- Bump version 4.0.0
|
|
|
b1572e7 |
|
|
|
af2f936 |
* Thu Aug 10 2017 Thomas Andrejak <thomas.andrejak@gmail.com> - 3.1.0-4
|
|
|
af2f936 |
- Temporary disable debugsource since Mass rebuild
|
|
|
af2f936 |
|
|
|
212c4bd |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
|
|
|
212c4bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
212c4bd |
|
|
|
78b8bd2 |
* Fri Feb 17 2017 Thomas Andrejak <thomas.andrejak@gmail.com> - 3.1.0-1
|
|
|
78b8bd2 |
- Bump version
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-6
|
|
|
78b8bd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-5
|
|
|
78b8bd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-4
|
|
|
78b8bd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-3
|
|
|
78b8bd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1:1.0.0-2
|
|
|
78b8bd2 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Wed May 12 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Fri Feb 12 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0rc3-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Wed Feb 10 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0rc2-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Sat Jan 30 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0rc1-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Tue Sep 29 2009 Steve Grubb <sgrubb@redhat.com> 0.9.17.1-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-2
|
|
|
78b8bd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Thu Jul 09 2009 Steve Grubb <sgrubb@redhat.com> 0.9.17-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Wed Jun 17 2009 Steve Grubb <sgrubb@redhat.com> 0.9.15-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Fri Apr 17 2009 Steve Grubb <sgrubb@redhat.com> 0.9.14-4
|
|
|
78b8bd2 |
- Change default perms on conf file
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-3
|
|
|
78b8bd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9.14-2
|
|
|
78b8bd2 |
- Rebuild for Python 2.6
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Thu Apr 24 2008 Steve Grubb <sgrubb@redhat.com> 0.9.14-1
|
|
|
78b8bd2 |
- new upstream release
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Mon Jan 14 2008 Steve Grubb <sgrubb@redhat.com> 0.9.13-1
|
|
|
78b8bd2 |
- new upstream version 0.9.13
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Sun Apr 8 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.10-1
|
|
|
78b8bd2 |
- moved to upstream version 0.9.10
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Fri Jan 12 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.8-1
|
|
|
78b8bd2 |
- moved to upstream version 0.9.8
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Thu Jan 11 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-5
|
|
|
78b8bd2 |
- changed docs handling
|
|
|
78b8bd2 |
- fixed python settings
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Mon Jan 01 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-4
|
|
|
78b8bd2 |
- corrected perms on python files
|
|
|
78b8bd2 |
- moved prewikka-httpd to /sbin
|
|
|
78b8bd2 |
- added README.fedora
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Mon Nov 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-3
|
|
|
78b8bd2 |
- disabled dependency-generator
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Mon Nov 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-2
|
|
|
78b8bd2 |
- Some minor fixes in requirements
|
|
|
78b8bd2 |
|
|
|
78b8bd2 |
* Sat Nov 06 2004 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-1
|
|
|
78b8bd2 |
- test build for fc6
|