|
| 1 | +Summary: Enhanced seccomp library |
| 2 | +Name: libseccomp |
| 3 | +Version: 2.5.6 |
| 4 | +Release: 1%{?dist} |
| 5 | +License: LGPLv2 |
| 6 | +Vendor: Microsoft Corporation |
| 7 | +Distribution: Azure Linux |
| 8 | +Group: System Environment/Libraries |
| 9 | +URL: https://github.com/seccomp/libseccomp/wiki |
| 10 | +Source0: https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz |
| 11 | +BuildRequires: gperf |
| 12 | +%if 0%{?with_check} |
| 13 | +BuildRequires: which |
| 14 | +%endif |
| 15 | + |
| 16 | +%description |
| 17 | +The libseccomp library provides an easy to use, platform independent, interface |
| 18 | +to the Linux Kernel syscall filtering mechanism: seccomp. The libseccomp API |
| 19 | +is designed to abstract away the underlying BPF based syscall filter language |
| 20 | +and present a more conventional function-call based filtering interface that |
| 21 | +should be familiar to, and easily adopted by application developers. |
| 22 | + |
| 23 | +%package devel |
| 24 | +Summary: Development files used to build applications with libseccomp support |
| 25 | +Group: Development/Libraries |
| 26 | +Requires: %{name} = %{version}-%{release} |
| 27 | +Provides: %{name}-static = %{version}-%{release} |
| 28 | + |
| 29 | +%description devel |
| 30 | +The libseccomp-devel package contains the libraries and header files |
| 31 | +needed for developing secure applications. |
| 32 | + |
| 33 | +%prep |
| 34 | +%autosetup |
| 35 | + |
| 36 | +%build |
| 37 | +%configure |
| 38 | +%make_build |
| 39 | + |
| 40 | +%install |
| 41 | +%make_install |
| 42 | +find %{buildroot} -type f -name "*.la" -delete -print |
| 43 | + |
| 44 | +%check |
| 45 | +%make_build check |
| 46 | + |
| 47 | +%ldconfig_scriptlets |
| 48 | + |
| 49 | +%files |
| 50 | +%license LICENSE |
| 51 | +%doc CREDITS README.md |
| 52 | +%{_libdir}/libseccomp.so.2* |
| 53 | + |
| 54 | +%files devel |
| 55 | +%{_includedir}/seccomp.h |
| 56 | +%{_includedir}/seccomp-syscalls.h |
| 57 | +%{_libdir}/libseccomp.so |
| 58 | +%{_libdir}/libseccomp.a |
| 59 | +%{_libdir}/pkgconfig/libseccomp.pc |
| 60 | +%{_bindir}/scmp_sys_resolver |
| 61 | +%{_mandir}/man1/* |
| 62 | +%{_mandir}/man3/* |
| 63 | + |
| 64 | +%changelog |
| 65 | +* Fri Oct 31 2025 Nan Liu <liunan@microsoft.com> - 2.5.6-1 |
| 66 | +- Upgrade to 2.5.6 |
| 67 | + |
| 68 | +* Tue Nov 05 2024 Nan Liu <liunan@microsoft.com> - 2.5.5-1 |
| 69 | +- Upgrade to 2.5.5 as other older version is no longer supported upstream |
| 70 | + |
| 71 | +* Fri Oct 27 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.5.4-1 |
| 72 | +- Auto-upgrade to 2.5.4 - Azure Linux 3.0 - package upgrades |
| 73 | + |
| 74 | +* Thu Jan 13 2022 Henry Li <lihl@microsoft.com> - 2.5.3-1 |
| 75 | +- Upgrade to version 2.5.3 |
| 76 | +- Add gperf as BR |
| 77 | +- Add /usr/include/seccomp-syscalls.h to libseccomp-devel package |
| 78 | + |
| 79 | +* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 2.4.1-4 |
| 80 | +- Remove pkgconfig provides (no longer necessary) |
| 81 | +- Require base package from devel subpackage |
| 82 | +- Include libseccomp soname version in %%file section |
| 83 | + |
| 84 | +* Tue Jun 29 2021 Thomas Crain <thcrain@microsoft.com> - 2.4.1-3 |
| 85 | +- Provide libseccomp-static from devel subpackage |
| 86 | +- Version the pkgconfig provides |
| 87 | +- Modernize spec with macros |
| 88 | +- Remove libtool archive files |
| 89 | + |
| 90 | +* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> |
| 91 | +- Added %%license line automatically |
| 92 | + |
| 93 | +* Tue Mar 17 2020 Henry Beberman <henry.beberman@microsoft.com> - 2.4.1-1 |
| 94 | +- Update to 2.4.1. License verified. |
| 95 | + |
| 96 | +* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2.3.3-3 |
| 97 | +- Initial CBL-Mariner import from Photon (license: Apache2). |
| 98 | + |
| 99 | +* Wed Jan 9 2019 Michelle Wang <michellew@vmware.com> - 2.3.3-2 |
| 100 | +- Fix make check for libseccomp. |
| 101 | + |
| 102 | +* Mon Sep 10 2018 Bo Gan <ganb@vmware.com> - 2.3.3-1 |
| 103 | +- Updated to version 2.3.3. |
| 104 | + |
| 105 | +* Tue Apr 11 2017 Harish Udaiya KUmar <hudaiyakumar@vmware.com> - 2.3.2-1 |
| 106 | +- Updated to version 2.3.2. |
| 107 | + |
| 108 | +* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 2.2.3-2 |
| 109 | +- GA - Bump release of all rpms. |
| 110 | + |
| 111 | +* Sat Jan 16 2016 Fabio Rapposelli <fabio@vmware.com> - 2.2.3-1 |
| 112 | +- First release of the package. |
0 commit comments