File openvas-client.spec of Package openvas-client

# spec file for package openvas-client (Version 3.0.0)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           openvas-client
Version:        3.0.0
Release:        1
License:        GPLv2
Group:          Productivity/Networking/Security
Source:         %{name}-%{version}.tar.bz2
Patch0:         openvas-client-3.0.0-fix-str-fmt.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  glib2-devel
BuildRequires:  gnutls-devel >= 2.4.0
BuildRequires:  gtk2-devel
BuildRequires:  libgpgme-devel
BuildRequires:  libopenvas-devel >= 3.0.0
BuildRequires:  libpcap-devel
BuildRequires:  openssl-devel
BuildRequires:  update-desktop-files
Summary:        Terminal and GUI client application for OpenVAS and Nessus

OpenVAS-Client is a terminal and GUI client application for OpenVAS and
Nessus. In fact it implements the Nessus Transfer Protocol (NTP). The
GUI is implemented using GTK+ 2.4 and allows for managing network
vulnerability scan sessions.

OpenVAS-Client is a successor of NessusClient 1.X. The fork happened
with NessusClient CVS HEAD 20070704. The reason was that the original
authors of NessusClient decided to stop active development for this
(GTK-based) NessusClient in favour of a newly written QT-based version
released as proprietary software.

OpenVAS-Client is released under GNU GPLv2 and may be linked with

%setup -q

%configure --enable-omp
cd po

%__install -D -m 644 src/xpm/OpenVAS-logo.xpm %{buildroot}%{_datadir}/pixmaps/OpenVAS-Client.xpm
%__install -D -m 644 openvas/OpenVAS-Client.desktop %{buildroot}%{_datadir}/applications/OpenVAS-Client.desktop
cd po
%find_lang OpenVAS-Client
%suse_update_desktop_file -n -r OpenVAS-Client Utility Security

test "%{buildroot}" != "/" && %__rm -rf %{buildroot}

%files -f po/OpenVAS-Client.lang
%dir %{_sysconfdir}/openvas
%config %attr(0644,root,root) %{_sysconfdir}/openvas/openvas-client_log.conf