File openvas-client.spec of Package openvas-client

#
# spec file for package openvas-client (Version 1.0.4)
#
# Copyright (c) 2008 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:        1.0.4
Release:        1
License:        GPL v2 only
Group:          Productivity/Networking/Security
Url:            http://www.openvas.org
Source:         %{name}-%{version}.tar.gz
Patch:          %{name}-%{version}-desktop.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gtk2-devel openssl-devel
%if %{defined suse_version}
BuildRequires:  update-desktop-files
%endif
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
%patch

%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
%if %{defined suse_version}
%suse_update_desktop_file -n -r OpenVAS-Client Utility Security
%endif

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

%files
%defattr(-,root,root)
%{_bindir}/OpenVAS-Client
%{_bindir}/openvasclient-mkcert
%{_datadir}/applications/OpenVAS-Client.desktop
%{_datadir}/pixmaps/OpenVAS-Client.xpm
%{_datadir}/locale/??/LC_MESSAGES/OpenVAS-Client.mo
%doc AUTHORS ChangeLog CHANGES COPYING COPYING.OpenSSL COPYING.README README TODO
%doc %{_mandir}/man1/OpenVAS-Client.1*
%doc %{_mandir}/man1/openvasclient-mk????.1*

%changelog
* Mon Sep 08 2008 anosek@suse.cz
- updated to version 1.0.4
  * new: Reports now show the name and OID of the NVT together with it's results.
  * new: Support for the upcoming OpenVAS Transport Protocol (OTP) has been
  introduced into OpenVAS-Client.
  * improved: Command line parsing has been completely reworked.
  * fixed: Fixed issues with credential preferences showing up incorrectly in the
  preferences dialog.
  * fixed: Fixed a bug that could result in filename corruption or segmentation
  faults when exporting a report from the OpenVAS-Client GUI.
  * fixed: Fixed issues that prevented OpenVAS-Client from compiling without GTK
  support. It is now possible to compile OpenVAS-Client without GUI support if
  desired.
  * fixed: Fixed a bug in report conversion that resulted in incorrect memory
  allocation on certain 64bit installations.
  * fixed: Fixed a bug that resulted in a segmentation fault when connecting
  to the server while using an alternate configuration file.
  * fixed: Fixed a bug that resulted in a segmentation fault when the user
  supplied an inconclusive filename for the results file in batch mode.
  * fixed: Fixed a bug that resulted in a segmentation fault when running
  in batch mode with a non-existent targets file and the html_graph output type.
  * removed: Support for unencrypted connections has been removed from
  OpenVAS-Client since unencrypted connections to the server were no longer
  possible since OpenVAS-Server 0.9.0.
  * removed: Support for saving reports in the legacy XML format was removed as
  this format has already been superseded by a new XML format and was marked as
  deprecated.
* Thu Jun 26 2008 anosek@suse.cz
- using %%find_lang in spec file
* Wed Jun 18 2008 anosek@suse.cz
- initial version 1.0.3
- package taken from BS project home:bitshuffler:openvas
openSUSE Build Service is sponsored by