From ea6a5da10593507c28ccb29fc31a29a6de4a2f19 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:44:30 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.3.1-1mamba;Fri Jul 29 2016] --- README.md | 2 ++ libseccomp.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 libseccomp.spec diff --git a/README.md b/README.md index 6d7c083..f373478 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libseccomp +High level interface to the Linux Kernel's seccomp filter. + diff --git a/libseccomp.spec b/libseccomp.spec new file mode 100644 index 0000000..7466e2e --- /dev/null +++ b/libseccomp.spec @@ -0,0 +1,80 @@ +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 +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 2.3.1-1mamba +- package created using the webbuild interface