]> git.pld-linux.org Git - SPECS.git/blob - openvas-administrator.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / openvas-administrator.spec
1
2 # Conditional build:
3 %bcond_without  apidocs         # do not build and package API docs
4
5 Summary:        Open Vulnerability Assessment System administrator
6 Name:           openvas-administrator
7 Version:        1.3.2
8 Release:        0.1
9 License:        GPL v2
10 Group:          Applications
11 Source0:        http://wald.intevation.org/frs/download.php/1442/%{name}-%{version}.tar.gz
12 # Source0-md5:  0410287e899f6b57c8674c0fe7b6fb1b
13 URL:            http://www.openvas.org/
14 BuildRequires:  cmake
15 BuildRequires:  glib2-devel >= 2.16
16 BuildRequires:  gnutls-devel > 2.8
17 BuildRequires:  libuuid-devel
18 BuildRequires:  openvas-libraries-devel >= 6.0.0
19 BuildRequires:  pkgconfig
20 %if %{with apidocs}
21 BuildRequires:  doxygen
22 BuildRequires:  graphviz
23 #BuildRequires: sqlfairy
24 #BuildRequires: xmltoman
25 %endif
26 BuildConflicts: openvas-libraries-devel >= 7.0
27 Requires:       openvas-common >= 6.0.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This is the administrator module for the Open Vulnerability Assessment
32 System (OpenVAS). This module can for example manage OpenVAS users and
33 the Feed service for a OpenVAS installation. The administator can be
34 used as a command line utility as well as a service using the
35 XML-based and SSL-secured OpenVAS Adminstration Protocol (OAP).
36
37 The Open Vulnerability Assessment System (OpenVAS) is a framework of
38 several services and tools offering a comprehensive and powerful
39 vulnerability scanning and vulnerability management solution.
40
41 %package apidocs
42 Summary:        OpenVAS administrator API documentation
43 Group:          Documentation
44
45 %description apidocs
46 OpenVAS administrator API documentation.
47
48 %prep
49 %setup -q
50
51 %build
52 install -d build
53 cd build
54 %cmake \
55         -DLOCALSTATEDIR=/var \
56         ..
57 %{__make}
58
59 %if %{with apidocs}
60 %{__make} doc
61 %endif
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} -C build install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc CHANGES ChangeLog README
75 %doc doc/{*.html,*.rnc,*.conf}
76 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openvas/openvasad_log.conf
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openvas/pwpolicy.conf
78 %attr(755,root,root) %{_sbindir}/*
79 %{_mandir}/man8/*.8*
80 %{_datadir}/openvas/openvasad
This page took 0.035853 seconds and 3 git commands to generate.