# time to time as it will grow indefinitely. However, it will
# also keep all your messages if they scroll off the console.
#
-- append = "@working_dir@/log" = all, !skipped
-+ append = "/var/log/bacula/log" = all, !skipped
+- append = "@logdir@/bacula.log" = all, !skipped
++ append = "@logdir@/log" = all, !skipped
catalog = all
}
mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
mail = @job_email@ = all, !skipped
console = all, !skipped, !saved
-- append = "@working_dir@/log" = all, !skipped
-+ append = "/var/log/bacula/log" = all, !skipped
+- append = "@logdir@/bacula.log" = all, !skipped
++ append = "@logdir@/log" = all, !skipped
}
# - check on upgrade (5.0 and 5.2 databases are NOT compatible)
#
# Conditional build:
-%bcond_without console_wx # wx-console program
-%if "%{pld_release}" == "ac"
-%bcond_with bat # bat Qt4 GUI
-%else
+%bcond_with console_wx # wx-console program
%bcond_without bat # bat Qt4 GUI
-%endif
%bcond_without mysql # use MySQL
%bcond_without pgsql # use PostgreSQL
%bcond_without sqlite3 # use SQLite3
Summary: Bacula - The Network Backup Solution
Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
Name: bacula
-Version: 5.2.6
-Release: 2
+Version: 5.2.13
+Release: 1
License: AGPL v3
Group: Networking/Utilities
Source0: http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
-# Source0-md5: 914483b92539598678542bd2ddb28043
+# Source0-md5: 43417bae0c221afb1f30a581c9e0f2fe
Source1: http://downloads.sourceforge.net/bacula/%{name}-docs-%{version}.tar.bz2
-# Source1-md5: 30b340fefc46c8148b1ba89cd1db60e4
+# Source1-md5: 0e7af41cc3b1c59662457679b02bf873
Source2: http://downloads.sourceforge.net/bacula/%{name}-rescue-5.0.1.tar.gz
# Source2-md5: bb194aed8e204f54bf2f61d7e721f257
Source10: %{name}-dir.init
--with-dump-email="root@localhost" \
--with-job-email="root@localhost" \
--with-smtp-host=localhost \
+ --with-logdir=/var/log/bacula \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock/subsys \
--with-systemd=/lib/systemd/system \
# qmake somewhy does not always create install_bins target. install our own the bin
rm -f $RPM_BUILD_ROOT%{_sbindir}/bat
libtool --silent --mode=install install src/qt-console/bat $RPM_BUILD_ROOT%{_bindir}
+cp -a scripts/bacula.png $RPM_BUILD_ROOT%{_pixmapsdir}/bacula.png
cp -a scripts/bat.desktop $RPM_BUILD_ROOT%{_desktopdir}
%endif
%files dir
%defattr(644,root,root,755)
-%doc ChangeLog CheckList ReleaseNotes kernstodo LICENSE
+%doc ChangeLog CheckList ReleaseNotes LICENSE
#%doc examples %{name}-docs-%{version}/manual/{*.pdf,bacula}
%attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-dir.conf
%ghost %{_sysconfdir}/.pw.sed