]> git.pld-linux.org Git - packages/libseccomp.git/blame - libseccomp.spec
- updated to 1.0.1
[packages/libseccomp.git] / libseccomp.spec
CommitLineData
98e97d35
JB
1Summary: Enhanced Seccomp (mode 2) Helper library
2Summary(pl.UTF-8): Rozszerzona biblioteka pomocnicza Seccomp (trybu 2)
3Name: libseccomp
7119badd 4Version: 1.0.1
98e97d35
JB
5Release: 1
6License: LGPL v2.1
7Group: Libraries
8Source0: http://downloads.sourceforge.net/libseccomp/%{name}-%{version}.tar.gz
7119badd 9# Source0-md5: bbd85c2e6755fe7dcaca2576655bf289
98e97d35
JB
10Patch0: %{name}-pc.patch
11URL: http://libseccomp.sourceforge.net/
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15The libseccomp library provides and easy to use, platform independent,
16interface to the Linux Kernel's syscall filtering mechanism: seccomp.
17The libseccomp API is designed to abstract away the underlying BPF
18based syscall filter language and present a more conventional
19function-call based filtering interface that should be familiar to,
20and easily adopted by application developers.
21
22%description -l pl.UTF-8
23Biblioteka libseccomp udostępnia łatwy w użyciu, niezależny od
24platformy interfejs do mechanizmu filtrowania wywołań systemowych
25jądra Linuksa - seccomp. API libseccomp jest zaprojektowane tak,
26żeby wyabstrahować język filtrowania wywołań BPF niższego poziomu i
27zaprezentować bardziej konwencjonalny interfejs filtrowania w oparciu
28o wywołania funkcji, który powinien być bardziej przyjazny i łatwiej
29adaptowalny dla programistów aplikacji.
30
31%package devel
32Summary: Header files for Seccomp library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Seccomp
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36
37%description devel
38Header files for Seccomp library.
39
40%description devel -l pl.UTF-8
41Pliki nagłówkowe biblioteki Seccomp.
42
43%package static
44Summary: Static Seccomp library
45Summary(pl.UTF-8): Statyczna biblioteka Seccomp
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static Seccomp library.
51
52%description static -l pl.UTF-8
53Statyczna biblioteka Seccomp.
54
55%prep
56%setup -q
57%patch0 -p1
58
59%build
60# not autoconf configure
61./configure \
62 --prefix=%{_prefix} \
63 --libdir=%{_libdir}
64
65GCC="%{__cc}" \
66CFLAGS="%{rpmcflags} -Wall" \
67%{__make} \
68 V=1
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
75
76install src/libseccomp.a $RPM_BUILD_ROOT%{_libdir}
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%post -p /sbin/ldconfig
82%postun -p /sbin/ldconfig
83
84%files
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
89
90%files devel
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*
96
97%files static
98%defattr(644,root,root,755)
99%{_libdir}/libseccomp.a
This page took 0.036323 seconds and 4 git commands to generate.