81 lines
2.0 KiB
RPMSpec
81 lines
2.0 KiB
RPMSpec
|
Name: libseccomp
|
||
|
Version: 2.3.1
|
||
|
Release: 1mamba
|
||
|
Summary: High level interface to the Linux Kernel's seccomp filter
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://sourceforge.net/projects/libseccomp/
|
||
|
## GITSOURCE https://github.com/seccomp/libseccomp.git v2.3.1
|
||
|
Source: https://github.com/seccomp/libseccomp.git/v%{version}/libseccomp-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
High level interface to the Linux Kernel's seccomp filter.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%package tools
|
||
|
Group: Applications/Security
|
||
|
Summary: Utility applications for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description tools
|
||
|
This package contains utility applications for %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
./autogen.sh
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libseccomp.so.*
|
||
|
%doc CREDITS LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/seccomp.h
|
||
|
%{_libdir}/libseccomp.a
|
||
|
%{_libdir}/libseccomp.la
|
||
|
%{_libdir}/libseccomp.so
|
||
|
%{_libdir}/pkgconfig/libseccomp.pc
|
||
|
%{_mandir}/man3/seccomp_*.3*
|
||
|
%doc README
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/scmp_sys_resolver
|
||
|
%{_mandir}/man1/scmp_sys_resolver.1.gz
|
||
|
|
||
|
%changelog
|
||
|
* Fri Jul 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
|
||
|
- package created using the webbuild interface
|