File openvas-libraries.spec of Package openvas-libraries
#
# spec file for package openvas-libraries (Version 1.0.2)
#
# 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-libraries
Version: 1.0.2
Release: 1
License: GPL v2 only
Group: Productivity/Networking/Security
Url: http://www.openvas.org
Source: %{name}-%{version}.tar.gz
Patch: openvas-libraries-1.0.2-glibc_private.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gnutls-devel libpcap-devel
PreReq: glibc
Summary: openvas-libraries is the base library for the OpenVAS network security scanner.
%package devel
License: GPL v2 only
Group: Productivity/Networking/Security
Requires: %{name} = %{version}
Summary: Development files for openvas-libraries
%description
This package contains the development files (mainly C header files) for
openvas-libraries.
%description devel
This package contains the development files (mainly C header files) for
openvas-libraries.
%prep
%setup -q
%patch -p1
%build
%configure --disable-static
%__make
%install
%makeinstall
%__rm %{buildroot}%{_libdir}/libopenvas.la
%__rm %{buildroot}%{_libdir}/libopenvas_hg.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc ChangeLog CHANGES TODO libopenvas/COPYING
%{_libdir}/libopenvas.so.*
%{_libdir}/libopenvas_hg.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/libopenvas-config
%{_includedir}/openvas/
%{_libdir}/libopenvas.so
%{_libdir}/libopenvas_hg.so
%{_mandir}/man1/libopenvas-config.1*
%changelog
* Mon Sep 08 2008 anosek@suse.cz
- updated to version 1.0.2
* Preparation for support for OpenVAS OIDs.
* Increased internal storage space for plugin preferences to allow for plugins
with a large number of options.
* Fixed a bug that resulted in incorrect memory allocation on certain 64bit
installations.
* Removed support for unencrypted communication with the client.
* Fixed a configuration issue that broke the build process on certain 64bit
installations.
* Various code cleanups.
- dropped obsoleted patches:
(destdir_support-Makefile.patch)
(destdir_support-libopenvas_hg-Makefile.patch)
- added (glibc_private.patch)
* Wed Jun 18 2008 anosek@suse.cz
- initial version 1.0.1
- package taken from BS project home:bitshuffler:openvas