1 | Summary: Enhanced seccomp library |
---|
2 | Name: libseccomp |
---|
3 | Version: 2.4.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mipsel mips64el ppc64 ppc64le s390 s390x |
---|
6 | License: LGPLv2 |
---|
7 | Group: System Environment/Libraries |
---|
8 | Source: https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz |
---|
9 | URL: https://github.com/seccomp/libseccomp |
---|
10 | #BuildRequires: valgrind >= 1:3.13.0-4 |
---|
11 | |
---|
12 | Vendor: Project Vine |
---|
13 | Distribution: Vine Linux |
---|
14 | Packager: tomop |
---|
15 | |
---|
16 | %description |
---|
17 | The libseccomp library provides an easy to use interface to the Linux Kernel's |
---|
18 | syscall filtering mechanism, seccomp. The libseccomp API allows an application |
---|
19 | to specify which syscalls, and optionally which syscall arguments, the |
---|
20 | application is allowed to execute, all of which are enforced by the Linux |
---|
21 | Kernel. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Development files used to build applications with libseccomp support |
---|
25 | Group: Development/Libraries |
---|
26 | Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig |
---|
27 | |
---|
28 | %description devel |
---|
29 | The libseccomp library provides an easy to use interface to the Linux Kernel's |
---|
30 | syscall filtering mechanism, seccomp. The libseccomp API allows an application |
---|
31 | to specify which syscalls, and optionally which syscall arguments, the |
---|
32 | application is allowed to execute, all of which are enforced by the Linux |
---|
33 | Kernel. |
---|
34 | |
---|
35 | %package static |
---|
36 | Summary: Enhanced seccomp static library |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name}-devel%{?_isa} = %{version}-%{release} pkgconfig |
---|
39 | |
---|
40 | %description static |
---|
41 | The libseccomp library provides an easy to use interface to the Linux Kernel's |
---|
42 | syscall filtering mechanism, seccomp. The libseccomp API allows an application |
---|
43 | to specify which syscalls, and optionally which syscall arguments, the |
---|
44 | application is allowed to execute, all of which are enforced by the Linux |
---|
45 | Kernel. |
---|
46 | |
---|
47 | %prep |
---|
48 | %setup -q |
---|
49 | |
---|
50 | %build |
---|
51 | %configure |
---|
52 | make V=1 %{?_smp_mflags} |
---|
53 | |
---|
54 | %install |
---|
55 | rm -rf "%{buildroot}" |
---|
56 | mkdir -p "%{buildroot}/%{_libdir}" |
---|
57 | mkdir -p "%{buildroot}/%{_includedir}" |
---|
58 | mkdir -p "%{buildroot}/%{_mandir}" |
---|
59 | make V=1 DESTDIR="%{buildroot}" install |
---|
60 | rm -f "%{buildroot}/%{_libdir}/libseccomp.la" |
---|
61 | |
---|
62 | %check |
---|
63 | make V=1 check |
---|
64 | |
---|
65 | %post -p /sbin/ldconfig |
---|
66 | |
---|
67 | %postun -p /sbin/ldconfig |
---|
68 | |
---|
69 | %files |
---|
70 | %{!?_licensedir:%global license %%doc} |
---|
71 | %license LICENSE |
---|
72 | %doc CREDITS |
---|
73 | %doc README.md |
---|
74 | %doc CHANGELOG |
---|
75 | %doc SUBMITTING_PATCHES |
---|
76 | %{_libdir}/libseccomp.so.* |
---|
77 | |
---|
78 | %files devel |
---|
79 | %{_includedir}/seccomp.h |
---|
80 | %{_libdir}/libseccomp.so |
---|
81 | %{_libdir}/pkgconfig/libseccomp.pc |
---|
82 | %{_bindir}/scmp_sys_resolver |
---|
83 | %{_mandir}/man1/* |
---|
84 | %{_mandir}/man3/* |
---|
85 | |
---|
86 | %files static |
---|
87 | %{_libdir}/libseccomp.a |
---|
88 | |
---|
89 | %changelog |
---|
90 | * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.1-1 |
---|
91 | - new upstream release. |
---|
92 | |
---|
93 | * Fri Sep 08 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.3.2-6 |
---|
94 | - initial build for Vine Linux. |
---|
95 | |
---|
96 | * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-5 |
---|
97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
98 | |
---|
99 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-4 |
---|
100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
101 | |
---|
102 | * Thu Jun 29 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.3.2-3 |
---|
103 | - Re-enable valgrind-based tests on ARMv7 |
---|
104 | |
---|
105 | * Thu Jun 29 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.3.2-2 |
---|
106 | - Disable running valgrind-based tests on ARMv7 due to glibc/valgrind bug (RHBZ #1466017) |
---|
107 | |
---|
108 | * Wed Mar 01 2017 Paul Moore <pmoore@redhat.com> -2.3.2-1 |
---|
109 | - New upstream version |
---|
110 | |
---|
111 | * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2 |
---|
112 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
113 | |
---|
114 | * Wed Apr 20 2016 Paul Moore <pmoore@redhat.com> - 2.3.1-1 |
---|
115 | - Cleanup the changelog whitespace and escape the macros to make rpmlint happy |
---|
116 | |
---|
117 | * Wed Apr 20 2016 Paul Moore <pmoore@redhat.com> - 2.3.1-0 |
---|
118 | - New upstream version |
---|
119 | |
---|
120 | * Tue Mar 1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.0-1 |
---|
121 | - No valgrind on s390 |
---|
122 | |
---|
123 | * Mon Feb 29 2016 Paul Moore <pmoore@redhat.com> - 2.3.0-0 |
---|
124 | - New upstream version |
---|
125 | |
---|
126 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-1 |
---|
127 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
128 | |
---|
129 | * Wed Jul 08 2015 Paul Moore <pmoore@redhat.com> - 2.2.3-0 |
---|
130 | - New upstream version |
---|
131 | |
---|
132 | * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-1 |
---|
133 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
134 | |
---|
135 | * Wed May 13 2015 Paul Moore <pmoore@redhat.com> - 2.2.1-0 |
---|
136 | - New upstream version |
---|
137 | |
---|
138 | * Thu Feb 12 2015 Paul Moore <pmoore@redhat.com> - 2.2.0-0 |
---|
139 | - New upstream version |
---|
140 | - Added aarch64 support |
---|
141 | - Added a static build |
---|
142 | |
---|
143 | * Thu Sep 18 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-6 |
---|
144 | - Fully builds on i686, x86_64, and armv7hl (RHBZ #1106071) |
---|
145 | |
---|
146 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-5 |
---|
147 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
148 | |
---|
149 | * Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 2.1.1-4 |
---|
150 | - fix license handling |
---|
151 | |
---|
152 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-3 |
---|
153 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
154 | |
---|
155 | * Thu Feb 27 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-2 |
---|
156 | - Build with CFLAGS="${optflags}" |
---|
157 | |
---|
158 | * Mon Feb 17 2014 Paul Moore <pmoore@redhat.com> - 2.1.1-1 |
---|
159 | - Removed the kernel dependency (RHBZ #1065572) |
---|
160 | |
---|
161 | * Thu Oct 31 2013 Paul Moore <pmoore@redhat.com> - 2.1.1-0 |
---|
162 | - New upstream version |
---|
163 | - Added a %%check procedure for self-test during build |
---|
164 | |
---|
165 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-1 |
---|
166 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
167 | |
---|
168 | * Tue Jun 11 2013 Paul Moore <pmoore@redhat.com> - 2.1.0-0 |
---|
169 | - New upstream version |
---|
170 | - Added support for the ARM architecture |
---|
171 | - Added the scmp_sys_resolver tool |
---|
172 | |
---|
173 | * Mon Jan 28 2013 Paul Moore <pmoore@redhat.com> - 2.0.0-0 |
---|
174 | - New upstream version |
---|
175 | |
---|
176 | * Tue Nov 13 2012 Paul Moore <pmoore@redhat.com> - 1.0.1-0 |
---|
177 | - New upstream version with several important fixes |
---|
178 | |
---|
179 | * Tue Jul 31 2012 Paul Moore <pmoore@redhat.com> - 1.0.0-0 |
---|
180 | - New upstream version |
---|
181 | - Remove verbose build patch as it is no longer needed |
---|
182 | - Enable _smp_mflags during build stage |
---|
183 | |
---|
184 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2 |
---|
185 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
186 | |
---|
187 | * Tue Jul 10 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-1 |
---|
188 | - Limit package to x86/x86_64 platforms (RHBZ #837888) |
---|
189 | |
---|
190 | * Tue Jun 12 2012 Paul Moore <pmoore@redhat.com> - 0.1.0-0 |
---|
191 | - Initial version |
---|
192 | |
---|