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
c6f27f1
Name:           prewikka
9ae5c9c
Epoch:		1
9ae5c9c
Version:        1.0.0
1115e77
Release:        3%{?dist}
3d00290
Summary:        Graphical front-end analysis console for the Prelude Hybrid IDS Framework
3d00290
Group:          Applications/Internet
c6f27f1
License:        GPLv2+
3d00290
URL:            http://www.prelude-ids.org
98ee133
Source0:        http://www.prelude-ids.org/download/releases/%{name}/%{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
c6f27f1
Requires:       python-cheetah, libprelude-python, libpreludedb-python
c6f27f1
BuildArch:      noarch
3d00290
3d00290
3d00290
%description
09e90c0
Prewikka is the graphical front-end analysis console for the 
09e90c0
Prelude Universal SIM. Providing numerous features, Prewikka
09e90c0
facilitates the work of users and analysts. It provides alert
09e90c0
aggregation and sensor and hearbeat views, and has user management
09e90c0
and configurable filters.Prewikka also provides access to external
09e90c0
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
7b3102c
%find_lang %{name}
3d00290
 
3d00290
%clean
3d00290
rm -rf %{buildroot}
3d00290
7b3102c
%files -f %{name}.lang
3d00290
%defattr(-,root,root,-)
2e0b30c
%attr(0750,root,apache) %dir %{_sysconfdir}/%{name}/
2e0b30c
%config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/%{name}/%{name}.conf
3d00290
%dir %{_datadir}/%{name}/
3d00290
%{_datadir}/%{name}/*
3d00290
%{_sbindir}/%{name}-httpd
3d00290
%{python_sitelib}/%{name}/
c6f27f1
%{python_sitelib}/%{name}*.egg-info
7b3102c
%doc AUTHORS README NEWS HACKING.README README.fedora  
3d00290
3d00290
%changelog
1115e77
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-3
1115e77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1115e77
720254d
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1:1.0.0-2
720254d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
720254d
9ae5c9c
* Sun May 12 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0-1
9ae5c9c
- new upstream release
9ae5c9c
a894973
* Wed Feb 12 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0rc3-1
a894973
- new upstream release
a894973
a894973
* Wed Feb 10 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0rc2-1
f630f4b
- new upstream release
f630f4b
58ea82e
* Sat Jan 30 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0rc1-1
58ea82e
- new upstream release
58ea82e
35755e7
* Tue Sep 29 2009 Steve Grubb <sgrubb@redhat.com> 0.9.17.1-1
35755e7
- new upstream release
35755e7
131d151
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-2
131d151
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
131d151
09e90c0
* Thu Jul 09 2009 Steve Grubb <sgrubb@redhat.com> 0.9.17-1
09e90c0
- new upstream release
09e90c0
2f9ded2
* Wed Jun 17 2009 Steve Grubb <sgrubb@redhat.com> 0.9.15-1
2f9ded2
- new upstream release
2f9ded2
2e0b30c
* Fri Apr 17 2009 Steve Grubb <sgrubb@redhat.com> 0.9.14-4
2e0b30c
- Change default perms on conf file
2e0b30c
e4a08b8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-3
e4a08b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e4a08b8
640fbd1
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9.14-2
640fbd1
- Rebuild for Python 2.6
640fbd1
c6f27f1
* Thu Apr 24 2008 Steve Grubb <sgrubb@redhat.com> 0.9.14-1
c6f27f1
- new upstream release
c6f27f1
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