Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 59c92b16556a781f1e92032f70613292 > files > 3

openvas-libraries-9.0.3-2.mga7.src.rpm

%define major 9
%define libname %mklibname openvas %{major}
%define develname %mklibname -d openvas

%define _disable_ld_no_undefined 1
%define _disable_ld_as_needed 1 

Name:           openvas-libraries
Version:        9.0.3
Release:        %mkrel 2
License:        LGPLv2+
Group:          System/Libraries
Summary:        Support libraries for Open Vulnerability Assessment (OpenVAS) Server
URL:            http://www.openvas.org
Source0:        http://wald.intevation.org/frs/download.php/572/%{name}-%{version}.tar.gz
Source1:	https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup
BuildRequires:  libpcap-devel
BuildRequires:  glib2-devel
BuildRequires:	libgcrypt-devel
BuildRequires:  pkgconfig(gnutls)
BuildRequires:  gpgme-devel
BuildRequires:  pkgconfig(uuid)
BuildRequires:  libldap-devel
BuildRequires:  libksba-devel
BuildRequires:  net-snmp-devel
BuildRequires:  pkgconfig(libssh)
BuildRequires:  pkgconfig(hiredis)
BuildRequires:	cmake
BuildRequires:	bison
BuildRequires:	doxygen

%description
openvas-libraries is the base library for the OpenVAS network security scanner.

%package -n %{libname}
Group:		System/Libraries
Summary:        Support libraries for Open Vulnerability Assessment (OpenVAS) Server

%description -n %{libname}
The support libraries for Open Vulnerability Assessment (OpenVAS) Server.

%package -n %{develname}
Group:		Development/C
Summary:	Development files for openvas-libraries
Requires:	%{libname} = %{version}
Provides:	%{name}-devel = %{version}-%{release}
Provides:	openvas-devel = %{version}-%{release}

%description -n %{develname}
This package contains the development files (mainly C header files) for openvas-libraries.

%prep
%setup -q -n gvm-libs-%{version}

%build
%cmake -DLOCALSTATEDIR:PATH=%{_var} -DBUILD_WITH_LDAP=ON
%make_build
%make_build doc

%install
%make_install -C build

# install openvas-check-setup
install -m 755 %{SOURCE1} %{buildroot}%{_bindir}/

%files
%doc README COPYING* ChangeLog CHANGES
%doc build/doc/generated/html
%{_bindir}/openvas-nasl
%{_bindir}/openvas-nasl-lint
%{_bindir}/openvas-check-setup
%{_mandir}/man1/openvas-nasl.1.*
%{_mandir}/man1/openvas-nasl-lint.1.*
%{_datadir}/openvas

%files -n %{libname}
%{_libdir}/*.so.%{major}
%{_libdir}/*.so.%{major}.*

%files -n %{develname}
%{_includedir}/openvas
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so



%changelog
* Fri Jan 11 2019 daviddavid <daviddavid> 9.0.3-2.mga7
+ Revision: 1354800
- rebuild for new net-snmp 5.8

* Thu Oct 25 2018 guillomovitch <guillomovitch> 9.0.3-1.mga7
+ Revision: 1325512
- new version 9.0.3

* Sun Sep 23 2018 umeabot <umeabot> 9.0.1-3.mga7
+ Revision: 1300045
- Mageia 7 Mass Rebuild
+ guillomovitch <guillomovitch>
- add openvas-check-setup script
- add snmp-devel build dependency
- add HTML documentation

* Thu Jul 27 2017 guillomovitch <guillomovitch> 9.0.1-1.mga7
+ Revision: 1131420
- new version 9.0.1

* Thu Sep 29 2016 guillomovitch <guillomovitch> 8.0.8-1.mga6
+ Revision: 1057548
- new version 8.0.8

* Mon Jan 11 2016 luigiwalser <luigiwalser> 8.0.5-2.mga6
+ Revision: 921827
- rebuild for gnutls

* Wed Oct 21 2015 guillomovitch <guillomovitch> 8.0.5-1.mga6
+ Revision: 893945
- new version 8.0.5
+ fwang <fwang>
- disable no-undefined for cyclic dependencies
- fix linkage
- drop old switches

* Thu Sep 10 2015 fwang <fwang> 8.0.4-2.mga6
+ Revision: 875466
- rebuild for new libgcrypt

* Mon Jul 27 2015 guillomovitch <guillomovitch> 8.0.4-1.mga6
+ Revision: 858330
- new version 8.0.4

* Tue Jun 23 2015 guillomovitch <guillomovitch> 8.0.3-1.mga6
+ Revision: 840846
- new version 8.0.3

* Sat Mar 07 2015 guillomovitch <guillomovitch> 7.0.9-1.mga5
+ Revision: 818000
- new release 7.0.9

* Thu Feb 05 2015 guillomovitch <guillomovitch> 7.0.7-1.mga5
+ Revision: 813624
- new version 7.0.7

* Wed Dec 03 2014 guillomovitch <guillomovitch> 7.0.6-1.mga5
+ Revision: 800435
- new version 7.0.6

* Sun Nov 09 2014 guillomovitch <guillomovitch> 7.0.5-1.mga5
+ Revision: 796128
- nex version 7.0.5

* Wed Oct 15 2014 umeabot <umeabot> 7.0.4-2.mga5
+ Revision: 745094
- Second Mageia 5 Mass Rebuild

* Tue Oct 07 2014 guillomovitch <guillomovitch> 7.0.4-1.mga5
+ Revision: 737336
- new version 7.0.4

* Tue Sep 16 2014 umeabot <umeabot> 7.0.3-2.mga5
+ Revision: 683256
- Mageia 5 Mass Rebuild

* Sun Sep 07 2014 guillomovitch <guillomovitch> 7.0.3-1.mga5
+ Revision: 673237
- new version 7.0.3

* Wed Jun 18 2014 guillomovitch <guillomovitch> 7.0.2-1.mga5
+ Revision: 638050
- new version 7.0.2

* Mon Dec 16 2013 danf <danf> 6.0.0-2.mga4
+ Revision: 557960
- Added bison-parameter.patch to fix build with bison 3
+ umeabot <umeabot>
- Mageia 4 Mass Rebuild

* Fri May 31 2013 guillomovitch <guillomovitch> 6.0.0-1.mga4
+ Revision: 433760
- new version

* Sun Jan 13 2013 umeabot <umeabot> 5.0.4-2.mga3
+ Revision: 362178
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Dec 29 2012 guillomovitch <guillomovitch> 5.0.4-1.mga3
+ Revision: 336069
- new version

* Tue Oct 16 2012 guillomovitch <guillomovitch> 5.0.3-1.mga3
+ Revision: 307245
- new version

* Fri Dec 09 2011 guillomovitch <guillomovitch> 4.0.6-2.mga2
+ Revision: 179483
- new version
- new version
- spec cleanup
+ fwang <fwang>
- rebuild for new gnutls

* Tue Feb 01 2011 dmorgan <dmorgan> 3.1.4-1.mga1
+ Revision: 46042
- imported package openvas-libraries


* Sun Nov 28 2010 Funda Wang <fwang@mandriva.org> 3.1.4-1mdv2011.0
+ Revision: 602180
- br uuid
- drop old patches
- new version 3.1.4

* Sun Apr 18 2010 Funda Wang <fwang@mandriva.org> 3.0.5-1mdv2010.1
+ Revision: 536368
- New version 3.0.5

* Sun Dec 20 2009 Funda Wang <fwang@mandriva.org> 3.0.0-3mdv2010.1
+ Revision: 480351
- obsoletes openvas-libnasl

* Sun Dec 20 2009 Funda Wang <fwang@mandriva.org> 3.0.0-2mdv2010.1
+ Revision: 480325
- obsoletes old libnasl

* Sun Dec 20 2009 Funda Wang <fwang@mandriva.org> 3.0.0-1mdv2010.1
+ Revision: 480324
- fix BR
- new version 3.0.0

* Wed Aug 19 2009 Frederik Himpe <fhimpe@mandriva.org> 2.0.4-1mdv2010.0
+ Revision: 418247
- Update to new version 2.0.4
- Remove Makefile patch (not needed)
- Add patch to link with libgcrypt
- Add patch to fix format string errors

* Mon Apr 13 2009 Funda Wang <fwang@mandriva.org> 2.0.2-1mdv2009.1
+ Revision: 366567
- import openvas-libraries