-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsregex.spec
56 lines (37 loc) · 1.04 KB
/
sregex.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Name: sregex
Version: 0.0.1
Release: 1%{?dist}
Summary: libsregex - A non-backtracking NFA/DFA-based Perl-compatible regex engine library for matching on large data streams
License: BSD
URL: https://github.com/openresty/%{name}
Source0: https://github.com/openresty/%{name}/archive/v%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
%description
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
make PREFIX=/usr %{?_smp_mflags}
%install
%make_install PREFIX=/usr
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc
%{_bindir}/*
/usr/lib/*.so*
%files devel
%doc
%{_bindir}/*
%{_includedir}/*
/usr/lib/*.so*
%changelog
* Wed Aug 30 2017 David Beitey <[email protected]>
- First sregex package