Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
libseccomp
libseccomp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libseccomp.spec of Package libseccomp
# # spec file for package libseccomp # # Copyright (c) 2014 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: libseccomp %define lname libseccomp2 Version: 2.1.1 Release: 0 Summary: An enhanced Seccomp (mode 2) helper library License: LGPL-2.1 Group: Development/Libraries/C and C++ Url: http://sf.net/projects/libseccomp/ #Git-Clone: git://git.code.sf.net/p/libseccomp/libseccomp #Git-Clone: git://git.inai.de/libseccomp Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz Patch1: 0001-build-use-autotools-as-build-system.patch Patch2: libseccomp-s390x-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake >= 1.10 BuildRequires: fdupes BuildRequires: libtool >= 2 BuildRequires: pkgconfig %description The libseccomp library provides and easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism: seccomp. The libseccomp API is designed to abstract away the underlying BPF based syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by application developers. %package -n %lname Summary: An enhanced Seccomp (mode 2) helper library Group: System/Libraries %description -n %lname The libseccomp library provides and easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism: seccomp. The libseccomp API is designed to abstract away the underlying BPF based syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by application developers. %package -n python-%name Summary: Python bindings for Seccomp (mode 2) Group: Development/Languages/Python %description -n python-%name The libseccomp library provides and easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism: seccomp. The libseccomp API is designed to abstract away the underlying BPF based syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by application developers. %package devel Summary: Development files for libseccomp, an enhanced Seccomp (mode 2) helper library Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel The libseccomp library provides and easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism: seccomp. The libseccomp API is designed to abstract away the underlying BPF based syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by application developers. This package contains the development files for libseccomp. %package tools Summary: Utilities for the seccomp API Group: Development/Tools/Debuggers %description tools The libseccomp library provides and easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism: seccomp. This subpackage contains debug utilities for the seccomp interface. %prep %setup -q %patch1 -p1 %patch2 -p1 %build chmod a+x autogen.sh; ./autogen.sh; %configure --includedir="%_includedir/pkg/%name" make %{?_smp_mflags}; %install b="%buildroot"; make install DESTDIR="$b"; find "$b/%_libdir" -type f -name "*.la" -delete; %fdupes %buildroot/%_prefix %check %ifarch ppc ppc64 ppc64le s390 s390x make check || true #pushd tests/ #./regression -v #popd %else make check %endif %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %_libdir/%name.so.2* %doc LICENSE %files devel %defattr(-,root,root) %_mandir/man3/seccomp_*.3* %_includedir/pkg/ %_libdir/%name.so %_libdir/pkgconfig/%name.pc %files tools %defattr(-,root,root) %_bindir/scmp_sys_resolver %_mandir/man1/scmp_sys_resolver.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor