Projects
Eulaceura:Factory
openscap
_service:obs_scm:openscap.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:openscap.spec of Package openscap
Name: openscap Version: 1.3.9 Release: 3 Summary: An open source framework in order to provide a interface for using scap License: LGPLv2+ URL: http://www.open-scap.org Source0: https://github.com/OpenSCAP/openscap/archive/%{version}.tar.gz Patch0: openscap-1.3.9-includes.patch BuildRequires: cmake >= 2.6 gcc gcc-c++ swig libxml2-devel libxslt-devel perl-generators perl-XML-Parser BuildRequires: rpm-devel libgcrypt-devel pcre2-devel libacl-devel libselinux-devel libcap-devel libblkid-devel BuildRequires: bzip2-devel asciidoc openldap-devel GConf2-devel dbus-devel chrpath libcurl-devel >= 7.12.0 BuildRequires: make glib2-devel libyaml-devel xmlsec1-devel xmlsec1-openssl-devel %if %{?_with_check:1}%{!?_with_check:0} BuildRequires: perl-XML-XPath bzip2 %endif Requires: libcurl >= 7.12.0 rpmdevtools rpm-build python3-docker Provides: %{name}-scanner = %{version}-%{release} %{name}-utils = %{version}-%{release} Provides: %{name}-engine-sce = %{version}-%{release} %{name}-containers = %{version}-%{release} Obsoletes: python2-openscap < %{version}-%{release} openscap-content-sectool < %{version}-%{release} openscap-extra-probes < %{version}-%{release} Obsoletes: openscap-selinux < %{version}-%{release} openscap-selinux-compat < %{version}-%{release} openscap-extra-probes-sql < %{version}-%{release} Obsoletes: %{name}-containers < %{version}-%{release} %{name}-utils < %{version}-%{release} Obsoletes: %{name}-engine-sce < %{version}-%{release} %{name}-scanner < %{version}-%{release} %description Openscap is an open source framework that integrates secure content automation protocols. Its goal is to provide a simple and easy to use interface for using scap. %package devel Summary: Header files and libraries for development Requires: %{name} = %{version}-%{release} pkgconfig libxml2-devel BuildRequires: doxygen Provides: %{name}-engine-sce-devel = %{version}-%{release} Obsoletes: %{name}-engine-sce-devel < %{version}-%{release} %description devel The openscap-devel package contains the static libraries, the header files and other development content. %package python3 Summary: Python 3 bindings for openscap Requires: %{name} = %{version}-%{release} BuildRequires: python3-devel %description python3 This package contains the bindings, python3 can use openscap libraries through this package. %package perl Summary: Perl bindings for openscap Requires: %{name} = %{version}-%{release} perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl-devel %description perl This package contains the bindings, perl can use openscap libraries through this package. %package help Summary: Help documentation related to openscap Requires: %{name} = %{version}-%{release} BuildArch: noarch %description help This package includes help documentation and manuals related to openscap. %prep %autosetup -n %{name}-%{version} -p1 mkdir -p build %build cd build %cmake -DWITH_PCRE2=ON -DENABLE_DOCS=ON .. %make_build make docs %check %if %{?_with_check:1}%{!?_with_check:0} ctest -V %{?_smp_mflags} %endif %install cd build %make_install %delete_la pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm cd $RPM_BUILD_ROOT/usr file `find -type f`| grep -w ELF | awk -F":" '{print $1}' | for i in `xargs` do chrpath -d $i done cd - mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d echo "%{_bindir}/%{name}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf echo "%{_libdir}/%{name}" >> $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING %{_bindir}/* %{_libdir}/libopenscap.so.* %{_libdir}/libopenscap_sce.so.* %{_datadir}/openscap/schemas/* %{_datadir}/openscap/xsl/* %{_datadir}/openscap/cpe/* %{_sysconfdir}/bash_completion.d %config(noreplace) /etc/ld.so.conf.d/* %files devel %{_libdir}/libopenscap.so %{_libdir}/libopenscap_sce.so %{_libdir}/pkgconfig/*.pc %{_includedir}/openscap %files python3 %{python3_sitearch}/* %{python3_sitelib}/oscap_docker_python/* %files perl %{perl_vendorarch}/* %{perl_vendorlib}/* %files help %doc AUTHORS NEWS README.md docs/oscap-scan.cron %{_pkgdocdir}/manual/* %{_pkgdocdir}/html/* %{_mandir}/man8/* %changelog * Mon Mar 4 2024 liyanan <liyanan61@h-partners.com> - 1.3.9-3 - fix implicit declarations due to missing include * Mon Jan 29 2024 yaoxin <yao_xin001@hoperun.com> - 1.3.9-2 - Port pcre dependency to pcre2 * Wed Jan 10 2024 liyanan <liyanan61@h-partners.com> - 1.3.9-1 - Update to version 1.3.9 * Fri Feb 03 2023 wangkai <wangkai385@h-partners.com> - 1.3.7-1 - Update to version 1.3.7 * Tue May 17 2022 wulei <wulei80@h-partners.com> - 1.3.6-1 - Update package * Mon Sep 13 2021 chenchen <chen_aka_jan@163.com> - 1.3.3-2 - del rpath for some binaries and bin * Mon Jul 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.3-1 - update package * Wed Mar 11 2020 Senlin Xia <xiasenlin1@huawei.com> 1.3.2-5 - Fix scap-workbench compilation failure: declaration of 'operator' as parameter in oval_definitions.h * Sat Feb 29 2020 lihao <lihao129@huawei.com> - 1.3.2-4 - Fix incompatible with rpm-devel-4.15 * Wed Oct 16 2019 dongjian <dongjian13@huawei.com> - 1.3.0_alpha2-3 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2