- Update to 0.5.12
- Proper subpackages added OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=12
This commit is contained in:
parent
e4733e0fd4
commit
6740ce45f0
3
openscap-0.5.12.tar.bz2
Normal file
3
openscap-0.5.12.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a8755916bdcda26d4e8994fda9ee608b62efec73a11b4d726927a7af2a8cd9e0
|
||||||
|
size 2258460
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e17ff009774bafea2cbf6bb2f7c0249be9cdc389d5f2821de1a45d7d8b162b8e
|
|
||||||
size 1544419
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 5 00:16:27 UTC 2010 - bitshuffler #suse@irc.freenode.org
|
||||||
|
|
||||||
|
- Update to 0.5.12
|
||||||
|
- Proper subpackages added
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 19 13:50:12 CET 2009 - meissner@suse.de
|
Thu Nov 19 13:50:12 CET 2009 - meissner@suse.de
|
||||||
|
|
||||||
|
105
openscap.spec
105
openscap.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openscap (Version 0.5.5)
|
# spec file for package openscap (Version 0.5.12)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -15,19 +15,29 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
%define soname 0
|
||||||
|
|
||||||
Name: openscap
|
Name: openscap
|
||||||
BuildRequires: python-devel libxml2-devel pcre-devel swig libnl-devel rpm-devel pkg-config
|
Version: 0.5.12
|
||||||
License: GPL v3 or later
|
Release: 1.0
|
||||||
|
License: GNU GPL v3 or later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
AutoReqProv: on
|
Source: http://www.open-scap.org/download/%name-%version.tar.bz2
|
||||||
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: libcurl-devel
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: libnl-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
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: pcre-devel
|
||||||
|
BuildRequires: rpm-devel
|
||||||
|
BuildRequires: swig
|
||||||
|
Summary: A Set of Libraries for Integration with SCAP
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenSCAP is a set of open source libraries providing an easier path for
|
OpenSCAP is a set of open source libraries providing an easier path for
|
||||||
@ -39,30 +49,83 @@ related information.
|
|||||||
|
|
||||||
More information about SCAP can be found at nvd.nist.gov.
|
More information about SCAP can be found at nvd.nist.gov.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n libopenscap%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: OpenSCAP C Library
|
||||||
|
|
||||||
|
%description -n libopenscap%{soname}
|
||||||
|
The OpenSCAP C Library for easy integration with SCAP.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n libopenscap-devel
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libopenscap%{soname} = %{version}
|
||||||
|
Summary: Development Files for OpenSCAP
|
||||||
|
|
||||||
|
%description -n libopenscap-devel
|
||||||
|
This package contains the development files (mainly C header files) for the
|
||||||
|
OpenSCAP C library.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python-openscap
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
%py_requires
|
||||||
|
Summary: OpenSCAP Python Library
|
||||||
|
|
||||||
|
%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}
|
||||||
|
Summary: OpenSCAP Perl Library
|
||||||
|
|
||||||
|
%description -n perl-openscap
|
||||||
|
The OpenSCAP Perl Library for easy integration with SCAP.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export SUSE_ASNEEDED=0
|
|
||||||
autoreconf -i -f
|
|
||||||
%configure --disable-silent-rules --disable-probes
|
%configure --disable-silent-rules --disable-probes
|
||||||
make
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# make check
|
%__make check %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%__make install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -name "*.la" -delete
|
||||||
|
|
||||||
|
%post -n libopenscap%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libopenscap%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%__rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING TODO NEWS README THANKS ABOUT-NLS
|
%{_datadir}/openscap
|
||||||
%{_bindir}/*
|
|
||||||
%{_infodir}/*.gz
|
|
||||||
%{_mandir}/*/*
|
|
||||||
|
|
||||||
%changelog
|
%files -n libopenscap%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libopenscap.so.%{soname}*
|
||||||
|
|
||||||
|
%files -n libopenscap-devel
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_includedir}/openscap
|
||||||
|
%{_libdir}/libopenscap.so
|
||||||
|
|
||||||
|
%files -n python-openscap
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{python_sitearch}/_openscap_py.so
|
||||||
|
%{python_sitearch}/openscap.*
|
||||||
|
|
||||||
|
%files -n perl-openscap
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{perl_vendorlib}/openscap.pm
|
||||||
|
%{perl_vendorarch}/_openscap_pm.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user