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