libseccomp-vl.spec 6.2 KB

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