2017-03-20 21:09:51 +00:00
committed by Git OBS Bridge
parent 52df2808e8
commit 01eccc1af2
7 changed files with 22 additions and 33 deletions

View File

@@ -17,16 +17,15 @@
Name: prewikka
Version: 3.0.0
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/3.0.0/%{name}-%{version}.tar.gz
Patch0: prewikka-cheetah-shbang.patch
Patch1: prewikka-wsgi-shbang.patch
Patch2: prewikka-ez_setup.patch
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
@@ -49,14 +48,10 @@ well as access to external tools such as whois and traceroute.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p0
%build
%patch0
%install
%{__python} setup.py install -O1 --root=%{buildroot}
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