#
# Conditional build:
%bcond_with dynamic # link dynamically with glib, eventlog, pcre (modules are always linked dynamically)
-%if "%{pld_release}" == "ac"
-%bcond_with sql # build with support for logging to SQL DB
-%else
%bcond_without sql # build without support for logging to SQL DB
-%endif
%bcond_without tests # do not perform "make check"
%bcond_without json # build without support for JSON template formatting
%bcond_without mongodb # build without support for mongodb destination
%bcond_without smtp # build without support for logging into SMTP
-%bcond_with system_libivykis # use system libivykis
+%bcond_without system_libivykis # use system libivykis
%bcond_with system_rabbitmq # use system librabbitmq [not supported yet]
-%if "%{pld_release}" == "ac"
-%define glib2_ver 1:2.16.0
-%else
%define glib2_ver 1:2.24.0
-%endif
Summary: Syslog-ng - new generation of the system logger
Summary(pl.UTF-8): Syslog-ng - systemowy demon logujący nowej generacji
Summary(pt_BR.UTF-8): Daemon de log nova geração
Source2: %{name}.conf
Source3: %{name}.logrotate
Source4: http://www.balabit.com/support/documentation/syslog-ng-ose-3.4-guides/en/syslog-ng-ose-v3.4-guide-admin/pdf/%{name}-ose-v3.4-guide-admin.pdf
-# Source4-md5: fbc1516a2af9f40d0a7c4929fdf381b1
+# Source4-md5: 00e499a6d5cee0c82e6111cf4a6eae91
Source5: %{name}-simple.conf
Source6: %{name}.upstart
Patch0: %{name}-datadir.patch