hyperscan-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. Name: hyperscan
  2. Version: 5.3.0
  3. Release: 1%{?_dist_release}
  4. Summary: High-performance regular expression matching library
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: BSD
  9. URL: https://www.hyperscan.io/
  10. Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
  11. BuildRequires: gcc-c++
  12. BuildRequires: libboost-devel
  13. BuildRequires: cmake
  14. BuildRequires: pcre-devel
  15. BuildRequires: python
  16. BuildRequires: ragel
  17. BuildRequires: sqlite3-devel
  18. BuildRequires: libpcap-devel
  19. #package requires SSE support and fails to build on non x86_64 archs
  20. ExclusiveArch: x86_64
  21. %description
  22. Hyperscan is a high-performance multiple regex matching library. It
  23. follows the regular expression syntax of the commonly-used libpcre
  24. library, but is a standalone library with its own C API.
  25. Hyperscan uses hybrid automata techniques to allow simultaneous
  26. matching of large numbers (up to tens of thousands) of regular
  27. expressions and for the matching of regular expressions across streams
  28. of data.
  29. Hyperscan is typically used in a DPI library stack.
  30. %package devel
  31. Summary: Libraries and header files for the hyperscan library
  32. Group: programming
  33. Requires: %{name}%{?_isa} = %{version}-%{release}
  34. %description devel
  35. Hyperscan is a high-performance multiple regex matching library. It
  36. follows the regular expression syntax of the commonly-used libpcre
  37. library, but is a standalone library with its own C API.
  38. Hyperscan uses hybrid automata techniques to allow simultaneous
  39. matching of large numbers (up to tens of thousands) of regular
  40. expressions and for the matching of regular expressions across streams
  41. of data.
  42. Hyperscan is typically used in a DPI library stack.
  43. This package provides the libraries, include files and other resources
  44. needed for developing Hyperscan applications.
  45. %debug_package
  46. %prep
  47. %autosetup
  48. %build
  49. #cmake -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_AND_SHARED:BOOL=OFF .
  50. # workaround for https://github.com/intel/hyperscan/issues/186
  51. %__cmake \
  52. -DCMAKE_BUILD_TYPE=Release \
  53. -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
  54. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
  55. -DCMAKE_INSTALL_LIBDIR=%{_lib} \
  56. -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
  57. -DSYSCONF_INSTALL_DIR:PATH=/etc \
  58. -DBUILD_STATIC_AND_SHARED=ON \
  59. .
  60. %make_build
  61. %install
  62. %make_install
  63. rm -f %{buildroot}%{_libdir}/*.a
  64. %files
  65. %doc %{_defaultdocdir}/%{name}/examples/README.md
  66. %doc %{_defaultdocdir}/%{name}/examples/*.cc
  67. %doc %{_defaultdocdir}/%{name}/examples/*.c
  68. %license COPYING
  69. %license LICENSE
  70. %{_libdir}/*.so.*
  71. %files devel
  72. %{_libdir}/*.so
  73. %{_libdir}/pkgconfig/libhs.pc
  74. %{_includedir}/hs/
  75. %changelog
  76. * Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.3.0-1
  77. - new upstream release.
  78. * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.2.1-1
  79. - new upstream release.
  80. * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.2.0-1
  81. - initial build for Vine Linux.
  82. - new upstream release.
  83. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  85. * Wed Apr 10 2019 Jason Taylor <jtfas90@gmail.com> - 5.1.1-1
  86. - Latest upstream version (#1698365)
  87. - Removed patch added for FTBFS (#1675120)
  88. * Tue Feb 12 2019 Björn Esser <besser82@fedoraproject.org> - 5.1.0-1
  89. - Latest upstream version (#1671192)
  90. - Add patch to fix build (#1675120)
  91. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  93. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  95. * Mon Jul 09 2018 Jason Taylor <jtfas90@gmail.com> - 5.0.0-1
  96. - Latest upstream version
  97. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-2
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  99. * Thu Jan 25 2018 Jason Taylor <jtfas90@gmail.com> - 4.7.0-1
  100. - upstream bugfix release
  101. * Fri Sep 22 2017 Jason Taylor <jtfas90@gmail.com> - 4.6.0-1
  102. - latest upstream release
  103. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.2-2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  105. * Thu Jul 27 2017 Jason Taylor <jtfas90@gmail.com> - 4.5.2-1
  106. - upstream bugfix release
  107. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-2
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  109. * Fri Jun 16 2017 Jason Taylor <jtfas90@gmail.com> - 4.5.1-1
  110. - upstream bugfix release
  111. * Fri Jun 09 2017 Jason Taylor <jtfas90@gmail.com> - 4.5.0-1
  112. - Update to latest upstream
  113. - Removed CMakeLists.txt patch, moved into upstream
  114. * Fri May 12 2017 Jason Taylor <jtfas90@gmail.com> - 4.4.1-1
  115. - Update to latest upstream
  116. - Add CMakeLists.txt path patch
  117. - Spec file updates to meet packaging standards
  118. * Fri Sep 2 2016 Jason Taylor <jtfas90@gmail.com> - 4.3.1-1
  119. - Updated to latest upstream release.
  120. * Fri Jul 1 2016 Jason Ish <ish@unx.ca> - 4.2.0-1
  121. - Initial package of Hyperscan.