Summary: Bacula - The Network Backup Solution
Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
Name: bacula
-Version: 5.0.2
+Version: 5.0.3
Release: 0.1
License: extended GPL v2
Group: Networking/Utilities
Source0: http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
-# Source0-md5: e9204d2e772f12662de28da3327853de
+# Source0-md5: 9de254ae39cab0587fdb2f5d8d90b03b
Source1: http://downloads.sourceforge.net/bacula/%{name}-docs-%{version}.tar.bz2
-# Source1-md5: 7a6afbf592dde4fae0240d82ed3cb10d
-Source2: http://downloads.sourceforge.net/bacula/%{name}-rescue-5.0.0.tar.gz
-# Source2-md5: 349623581cfe0bcd798dd137abac959a
+# Source1-md5: 7a00557dcf0dfa40de9e74176fefd1ae
+Source2: http://downloads.sourceforge.net/bacula/%{name}-rescue-5.0.1.tar.gz
+# Source2-md5: bb194aed8e204f54bf2f61d7e721f257
Source10: %{name}-dir.init
Source11: %{name}-fd.init
Source12: %{name}-sd.init
Patch3: %{name}-branding.patch
Patch4: %{name}-conf.patch
Patch5: %{name}-desktop.patch
-Patch6: %{name}-64bitbuild_fix.patch
Patch7: %{name}-dbi_fixes.patch
Patch8: %{name}-dbi_dbcheck.patch
Patch9: %{name}-openssl1.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel
BuildRequires: libcap-devel
%{?with_dbi:BuildRequires: libdbi-devel >= 0.8.4}
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2.2
%if %{with rescue}
BuildRequires: fakeroot
%endif
BuildRequires: libwrap-devel
-BuildRequires: mtx
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
%if %{with python}
BuildRequires: python-devel
+BuildRequires: python-modules
%endif
%if %{with bat}
BuildRequires: QtCore-devel
BuildRequires: QtGui-devel
BuildRequires: qt4-build >= 4.3.3-3
BuildRequires: qt4-qmake >= 4.3.3-3
-BuildRequires: qwt-devel >= 5.0.2-2
+#BuildRequires: qwt-devel >= 5.0.2-2
%endif
%{?with_mysql:BuildRequires: mysql-devel}
%{?with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: readline-devel
+BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
%{?with_sqlite3:BuildRequires: sqlite3-devel}
+BuildRequires: which
%if %{with console_wx}
BuildRequires: wxGTK2-unicode-devel >= 2.4.0
%endif
%prep
%setup -q -a 1
%patch0 -p1
-%patch1 -p1
-#%patch2 -p1 CHECKME
+#%patch1 -p1
+#%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
-#%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
# to make sure it is full-featured
for database in %{databases}; do
WXCONFIG=%{_bindir}/wx-gtk2-unicode-config \
+ QMAKE=%{_bindir}/qt4-qmake \
%configure \
--with-scriptdir=%{_libexecdir}/%{name} \
%{?with_bat:--enable-bat} \
rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/bacula-ctl-*
# unsupported
-rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/*_bdb_*
+#rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/*_bdb_*
# rename to avoid possible conflicts
mv $RPM_BUILD_ROOT%{_sbindir}/{,bacula-}dbcheck