SHA256
1
0
forked from pool/openscap
openscap/openscap.spec

69 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package openscap (Version 0.5.5)
#
# 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/
#
Name: openscap
BuildRequires: python-devel libxml2-devel pcre-devel swig libnl-devel rpm-devel pkg-config
License: GPL v3 or later
Group: Development/Tools/Other
AutoReqProv: on
Summary: A Friendly Greeting Program
Version: 0.5.5
Release: 1
Source0: http://www.open-scap.org/download/%name-%version.tar.bz2
Patch0: %name-fixasneeded.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
OpenSCAP is a set of open source libraries providing an easier path for
integration of the SCAP line of standards.
SCAP is a line of standards managed by NIST with the goal of providing
a standard language for the expression of Computer Network Defense
related information.
More information about SCAP can be found at nvd.nist.gov.
%prep
%setup -q
%patch0 -p0
%build
autoreconf -i -f
%configure
make
%check
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root)
%doc COPYING TODO NEWS README THANKS ABOUT-NLS
%{_bindir}/*
%{_infodir}/*.gz
%{_mandir}/*/*
%changelog