add gconf2-devel libblkid-devel

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=29
This commit is contained in:
Marcus Meissner 2012-03-01 10:47:23 +00:00 committed by Git OBS Bridge
parent 162fd106f2
commit c915d712fe

View File

@ -1,7 +1,7 @@
#
# spec file for package openscap (Version 0.5.12)
# spec file for package openscap
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define soname 1
%define with_bindings 0
@ -23,19 +22,30 @@
Name: openscap
Version: 0.8.1
Release: 1.0
License: GPL-3.0+
Group: Development/Tools/Other
Source: http://www.open-scap.org/download/%name-%version.tar.bz2
Source1: oscap-scan.init
Source2: sysconfig.oscap-scan
URL: http://www.open-scap.org/
Url: http://www.open-scap.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libcurl-devel libgcrypt-devel libnl-1_1-devel libxml2-devel libacl-devel
BuildRequires: libacl-devel
BuildRequires: libcurl-devel
BuildRequires: libgcrypt-devel
BuildRequires: libnl-1_1-devel
BuildRequires: libxml2-devel
# Use package name cause of "have choice for perl(XML::Parser): brp-check-suse perl-XML-Parser"
BuildRequires: perl-XML-Parser
BuildRequires: pkg-config python-devel pcre-devel rpm-devel swig libxslt-devel
BuildRequires: libxslt-devel
BuildRequires: openldap2-devel
BuildRequires: pcre-devel
BuildRequires: perl-XML-Parser
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: rpm-devel
BuildRequires: libblkid-devel
BuildRequires: gconf2-devel
BuildRequires: swig
Summary: A Set of Libraries for Integration with SCAP
License: GPL-3.0+
Group: Development/Tools/Other
%description
OpenSCAP is a set of open source libraries providing an easier path for
@ -49,18 +59,18 @@ More information about SCAP can be found at nvd.nist.gov.
%package -n libopenscap%{soname}
Group: System/Libraries
Summary: OpenSCAP C Library
Group: System/Libraries
%description -n libopenscap%{soname}
The OpenSCAP C Library for easy integration with SCAP.
%package devel
Group: Development/Libraries/C and C++
Requires: libopenscap%{soname} = %{version}
Requires: %{name} = %{version}-%{release}
Requires: libopenscap%{soname} = %{version}
Summary: Development Files for OpenSCAP
Group: Development/Libraries/C and C++
%description devel
This package contains the development files (mainly C header files) for the
@ -68,21 +78,21 @@ OpenSCAP C library.
%if 0%{?with_bindings}
%package -n python-openscap
Group: Development/Libraries/Python
%py_requires
Requires: %{name} = %{version}-%{release}
Provides: openscap-python = %{version}-%{release}
Summary: OpenSCAP Python Library
Group: Development/Libraries/Python
%description -n python-openscap
The OpenSCAP Python Library for easy integration with SCAP.
%package -n perl-openscap
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
Requires: %{name} = %{version}-%{release}
Requires: perl = %{perl_version}
Provides: openscap-perl = %{version}-%{release}
Summary: OpenSCAP Perl Library
Group: Development/Libraries/Perl
%description -n perl-openscap
The OpenSCAP Perl Library for easy integration with SCAP.
@ -194,6 +204,7 @@ ln -s %{_datadir}/openscap/scap-fedora14-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
%{_libexecdir}/openscap/probe_iflisteners
%{_libexecdir}/openscap/probe_routingtable
%{_libexecdir}/openscap/probe_rpmverify
%{_libexecdir}/openscap/probe_fileextendedattribute
%dir %{_datadir}/openscap
%dir %{_datadir}/openscap/schemas
%dir %{_datadir}/openscap/xsl