Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
Name: bacula
Version: 5.0.1
-Release: 1
+Release: 3
Epoch: 0
License: extended GPL v2
Group: Networking/Utilities
Patch6: %{name}-64bitbuild_fix.patch
Patch7: %{name}-dbi_fixes.patch
Patch8: %{name}-dbi_dbcheck.patch
+Patch9: %{name}-openssl1.patch
URL: http://www.bacula.org/
BuildRequires: acl-devel
BuildRequires: autoconf
#%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue
%post console-wx
%update_configs
+%triggerpostun common -- %{name}-common < 5.0.1-2
+find /etc/bacula/bat.conf* -perm /007 -print0 | xargs -0 -r chmod 600 || :
+
%post console-qt4
%update_configs
%doc LICENSE
%{_pixmapsdir}/%{name}.png
%{_desktopdir}/bacula-wx.desktop
-%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwx-console.conf
+%attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwx-console.conf
%attr(755,root,root) %{_sbindir}/bwx-console
%{_mandir}/man1/bacula-bwxconsole.1*
%endif