-
Notifications
You must be signed in to change notification settings - Fork 2
/
security.spec.in
41 lines (30 loc) · 935 Bytes
/
security.spec.in
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
%global __debug_package 0
%global __strip true
%global vmoddir %{_libdir}/varnish/vmods
%global vcldir %{_datadir}/varnish/vcl
Name: @PACKAGE@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: ModSecurity : This is a ModSecurity binding for varnish
License: BSD-3-Clause: https://opensource.org/licenses/BSD-3-Clause
URL: https://github.com/xdecock/vmod-modsecurity
Source: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(varnishapi) >= 7.0.0
%description
ModSecurity: Provides way to configure and interface with modsecurity
%prep
%setup -q
%build
%configure CFLAGS="%{optflags}" RST2MAN=:
%make_build V=1
%install
%make_install
rm -f %{buildroot}%{vmoddir}/*.la
%check
%make_build check
%files
%{_mandir}/man*/*
%{vmoddir}/libvmod_sec.so
%changelog
* Sat Jun 29 2019 : Xavier De Cock <[email protected]> - 0.9
- Initial Version of the package, Body handling is still a poc and should be reimplement as VFP/VDP.