%{?build_fc18:%define fc18 1}
%define fc22 0
%{?build_fc22:%define fc22 1}
+%define fc25 0
+%{?build_fc25:%define fc25 1}
+%define fc26 0
+%{?build_fc26:%define fc26 1}
+%define fc27 0
+%{?build_fc27:%define fc27 1}
# RedHat Enterprise builds
%define rhel3 0
%{?build_rhel3:%define rhel3 1}
# if the platform is using systemd
%define usesystemd 0
-%if %{rhel7} || %{fc22} || %{centos7}
+%if %{rhel7} || %{fc22}|| %{fc25} || %{fc26} || %{fc27} || %{centos7}
%define usesystemd 1
%endif
%define rhat 1
%endif
%define fed 0
-%if %{fc16} || %{fc17} || %{fc18} || %{fc22}
+%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27}
%define fed 1
%endif
%define suse 0
%{?build_x86_64:%define x86_64 1}
# check what distribution we are
-%if %{fc16} || %{fc17} || %{fc18} || %{fc22}
+%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27}
%define _dist %(grep Fedora /etc/redhat-release)
%endif
%if %{centos7} || %{centos6}
#
%if %{mysql}
%package mysql
-Provides: libbaccats-%{version}.so()(64bit)
+Provides: bacula-mysql
#
# The following provides is to work around an
# auto generated requires from src/scripts/logwatch/applybaculadate
%endif
%if %{postgresql}
%package postgresql
+Provides: bacula-postgresql
%endif
Summary: Bacula - The Network Backup Solution
Group: System Environment/Daemons
Provides: bacula-dir, bacula-sd, bacula-fd, bacula-server
+Provides: libbaccats-%{version}.so()(64bit)
Conflicts: bacula-client
Requires: ncurses, libstdc++, zlib, openssl
# Remove symlinks
#rm -f $RPM_BUILD_ROOT%{_libdir}/libbaccats.so
#rm -f $RPM_BUILD_ROOT%{_libdir}/libbaccats-%{version}.so
+rm -f $RPM_BUILD_ROOT%{_libdir}/libbacsd.la
# install the init scripts
%if !%{usesystemd}
%attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-fd
%attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-sd
%attr(-, root, %{daemon_group}) %{script_dir}/tapealert
+%attr(-, root, %{daemon_group}) %{script_dir}/baculabackupreport
%attr(-, root, %{daemon_group}) %{plugin_dir}/bpipe-fd.so
%attr(-, root, %{daemon_group}) %{_sbindir}/dbcheck
%{_mandir}/man1/bat.1.%{manpage_ext}
%_prefix/share/doc/*
+%attr(-, root, %{daemon_group}) %{script_dir}/bacula-tray-monitor.desktop
+
%doc ../Release_Notes-%{version}-%{release}.txt
%endif