File openvas-plugins.spec of Package openvas-plugins
#
# spec file for package openvas-plugins (Version 1.0.7)
#
# 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-plugins
Version: 1.0.7
Release: 1
License: GPL v2 only
Group: Productivity/Networking/Security
Url: http://www.openvas.org
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: glib2-devel gnutls-devel libopenvas-devel libpcap-devel openvas-server-devel
Requires: openvas-server
PreReq: glibc
Summary: The actual vulnerability tests for the OpenVAS Server
%description
This package adds the actual vulnerability tests to the Open
Vulnerability Assessment System (OpenVAS) Server.
%prep
%setup -q
# remove 3com_hub plugin otherwise abuild will complain
# this plugin fails to build anyway
rm -rf plugins/3com_hub
%build
%configure
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc CHANGES COPYING TODO
%{_sbindir}/openvas-nvt-sync
%dir %{_libdir}/openvas
%{_libdir}/openvas/plugins
%changelog