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