SHA256
1
0
forked from pool/libseccomp

Use standardized changelog format

OBS-URL: https://build.opensuse.org/package/show/security/libseccomp?expand=0&rev=7
This commit is contained in:
Jan Engelhardt 2012-11-15 00:48:06 +00:00 committed by Git OBS Bridge
parent d43bb0df0c
commit 9adf28c48d
3 changed files with 1440 additions and 10 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,11 +2,11 @@
Tue Nov 13 15:40:20 UTC 2012 - meissner@suse.com
- updated to 1.0.1 release
- The header file is now easier to use with C++ compilers
- Minor documentation fixes
- Minor memory leak fixes
- Corrected x86 filter generation on x86_64 systems
- Corrected problems with small filters and filters with arguments
* The header file is now easier to use with C++ compilers
* Minor documentation fixes
* Minor memory leak fixes
* Corrected x86 filter generation on x86_64 systems
* Corrected problems with small filters and filters with arguments
- use public downloadable tarball
-------------------------------------------------------------------

View File

@ -24,12 +24,16 @@ Summary: An enhanced Seccomp (mode 2) helper library
License: LGPL-2.1
Group: Development/Libraries/C and C++
Url: http://sf.net/projects/seccomp/
#DL-URL: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
#DL-URL: http://downloads.sf.net/libseccomp/libseccomp-1.0.1.tar.gz
#Git-Clone: git://git.code.sf.net/p/libseccomp/libseccomp
Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
Patch1: 0001-build-use-ac-variables-in-pkgconfig-file.patch
Patch2: 0001-build-use-autotools-as-build-system.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
BuildRequires: python-Cython
BuildRequires: python-devel
%description
The libseccomp library provides and easy to use, platform
@ -51,6 +55,18 @@ 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++
@ -68,11 +84,12 @@ This package contains the development files for libseccomp.
%prep
%setup -q
%patch -P 1 -p1
%patch -P 1 -P 2 -p1
%build
%configure --includedir=%_includedir/%name-%version
make V=1 %{?_smp_mflags}
./autogen.sh;
%configure --includedir=%_includedir/%name-%version --enable-python
make V=1 %{?_smp_mflags};
%install
b="%buildroot";
@ -87,10 +104,13 @@ find "$b/%_libdir" -type f -name "*.la" -delete;
%defattr(-,root,root)
%_libdir/%name.so.*
%files -n python-libseccomp
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%_mandir/man3/seccomp_*.3*
/usr/include/seccomp.h
%_includedir/%name-%version
%_libdir/%name.so
%_libdir/pkgconfig/%name.pc