File openvas-client.spec of Package openvas-client
#
# spec file for package openvas-client (Version 2.0.4)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: openvas-client
Version: 2.0.4
Release: 1
License: GPL v2 only
Group: Productivity/Networking/Security
Url: http://www.openvas.org
Source: %{name}-%{version}.tar.bz2
Patch0: openvas-client-g_strdup_printf-2.0.4.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: glib2-devel gtk2-devel openssl-devel update-desktop-files
Summary: Terminal and GUI client application for OpenVAS and Nessus
%description
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
OpenSSL.
%prep
%setup -q
%patch0
%build
%configure
%__make
cd po
%__make
%install
%makeinstall
%__install -D -m 644 src/xpm/OpenVAS-logo.xpm %{buildroot}%{_datadir}/pixmaps/OpenVAS-Client.xpm
%__install -D -m 644 nessus/OpenVAS-Client.desktop %{buildroot}%{_datadir}/applications/OpenVAS-Client.desktop
cd po
%makeinstall
%find_lang OpenVAS-Client
%suse_update_desktop_file -n -r OpenVAS-Client Utility Security
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%files -f po/OpenVAS-Client.lang
%defattr(-,root,root)
%{_bindir}/OpenVAS-Client
%{_bindir}/openvasclient-mkcert
%dir %{_libdir}/openvas
%{_libdir}/openvas/openvas-ssh-client-rpm-creator.sh
%{_datadir}/applications/OpenVAS-Client.desktop
%{_datadir}/pixmaps/OpenVAS-Client.xpm
%doc AUTHORS ChangeLog CHANGES COPYING COPYING.OpenSSL COPYING.README README TODO
%doc %{_mandir}/man1/OpenVAS-Client.1*
%doc %{_mandir}/man1/openvasclient-mk????.1*
%changelog