|
|
3d00290 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
3d00290 |
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
3d00290 |
|
|
|
0fa9135 |
Name: prewikka
|
|
|
0fa9135 |
Version: 0.9.14
|
|
|
3d00290 |
Release: 1%{?dist}
|
|
|
3d00290 |
Summary: Graphical front-end analysis console for the Prelude Hybrid IDS Framework
|
|
|
3d00290 |
Group: Applications/Internet
|
|
|
0fa9135 |
License: GPLv2+
|
|
|
3d00290 |
URL: http://www.prelude-ids.org
|
|
|
0fa9135 |
Source0: http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz
|
|
|
3d00290 |
Source1: README.fedora
|
|
|
3d00290 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
87c250f |
BuildRequires: python-devel python-cheetah gettext
|
|
|
0fa9135 |
Requires: python-cheetah, libprelude-python, libpreludedb-python
|
|
|
0fa9135 |
BuildArch: noarch
|
|
|
3d00290 |
|
|
|
3d00290 |
|
|
|
3d00290 |
%description
|
|
|
3d00290 |
Prewikka is a graphical front-end analysis console for the Prelude
|
|
|
3d00290 |
Hybrid IDS Framework. Providing numerous features, Prewikka facilitates
|
|
|
3d00290 |
the work of users and analysts. It provides alert aggregation and sensor
|
|
|
3d00290 |
and hearbeat views, and has user management and configurable filters. It
|
|
|
3d00290 |
has access to external tools such as whois and traceroute.
|
|
|
3d00290 |
|
|
|
3d00290 |
Please read README.fedora for installation instructions.
|
|
|
3d00290 |
|
|
|
3d00290 |
%prep
|
|
|
3d00290 |
%setup -q
|
|
|
3d00290 |
cp -p %{SOURCE1} .
|
|
|
3d00290 |
|
|
|
3d00290 |
%build
|
|
|
3d00290 |
|
|
|
3d00290 |
%install
|
|
|
3d00290 |
rm -rf %{buildroot}
|
|
|
3d00290 |
%{__python} setup.py install -O1 --root=%{buildroot}
|
|
|
3d00290 |
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
|
|
3d00290 |
mkdir -p %{buildroot}%{_sbindir}/
|
|
|
3d00290 |
chmod 0644 %{buildroot}/%{_datadir}/%{name}/htdocs/css/style.css
|
|
|
3d00290 |
mv %{buildroot}/%{_bindir}/%{name}-httpd %{buildroot}/%{_sbindir}/%{name}-httpd
|
|
|
6bfb833 |
#sed -i -e '/^#!\/usr\/bin\/env python$/d' %{buildroot}/%{python_sitearch}/%{name}/templates/*
|
|
|
7b3102c |
%find_lang %{name}
|
|
|
3d00290 |
|
|
|
3d00290 |
%clean
|
|
|
3d00290 |
rm -rf %{buildroot}
|
|
|
3d00290 |
|
|
|
7b3102c |
%files -f %{name}.lang
|
|
|
3d00290 |
%defattr(-,root,root,-)
|
|
|
3d00290 |
%dir %{_sysconfdir}/%{name}/
|
|
|
3d00290 |
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
|
|
3d00290 |
%dir %{_datadir}/%{name}/
|
|
|
3d00290 |
%{_datadir}/%{name}/*
|
|
|
3d00290 |
%{_sbindir}/%{name}-httpd
|
|
|
3d00290 |
%{python_sitelib}/%{name}/
|
|
|
0fa9135 |
%{python_sitelib}/%{name}*.egg-info
|
|
|
7b3102c |
%doc AUTHORS README NEWS HACKING.README README.fedora
|
|
|
3d00290 |
|
|
|
3d00290 |
%changelog
|
|
|
0fa9135 |
* Thu Apr 24 2008 Steve Grubb <sgrubb@redhat.com> 0.9.14-1
|
|
|
0fa9135 |
- new upstream release
|
|
|
0fa9135 |
|
|
|
6bfb833 |
* Mon Jan 14 2008 Steve Grubb <sgrubb@redhat.com> 0.9.13-1
|
|
|
6bfb833 |
- new upstream version 0.9.13
|
|
|
6bfb833 |
|
|
|
7b3102c |
* Sun Apr 8 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.10-1
|
|
|
7b3102c |
- moved to upstream version 0.9.10
|
|
|
7b3102c |
|
|
|
3d00290 |
* Sun Jan 12 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.8-1
|
|
|
3d00290 |
- moved to upstream version 0.9.8
|
|
|
3d00290 |
|
|
|
3d00290 |
* Sat Jan 11 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-5
|
|
|
3d00290 |
- changed docs handling
|
|
|
3d00290 |
- fixed python settings
|
|
|
3d00290 |
|
|
|
3d00290 |
* Mon Jan 01 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-4
|
|
|
3d00290 |
- corrected perms on python files
|
|
|
3d00290 |
- moved prewikka-httpd to /sbin
|
|
|
3d00290 |
- added README.fedora
|
|
|
3d00290 |
|
|
|
3d00290 |
* Mon Nov 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-3
|
|
|
3d00290 |
- disabled dependency-generator
|
|
|
3d00290 |
|
|
|
3d00290 |
* Mon Nov 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-2
|
|
|
3d00290 |
- Some minor fixes in requirements
|
|
|
3d00290 |
|
|
|
3d00290 |
* Mon Nov 06 2004 Thorsten Scherf <tscherf@redhat.com> 0.9.7.1-1
|
|
|
3d00290 |
- test build for fc6
|
|
|
3d00290 |
|
|
|
3d00290 |
|
|
|
3d00290 |
|