2012-06-26 19:56:30 +00:00
|
|
|
Summary: Enhanced seccomp library
|
|
|
|
Name: libseccomp
|
2013-06-10 21:09:00 +00:00
|
|
|
Version: 2.1.0
|
2012-07-30 19:53:24 +00:00
|
|
|
Release: 0%{?dist}
|
2013-06-10 21:09:00 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 %{arm}
|
2012-06-26 19:56:30 +00:00
|
|
|
License: LGPLv2
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source: http://downloads.sf.net/project/libseccomp/%{name}-%{version}.tar.gz
|
|
|
|
URL: http://libseccomp.sourceforge.net
|
2013-06-10 21:09:00 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2012-06-26 19:56:30 +00:00
|
|
|
Requires: kernel >= 3.5
|
2013-06-10 21:09:00 +00:00
|
|
|
%endif
|
|
|
|
%ifarch %{arm}
|
|
|
|
Requires: kernel >= 3.8
|
|
|
|
%endif
|
2012-06-26 19:56:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The libseccomp library provides an easy to use interface to the Linux Kernel's
|
|
|
|
syscall filtering mechanism, seccomp. The libseccomp API allows an application
|
|
|
|
to specify which syscalls, and optionally which syscall arguments, the
|
|
|
|
application is allowed to execute, all of which are enforced by the Linux
|
|
|
|
Kernel.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files used to build applications with libseccomp support
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libseccomp library provides an easy to use interface to the Linux Kernel's
|
|
|
|
syscall filtering mechanism, seccomp. The libseccomp API allows an application
|
|
|
|
to specify which syscalls, and optionally which syscall arguments, the
|
|
|
|
application is allowed to execute, all of which are enforced by the Linux
|
|
|
|
Kernel.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
./configure --prefix="%{_prefix}" --libdir="%{_libdir}"
|
2012-07-30 19:53:24 +00:00
|
|
|
make V=1 %{?_smp_mflags}
|
2012-06-26 19:56:30 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf "%{buildroot}"
|
|
|
|
mkdir -p "%{buildroot}/%{_libdir}"
|
|
|
|
mkdir -p "%{buildroot}/%{_includedir}"
|
|
|
|
mkdir -p "%{buildroot}/%{_mandir}"
|
2012-07-30 19:53:24 +00:00
|
|
|
make V=1 DESTDIR="%{buildroot}" install
|
2012-06-26 19:56:30 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENSE
|
|
|
|
%doc CREDITS
|
|
|
|
%doc README
|
|
|
|
%{_libdir}/libseccomp.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/seccomp.h
|
|
|
|
%{_libdir}/libseccomp.so
|
|
|
|
%{_libdir}/pkgconfig/libseccomp.pc
|
2013-06-10 21:09:00 +00:00
|
|
|
%{_bindir}/scmp_sys_resolver
|
|
|
|
%{_mandir}/man1/*
|
2012-06-26 19:56:30 +00:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2013-06-10 21:09:00 +00:00
|
|
|
* Tue Jun 11 2013 Paul Moore <pmoore@redhat.com> - 2.1.0-0
|
|
|
|
- New upstream version
|
|
|
|
- Added support for the ARM architecture
|
|
|
|
- Added the scmp_sys_resolver tool
|
2013-01-23 19:50:38 +00:00
|
|
|
* Mon Jan 28 2013 Paul Moore <pmoore@redhat.com> - 2.0.0-0
|
|
|
|
- New upstream version
|
2012-11-13 14:51:43 +00:00
|
|
|
* Tue Nov 13 2012 Paul Moore <pmoore@redhat.com> - 1.0.1-0
|
|
|
|
- New upstream version with several important fixes
|
2012-07-30 19:53:24 +00:00
|
|
|
* Tue Jul 31 2012 Paul Moore <pmoore@redhat.com> - 1.0.0-0
|
|
|
|
- New upstream version
|
|
|
|
- Remove verbose build patch as it is no longer needed
|
|
|
|
- Enable _smp_mflags during build stage
|
2012-07-19 21:08:06 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
2012-07-10 19:38:47 +00:00
|
|
|
* Tue Jul 10 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-1
|
|
|
|
- Limit package to x86/x86_64 platforms (RHBZ #837888)
|
2012-06-26 19:56:30 +00:00
|
|
|
* Tue Jun 12 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-0
|
|
|
|
- Initial version
|
|
|
|
|