commit 1170576edc7b3bea6539d1b5cb6d51776ef35cf6
Author: Jakub Bogusz <[email protected]>
Date:   Mon Oct 10 21:05:08 2016 +0200

    - updated to 3.1.0

 prelude-lml.spec | 27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/prelude-lml.spec b/prelude-lml.spec
index c94a527..c8875cc 100644
--- a/prelude-lml.spec
+++ b/prelude-lml.spec
@@ -1,20 +1,26 @@
+#
+# Conditional build:
+%bcond_with    system_libev    # system libev (expects libev built with 
EV_MULTIPLICITY=0)
+#
 Summary:       A network intrusion detection system - log analyzer
 Summary(pl.UTF-8):     System wykrywania intruzów w sieci - analizator logów
 Name:          prelude-lml
-Version:       1.2.6
+Version:       3.1.0
 Release:       1
 License:       GPL v2+
 Group:         Applications
 #Source0Download: https://www.prelude-siem.org/projects/prelude/files
-Source0:       
https://www.prelude-siem.org/attachments/download/411/%{name}-%{version}.tar.gz
-# Source0-md5: 774afee99d96e06a0ebec8c0320b9d2b
+Source0:       
https://www.prelude-siem.org/attachments/download/724/%{name}-%{version}.tar.gz
+# Source0-md5: 2433f9dc036f8e4a01fb05adbf9aafb1
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 URL:           https://www.prelude-siem.org/
 BuildRequires: gnutls-devel >= 1.0.17
 BuildRequires: libicu-devel >= 3.0
+%{?with_system_libev:BuildRequires:    libev-devel}
 BuildRequires: libprelude-devel >= %{version}
 BuildRequires: pcre-devel >= 4.1
+BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.644
 Requires(post,preun):  /sbin/chkconfig
 Requires:      gnutls >= 1.0.17
@@ -36,7 +42,7 @@ od innych aplikacji, takich jak NTSyslog.
 Summary:       Header files for prelude-lml
 Summary(pl.UTF-8):     Pliki nagłówkowe dla prelude-lml
 Group:         Development/Libraries
-Requires:      libprelude-devel >= 0.9.8
+Requires:      libprelude-devel >= %{version}
 
 %description devel
 Header files for prelude-lml.
@@ -47,8 +53,19 @@ Pliki nagłówkowe dla prelude-lml.
 %prep
 %setup -q
 
+%if %{with system_libev}
+# stub
+echo 'all:' > libev/Makefile
+%endif
+
 %build
-%configure
+%configure \
+%if %{with system_libev}
+       LIBEV_CFLAGS=" " \
+       LIBEV_LIBS="-lev" \
+       --with-libev
+%endif
+
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/prelude-lml.git/commitdiff/1170576edc7b3bea6539d1b5cb6d51776ef35cf6

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to