1 Summary: Enhanced Seccomp (mode 2) Helper library
2 Summary(pl.UTF-8): Rozszerzona biblioteka pomocnicza Seccomp (trybu 2)
8 Source0: http://downloads.sourceforge.net/libseccomp/%{name}-%{version}.tar.gz
9 # Source0-md5: bbd85c2e6755fe7dcaca2576655bf289
10 Patch0: %{name}-pc.patch
11 URL: http://libseccomp.sourceforge.net/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 The libseccomp library provides and easy to use, platform independent,
16 interface to the Linux Kernel's syscall filtering mechanism: seccomp.
17 The libseccomp API is designed to abstract away the underlying BPF
18 based syscall filter language and present a more conventional
19 function-call based filtering interface that should be familiar to,
20 and easily adopted by application developers.
22 %description -l pl.UTF-8
23 Biblioteka libseccomp udostępnia łatwy w użyciu, niezależny od
24 platformy interfejs do mechanizmu filtrowania wywołań systemowych
25 jądra Linuksa - seccomp. API libseccomp jest zaprojektowane tak,
26 żeby wyabstrahować język filtrowania wywołań BPF niższego poziomu i
27 zaprezentować bardziej konwencjonalny interfejs filtrowania w oparciu
28 o wywołania funkcji, który powinien być bardziej przyjazny i łatwiej
29 adaptowalny dla programistów aplikacji.
32 Summary: Header files for Seccomp library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Seccomp
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Header files for Seccomp library.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki Seccomp.
44 Summary: Static Seccomp library
45 Summary(pl.UTF-8): Statyczna biblioteka Seccomp
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 Static Seccomp library.
52 %description static -l pl.UTF-8
53 Statyczna biblioteka Seccomp.
60 # not autoconf configure
66 CFLAGS="%{rpmcflags} -Wall" \
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT
76 install src/libseccomp.a $RPM_BUILD_ROOT%{_libdir}
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
86 %doc CHANGELOG CREDITS README
87 %attr(755,root,root) %{_libdir}/libseccomp.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libseccomp.so.1
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libseccomp.so
93 %{_includedir}/seccomp.h
94 %{_pkgconfigdir}/libseccomp.pc
95 %{_mandir}/man3/seccomp_*.3*
98 %defattr(644,root,root,755)
99 %{_libdir}/libseccomp.a