libseccomp-vl.spec 6.8 KB

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