sjmudd / rpms / bacula

Forked from rpms/bacula 3 years ago
Clone
c9d1cfa
%global uid 133
c9d1cfa
%global username bacula
d58a853
6d714fe
Name:			bacula
6d714fe
Version:		5.0.3
a764c8e
Release:		24%{?dist}
6d714fe
Summary:		Cross platform network backup for Linux, Unix, Mac and Windows
66f3524
# See LICENSE for details
a764c8e
License:		AGPLv3 with exceptions
6d714fe
Group:			System Environment/Daemons
6d714fe
URL:			http://www.bacula.org
6d714fe
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6d714fe
6d714fe
Source0:		http://download.sourceforge.net/bacula/bacula-%{version}.tar.gz
d844af1
Source2:		bacula.logrotate
d844af1
Source3:		bacula-checkconf
d844af1
Source4:		bacula-fd.init
d844af1
Source5:		bacula-dir.init
d844af1
Source6:		bacula-sd.init
6d714fe
Source7:		bacula-fd.service
6d714fe
Source8:		bacula-dir.service
6d714fe
Source9:		bacula-sd.service
d844af1
Source10:		bacula-wxconsole.desktop
d844af1
Source11:		bacula-traymonitor.desktop
6d714fe
Source12:		bacula-bat.desktop
6d714fe
Source13:		bacula-traymonitor.console_apps
6d714fe
Source14:		bacula-wxconsole.console_apps
d844af1
Source15:		bacula-fd.sysconfig
d844af1
Source16:		bacula-dir.sysconfig
d844af1
Source17:		bacula-sd.sysconfig
6d714fe
9d64218
Patch1:			bacula-5.0.3-config.patch
d58a853
Patch2:			bacula-5.0.3-nagios-ent-fd.patch
9d64218
Patch3:			bacula-5.0.3-pamd.patch
d58a853
Patch4:			bacula-5.0.2-openssl.patch
d58a853
Patch5:			bacula-5.0.3-queryfile.patch
d58a853
Patch6:			bacula-5.0.2-python27.patch
d58a853
Patch7:			bacula-5.0.3-log-path.patch
d58a853
Patch8:			bacula-5.0.3-sqlite-priv.patch
d58a853
Patch9:			bacula-5.0.3-tray-dir.patch
d58a853
Patch10:		bacula-5.0.3-mysql55.patch
d58a853
Patch11:		bacula-5.0.3-maxvalue.patch
6d714fe
efc30f8
BuildRequires:		openssl-devel, ncurses-devel, perl, glibc-devel
efc30f8
BuildRequires:		libstdc++-devel, libxml2-devel, zlib-devel
efc30f8
BuildRequires:		mysql-devel, postgresql-devel, sqlite-devel
efc30f8
BuildRequires:		desktop-file-utils, python-devel, lzo-devel, sed
10e7a00
BuildRequires:		libacl-devel, readline-devel, libcap-devel
efc30f8
efc30f8
BuildRequires:		atk-devel, pango-devel, pkgconfig, wxGTK-devel
efc30f8
BuildRequires:		gtk2-devel, libgnomeui-devel, GConf2-devel, bonobo-activation-devel
efc30f8
BuildRequires:		ORBit2-devel, libbonobo-devel, libbonoboui-devel
efc30f8
efc30f8
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
efc30f8
BuildRequires:		qt4-devel >= 4.6.2
efc30f8
%endif
efc30f8
efc30f8
%if 0%{?fedora} >= 7 || 0%{?rhel} >= 6
6d714fe
BuildRequires:		tcp_wrappers-devel
efc30f8
%else
efc30f8
BuildRequires:		tcp_wrappers
efc30f8
%endif
efc30f8
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
6d714fe
BuildRequires:		systemd-units
efc30f8
%endif
efc30f8
0745245
0745245
%description
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture and is
0745245
efficient and relatively easy to use, while offering many advanced
0745245
storage management features that make it easy to find and recover lost
0745245
or damaged files.
0745245
0745245
0745245
%package director-mysql
6d714fe
Summary:		Bacula Director with MySQL database support
6d714fe
Group:			System Environment/Daemons
6d714fe
Provides:		bacula-director = %{version}-%{release}
6d714fe
Requires:		bacula-director-common = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description director-mysql
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the bacula director, the server which controls 
0745245
your backup run.
0745245
This director has support for the MySQL database.
0745245
0745245
0745245
%package director-sqlite
6d714fe
Summary:		Bacula Director with sqlite database support
6d714fe
Group:			System Environment/Daemons
6d714fe
Provides:		bacula-director = %{version}-%{release}
6d714fe
Requires:		bacula-director-common = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description director-sqlite
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the bacula director, the server which controls 
0745245
your backup run.
0745245
This director has support for the sqlite database.
0745245
0745245
0745245
%package director-postgresql
6d714fe
Summary:		Bacula Director with PostgresSQL database support
ae4303d
Group:			System Environment/Daemons
6d714fe
Provides:		bacula-director = %{version}-%{release}
6d714fe
Requires:		bacula-director-common = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description director-postgresql
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the bacula director, the server which controls 
0745245
your backup run.
0745245
This director has support for the PostgresSQL database.
0745245
0745245
0745245
%package director-common
6d714fe
Summary:		Common Bacula Director files
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires:		bacula-director = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
6d714fe
Requires:		logwatch
c9d1cfa
Requires(pre):		shadow-utils
c9d1cfa
Requires(postun):	shadow-utils
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
6d714fe
Requires(post):		systemd-sysv
6d714fe
Requires(post):		systemd-units
6d714fe
Requires(preun):	systemd-units
6d714fe
Requires(postun):	systemd-units
d58a853
%else
d58a853
Requires(post):		/sbin/chkconfig
d58a853
Requires(preun):	/sbin/chkconfig
d58a853
Requires(preun):	/sbin/service
d58a853
Requires(postun):	/sbin/service
d58a853
%endif
0745245
0745245
%description director-common
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the common director files, which are shared 
0745245
between all database backends. You have to select a possible
0745245
database backend though, which provides the needed bacula-director
0745245
dependency. Please choose from bacula-director-mysql,
0745245
bacula-director-sqlite or bacula-director-postgresql.
0745245
0745245
0745245
%package client
6d714fe
Summary:		Bacula backup client
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires:		bacula-common = %{version}-%{release}
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
6d714fe
Requires(post):		systemd-sysv
6d714fe
Requires(post):		systemd-units
6d714fe
Requires(preun):	systemd-units
6d714fe
Requires(postun):	systemd-units
d58a853
%else
d58a853
Requires(post):		/sbin/chkconfig
d58a853
Requires(preun):	/sbin/chkconfig
d58a853
Requires(preun):	/sbin/service
d58a853
Requires(postun):	/sbin/service
d58a853
%endif
0745245
0745245
%description client
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the bacula client, the daemon running on the 
0745245
system to be backed up.
0745245
0745245
0745245
%package storage-common
6d714fe
Summary:		Common Bacula storage daemon files
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires:		bacula-storage = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
6d714fe
Requires(post):		systemd-sysv
6d714fe
Requires(post):		systemd-units
6d714fe
Requires(preun):	systemd-units
6d714fe
Requires(postun):	systemd-units
d58a853
%else
d58a853
Requires(post):		/sbin/chkconfig
d58a853
Requires(preun):	/sbin/chkconfig
d58a853
Requires(preun):	/sbin/service
d58a853
Requires(postun):	/sbin/service
d58a853
%endif
0745245
0745245
%description storage-common
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the storage daemon, the daemon responsible for 
0745245
writing the data received from the clients onto tape drives or other 
0745245
mass storage devices.
0745245
0745245
0745245
%package storage-mysql
6d714fe
Summary:		MySQL Bacula storage daemon files
6d714fe
Group:			System Environment/Daemons
6d714fe
Provides:		bacula-storage = %{version}-%{release}
6d714fe
Requires:		bacula-storage-common = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description storage-mysql
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the storage daemon, the daemon responsible for 
0745245
writing the data received from the clients onto tape drives or other 
0745245
mass storage devices.
0745245
0745245
0745245
%package storage-sqlite
6d714fe
Summary:		SQLite Bacula storage daemon files
6d714fe
Group:			System Environment/Daemons
6d714fe
Provides:		bacula-storage = %{version}-%{release}
6d714fe
Requires:		bacula-storage-common = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description storage-sqlite
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the storage daemon, the daemon responsible for 
0745245
writing the data received from the clients onto tape drives or other 
0745245
mass storage devices.
0745245
0745245
0745245
%package storage-postgresql
6d714fe
Summary:		Common Bacula storage daemon files
6d714fe
Group:			System Environment/Daemons
6d714fe
Provides:		bacula-storage = %{version}-%{release}
6d714fe
Requires:		bacula-storage-common = %{version}-%{release}
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description storage-postgresql
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the storage daemon, the daemon responsible for 
0745245
writing the data received from the clients onto tape drives or other 
0745245
mass storage devices.
0745245
0745245
0745245
%package common
6d714fe
Summary:		Common Bacula utilities
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires(pre):		fedora-usermgmt
6d714fe
Obsoletes:		bacula-console-gnome <= 3.0.3
0745245
0745245
%description common
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
0745245
%package console
6d714fe
Summary:		Bacula management console
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description console
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the command-line management console for the bacula 
0745245
backup system.
0745245
d58a853
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
7dc8299
%package console-bat
6d714fe
Summary:		Bacula bat console
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires:		bacula-common = %{version}-%{release}
6d714fe
Requires:		usermode
7dc8299
7dc8299
%description console-bat
7dc8299
Bacula is a set of programs that allow you to manage the backup,
7dc8299
recovery, and verification of computer data across a network of
7dc8299
different computers. It is based on a client/server architecture.
7dc8299
7dc8299
This package contains the bat version of the bacula management console
d58a853
%endif
0745245
0745245
%package console-wxwidgets
6d714fe
Summary:		Bacula console using the wx widgets toolkit
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires:		bacula-common = %{version}-%{release}
6d714fe
Requires:		usermode
0745245
0745245
%description console-wxwidgets
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the wxWidgets version of the bacula management 
0745245
console.
0745245
0745245
0745245
%package traymonitor
6d714fe
Summary:		Bacula monitor for the Gnome and KDE system tray
6d714fe
Group:			System Environment/Daemons
6d714fe
Requires:		bacula-common = %{version}-%{release}
0745245
0745245
%description traymonitor
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the Gnome- and KDE-compatible tray monitor to 
0745245
monitor your bacula server.
0745245
0745245
ab4be64
%package devel
ab4be64
Summary:		Bacula development files
ab4be64
Group:			Development/Libraries
ab4be64
ab4be64
%description devel
ab4be64
Bacula is a set of programs that allow you to manage the backup,
ab4be64
recovery, and verification of computer data across a network of
ab4be64
different computers. It is based on a client/server architecture.
ab4be64
ab4be64
This development package contains static libraries and header files.
ab4be64
ab4be64
d58a853
%package -n nagios-plugins-bacula
d58a853
Summary:		Nagios Plugin - check_bacula
d58a853
Group:			Applications/System
d58a853
d58a853
%description -n nagios-plugins-bacula
d58a853
Provides check_bacula support for Nagios.
d58a853
d58a853
0745245
%prep
0745245
%setup -q -c -n bacula-%{version}
0745245
0745245
pushd bacula-%{version}
9d64218
%patch1 -p1 -b .config
d58a853
%patch2 -p1 -b .nagios-ent-fd
9d64218
%patch3 -p1 -b .pamd
d58a853
%patch4 -p2 -b .openssl
d58a853
%patch5 -p1 -b .queryfile
d58a853
%patch6 -p0 -b .python27
67db508
%patch7 -p1 -b .log-path
d58a853
%patch8 -p0 -b .priv
d58a853
%patch9 -p2 -b .tray-dir
d58a853
%patch10 -p0 -b .mysql55
d58a853
%patch11 -p1 -b .maxvalue
36ac69e
36ac69e
0745245
# Remove execution permissions from files we're packaging as docs later on
0745245
find examples -type f | xargs chmod -x
0745245
find updatedb -type f | xargs chmod -x
0745245
popd
0745245
0745245
# Remove cvs left-overs
0745245
find -name '.cvsignore' | xargs rm -f 
0745245
0745245
# Fix perms of c files to silent rpmlint
0745245
find -type f -name '*.c' | xargs chmod -x 
0745245
find -type f -name '*.h' | xargs chmod -x 
0745245
0745245
# We are building the source several times, each with a different storage backend
d844af1
# and all the common files separated so we can also reduce compilation time
d844af1
# and build graphical consoles where allowed.
d844af1
mkdir bacula-mysql bacula-postgresql bacula-sqlite bacula-base
0745245
0745245
%build
0745245
# Shell function to configure and build a Bacula tree
0745245
build() {
0745245
cp -rl ../bacula-%{version}/* .
7ce52f3
export CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
c49680d
export CPPFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
0745245
%configure \
0745245
	--sysconfdir=%{_sysconfdir}/bacula \
9d64218
	--with-basename=bacula \
0745245
	--with-dir-user=bacula \
0745245
	--with-dir-group=bacula \
0745245
	--with-sd-user=bacula \
Jan Görig e51227f
	--with-sd-group=disk \
0745245
	--with-fd-user=root \
0745245
	--with-fd-group=root \
0745245
	--with-dir-password=@@DIR_PASSWORD@@ \
0745245
	--with-fd-password=@@FD_PASSWORD@@ \
0745245
	--with-sd-password=@@SD_PASSWORD@@ \
0745245
	--with-mon-dir-password=@@MON_DIR_PASSWORD@@ \
0745245
	--with-mon-fd-password=@@MON_FD_PASSWORD@@ \
0745245
	--with-mon-sd-password=@@MON_SD_PASSWORD@@ \
0922a7f
	--with-working-dir=%{_localstatedir}/spool/bacula \
0922a7f
	--with-scriptdir=%{_libexecdir}/bacula \
0745245
	--with-smtp-host=localhost \
0745245
	--with-subsys-dir=%{_localstatedir}/lock/subsys \
0745245
	--with-pid-dir=%{_localstatedir}/run \
d58a853
	--with-plugindir=%{_libdir}/bacula \
efc30f8
	--disable-conio \
efc30f8
	--enable-readline \
0745245
	--enable-largefile \
0745245
	--with-openssl \
0745245
	--with-tcp-wrappers \
0745245
	--with-python \
0745245
	--enable-smartalloc \
0745245
	--with-x \
0745245
	$*
0745245
0745245
if test $? != 0; then 
0745245
  tail -500 config.log
0745245
  : configure failed
0745245
  exit 1
0745245
fi
0745245
d58a853
# Remove RPATH
d58a853
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
d58a853
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
d58a853
7ce52f3
%{__make} %{?_smp_mflags} NO_ECHO=
0745245
0745245
}				
0745245
d844af1
# Regen bat QT project file and build tools
d844af1
pushd bacula-base
d58a853
	%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
d844af1
	export QMAKE=/usr/bin/qmake-qt4
d844af1
	build \
d844af1
		--enable-bat \
d844af1
		--enable-bwx-console \
d844af1
		--enable-tray-monitor \
d844af1
		--enable-client-only
d58a853
	pushd src/qt-console
d58a853
		/usr/bin/qmake-qt4
d58a853
		make
d58a853
	popd
d58a853
	%else
d58a853
	build \
d58a853
		--disable-bat \
d58a853
		--enable-bwx-console \
d58a853
		--enable-tray-monitor \
d58a853
		--enable-client-only
d58a853
	%endif
d58a853
	pushd examples/nagios/check_bacula
d58a853
		CFLAGS="%{optflags}" %{__make} LIBS="-lpthread -ldl -lssl -lcrypto -lz"
46a44b9
	popd
0745245
popd
0745245
d844af1
# Build sqlite director
d844af1
pushd bacula-sqlite
d844af1
	build \
d844af1
		--disable-bat \
d844af1
		--disable-bwx-console \
d844af1
		--disable-tray-monitor \
d844af1
		--enable-build-stored \
d844af1
		--enable-build-dird \
4b3d4ff
		--enable-batch-insert \
d844af1
		--with-sqlite3
d844af1
popd
d844af1
0745245
# Build MySQL director
0745245
pushd bacula-mysql
d844af1
	build \
d844af1
		--disable-bat \
d844af1
		--disable-bwx-console \
d844af1
		--disable-tray-monitor \
d844af1
		--enable-build-stored \
d844af1
		--enable-build-dird \
4b3d4ff
		--enable-batch-insert \
d844af1
		--with-mysql
0745245
popd
0745245
0745245
# Build PostgreSQL director
0745245
pushd bacula-postgresql
d844af1
	build \
d844af1
		--disable-bat \
d844af1
		--disable-bwx-console \
d844af1
		--disable-tray-monitor \
d844af1
		--enable-build-stored \
d844af1
		--enable-build-dird \
4b3d4ff
		--enable-batch-insert \
d844af1
		--with-postgresql
0745245
popd
0745245
0745245
0745245
%install
0745245
rm -rf %{buildroot}
0745245
d844af1
pushd bacula-base
d844af1
	make install DESTDIR=%{buildroot}
d58a853
d58a853
	# install the nagios plugin
d58a853
	%{__mkdir_p} %{buildroot}%{_libdir}/nagios/plugins
d58a853
	%{__install} -m0755 examples/nagios/check_bacula/.libs/check_bacula %{buildroot}%{_libdir}/nagios/plugins/
d58a853
d58a853
	# Desktop Integration
d844af1
	mkdir -p %{buildroot}%{_bindir}
d844af1
	install -m 644 -D scripts/bacula.png %{buildroot}%{_datadir}/pixmaps/bacula.png
d58a853
d58a853
	# bwxconsole
d844af1
	install -m 644 -D src/wx-console/wxwin16x16.xpm %{buildroot}%{_datadir}/pixmaps/wxwin16x16.xpm
d844af1
	install -m 644 -D scripts/wxconsole.pamd %{buildroot}%{_sysconfdir}/pam.d/bwxconsole
d844af1
	install -m 644 -D %{SOURCE14} %{buildroot}%{_sysconfdir}/security/console.apps/bwxconsole
d58a853
	ln -sf consolehelper %{buildroot}%{_bindir}/bwxconsole
d58a853
	desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE10}
d58a853
d844af1
	install -m 644 -D src/tray-monitor/generic.xpm %{buildroot}%{_datadir}/pixmaps/bacula-tray-monitor.xpm
d844af1
	install -m 644 -D scripts/bgnome-console.pamd %{buildroot}%{_sysconfdir}/pam.d/bacula-tray-monitor
d844af1
	install -m 644 -D %{SOURCE13} %{buildroot}%{_sysconfdir}/security/console.apps/bacula-tray-monitor
d844af1
	ln -sf consolehelper %{buildroot}%{_bindir}/bacula-tray-monitor
d844af1
	desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE11}
d58a853
d58a853
	%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
d58a853
	install -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bat_icon.png
d58a853
	install -m 644 -D scripts/bgnome-console.pamd %{buildroot}%{_sysconfdir}/pam.d/bat
d58a853
	install -m 644 -D scripts/bat.console_apps %{buildroot}%{_sysconfdir}/security/console.apps/bat
d58a853
	ln -sf consolehelper %{buildroot}%{_bindir}/bat
d844af1
	desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE12}
d58a853
d58a853
	install -m 755 -D src/qt-console/.libs/bat %{buildroot}%{_sbindir}
d58a853
	install -m 644 -D src/qt-console/bat.conf %{buildroot}%{_sysconfdir}/bacula/bat.conf
d58a853
	%endif
d844af1
popd
d844af1
0745245
pushd bacula-sqlite
0745245
	make install DESTDIR=%{buildroot}
0745245
	mv %{buildroot}%{_sbindir}/bacula-dir  %{buildroot}%{_sbindir}/bacula-dir.sqlite
0745245
	mv %{buildroot}%{_sbindir}/dbcheck  %{buildroot}%{_sbindir}/dbcheck.sqlite
0745245
	mv %{buildroot}%{_sbindir}/bcopy  %{buildroot}%{_sbindir}/bcopy.sqlite
0745245
	mv %{buildroot}%{_sbindir}/bscan  %{buildroot}%{_sbindir}/bscan.sqlite
ae4303d
	mv %{buildroot}%{_sbindir}/btape  %{buildroot}%{_sbindir}/btape.sqlite
ae4303d
	mv %{buildroot}%{_libdir}/libbacsql-%{version}.so %{buildroot}%{_libdir}/libbacsql-%{version}.so.sqlite
b36afda
	rm -f %{buildroot}%{_libdir}/libbacsql.so
0745245
0745245
	for script in create_bacula_database drop_bacula_database drop_bacula_tables \
0745245
			grant_bacula_privileges make_bacula_tables make_catalog_backup \
b36afda
			update_bacula_tables bacula_config; do
0745245
		mv %{buildroot}%{_libexecdir}/bacula/${script} %{buildroot}%{_libexecdir}/bacula/${script}.sqlite
0745245
	done
0745245
popd
0745245
0745245
pushd bacula-mysql
0745245
	make install DESTDIR=%{buildroot}
0745245
	mv %{buildroot}%{_sbindir}/bacula-dir  %{buildroot}%{_sbindir}/bacula-dir.mysql
0745245
	mv %{buildroot}%{_sbindir}/dbcheck  %{buildroot}%{_sbindir}/dbcheck.mysql
0745245
	mv %{buildroot}%{_sbindir}/bcopy  %{buildroot}%{_sbindir}/bcopy.mysql
0745245
	mv %{buildroot}%{_sbindir}/bscan  %{buildroot}%{_sbindir}/bscan.mysql
ae4303d
	mv %{buildroot}%{_sbindir}/btape  %{buildroot}%{_sbindir}/btape.mysql
ae4303d
	mv %{buildroot}%{_libdir}/libbacsql-%{version}.so %{buildroot}%{_libdir}/libbacsql-%{version}.so.mysql
b36afda
	rm -f %{buildroot}%{_libdir}/libbacsql.so
0745245
0745245
	for script in create_bacula_database drop_bacula_database drop_bacula_tables \
0745245
			grant_bacula_privileges make_bacula_tables make_catalog_backup \
b36afda
			update_bacula_tables bacula_config; do
0745245
		mv %{buildroot}%{_libexecdir}/bacula/${script} %{buildroot}%{_libexecdir}/bacula/${script}.mysql
0745245
	done
0745245
popd
0745245
0745245
pushd bacula-postgresql
0745245
	make install DESTDIR=%{buildroot}
0745245
	mv %{buildroot}%{_sbindir}/bacula-dir  %{buildroot}%{_sbindir}/bacula-dir.postgresql
0745245
	mv %{buildroot}%{_sbindir}/dbcheck  %{buildroot}%{_sbindir}/dbcheck.postgresql
0745245
	mv %{buildroot}%{_sbindir}/bcopy  %{buildroot}%{_sbindir}/bcopy.postgresql
0745245
	mv %{buildroot}%{_sbindir}/bscan  %{buildroot}%{_sbindir}/bscan.postgresql
ae4303d
	mv %{buildroot}%{_sbindir}/btape  %{buildroot}%{_sbindir}/btape.postgresql
ae4303d
	mv %{buildroot}%{_libdir}/libbacsql-%{version}.so %{buildroot}%{_libdir}/libbacsql-%{version}.so.postgresql
b36afda
	rm -f %{buildroot}%{_libdir}/libbacsql.so
0745245
0745245
	for script in create_bacula_database drop_bacula_database drop_bacula_tables \
0745245
			grant_bacula_privileges make_bacula_tables make_catalog_backup \
b36afda
			update_bacula_tables bacula_config; do
0745245
		mv %{buildroot}%{_libexecdir}/bacula/${script} %{buildroot}%{_libexecdir}/bacula/${script}.postgresql
0745245
	done
0745245
popd
0745245
0745245
# Fix some wrapper braindeadness
0745245
rm -f %{buildroot}%{_libexecdir}/bacula/bconsole
0745245
rm -f %{buildroot}%{_libexecdir}/bacula/gconsole
b87413e
mv %{buildroot}%{_sbindir}/bwx-console %{buildroot}%{_sbindir}/bwxconsole
b87413e
mv %{buildroot}%{_sysconfdir}/bacula/bwx-console.conf %{buildroot}%{_sysconfdir}/bacula/bwxconsole.conf
0745245
0745245
# logrotate
0745245
mkdir -p %{buildroot}%{_localstatedir}/log/bacula
d844af1
install -m 644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/bacula
0745245
0745245
# And logwatch
d844af1
install -m 755 -D bacula-base/scripts/logwatch/bacula %{buildroot}%{_sysconfdir}/logwatch/scripts/services/bacula
d844af1
install -m 755 -D bacula-base/scripts/logwatch/applybaculadate %{buildroot}%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
d844af1
install -m 644 -D bacula-base/scripts/logwatch/logfile.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
d844af1
install -m 644 -D bacula-base/scripts/logwatch/services.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/services/bacula.conf
0745245
556d4bb
install -m 755 -D %{SOURCE3} %{buildroot}%{_sbindir}/bacula-checkconf
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
a64ae85
# Systemd unit files
799b485
mkdir -p %{buildroot}%{_unitdir}
a64ae85
install -m 755 -D %{SOURCE7}  %{buildroot}%{_unitdir}/bacula-fd.service
a64ae85
install -m 755 -D %{SOURCE8}  %{buildroot}%{_unitdir}/bacula-dir.service
a64ae85
install -m 755 -D %{SOURCE9}  %{buildroot}%{_unitdir}/bacula-sd.service
d58a853
%else
d58a853
# Initscripts
b36afda
install -m 755 -D %{SOURCE4}  %{buildroot}%{_initrddir}/bacula-fd
b36afda
install -m 755 -D %{SOURCE5}  %{buildroot}%{_initrddir}/bacula-dir
b36afda
install -m 755 -D %{SOURCE6}  %{buildroot}%{_initrddir}/bacula-sd
d58a853
%endif
d844af1
d844af1
# Sysconfig
d844af1
install -m 644 -D %{SOURCE15}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-fd
d844af1
install -m 644 -D %{SOURCE16}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-dir
d844af1
install -m 644 -D %{SOURCE17}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-sd
Jan Görig e51227f
0745245
# Wipe backup files from the multiple make install calls
0745245
rm -vf %{buildroot}%{_sysconfdir}/bacula/*.{new,old}
0745245
rm -vf %{buildroot}%{_libexecdir}/bacula/*.{new,old}
0745245
0745245
# Create the spooling
0745245
mkdir -p %{buildroot}%{_localstatedir}/spool/bacula
0745245
0745245
# Move some files around
0745245
mv %{buildroot}%{_libexecdir}/bacula/query.sql %{buildroot}%{_sysconfdir}/bacula/query.sql
0745245
0745245
# Nuke the scripts we do not need
0745245
rm -vf %{buildroot}%{_libexecdir}/bacula/{bacula,bacula-ctl-*,startmysql,stopmysql} 
0745245
0745245
# Fix up some perms so rpmlint does not complain too much
0745245
chmod 755 %{buildroot}%{_sbindir}/*
0745245
chmod 755 %{buildroot}%{_libexecdir}/bacula/*
0745245
chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
0745245
bf00cf0
# Remove extra docs
bf00cf0
rm -rf %{buildroot}%{_datadir}/doc/bacula/
bf00cf0
ab4be64
# Install headers
ab4be64
%{__mkdir_p} %{buildroot}%{_includedir}/bacula
ab4be64
pushd %{name}-%{version}
ab4be64
	for dir in src src/cats src/console src/dird src/filed src/findlib src/lib src/plugins/sd src/stored; do
ab4be64
		%{__mkdir_p} %{buildroot}%{_includedir}/bacula/$dir
ab4be64
		%{__install} -m 644 $dir/*.h %{buildroot}%{_includedir}/bacula/$dir
ab4be64
	done
ab4be64
popd
d58a853
d58a853
0745245
%clean
0745245
rm -rf %{buildroot}
0745245
0745245
0745245
%post director-mysql
0745245
/usr/sbin/alternatives --install /usr/sbin/bacula-dir bacula-dir /usr/sbin/bacula-dir.mysql 50 \
0745245
	--slave /usr/sbin/dbcheck bacula-dbcheck /usr/sbin/dbcheck.mysql \
ae4303d
	--slave %{_libdir}/libbacsql-%{version}.so libbacsql-%{version}.so %{_libdir}/libbacsql-%{version}.so.mysql \
b36afda
	--slave %{_libdir}/libbacsql.so libbacsql.so %{_libdir}/libbacsql-%{version}.so \
d03ec39
	--slave /usr/libexec/bacula/create_bacula_database create_bacula_database /usr/libexec/bacula/create_bacula_database.mysql \
d03ec39
	--slave /usr/libexec/bacula/drop_bacula_database drop_bacula_database /usr/libexec/bacula/drop_bacula_database.mysql \
d03ec39
	--slave /usr/libexec/bacula/drop_bacula_tables drop_bacula_tables /usr/libexec/bacula/drop_bacula_tables.mysql \
d03ec39
	--slave /usr/libexec/bacula/grant_bacula_privileges grant_bacula_privileges /usr/libexec/bacula/grant_bacula_privileges.mysql \
d03ec39
	--slave /usr/libexec/bacula/make_bacula_tables make_bacula_tables /usr/libexec/bacula/make_bacula_tables.mysql \
d03ec39
	--slave /usr/libexec/bacula/make_catalog_backup make_catalog_backup /usr/libexec/bacula/make_catalog_backup.mysql \
b36afda
	--slave /usr/libexec/bacula/update_bacula_tables update_bacula_tables /usr/libexec/bacula/update_bacula_tables.mysql \
b36afda
	--slave /usr/libexec/bacula/bacula_config bacula_config /usr/libexec/bacula/bacula_config.mysql
976bf7f
/sbin/ldconfig
0745245
0745245
%post director-sqlite
0745245
/usr/sbin/alternatives --install /usr/sbin/bacula-dir bacula-dir /usr/sbin/bacula-dir.sqlite 40 \
0745245
	--slave /usr/sbin/dbcheck bacula-dbcheck /usr/sbin/dbcheck.sqlite \
ae4303d
	--slave %{_libdir}/libbacsql-%{version}.so libbacsql-%{version}.so %{_libdir}/libbacsql-%{version}.so.sqlite \
b36afda
	--slave %{_libdir}/libbacsql.so libbacsql.so %{_libdir}/libbacsql-%{version}.so \
d03ec39
	--slave /usr/libexec/bacula/create_bacula_database create_bacula_database /usr/libexec/bacula/create_bacula_database.sqlite \
d03ec39
	--slave /usr/libexec/bacula/drop_bacula_database drop_bacula_database /usr/libexec/bacula/drop_bacula_database.sqlite \
d03ec39
	--slave /usr/libexec/bacula/drop_bacula_tables drop_bacula_tables /usr/libexec/bacula/drop_bacula_tables.sqlite \
d03ec39
	--slave /usr/libexec/bacula/grant_bacula_privileges grant_bacula_privileges /usr/libexec/bacula/grant_bacula_privileges.sqlite \
d03ec39
	--slave /usr/libexec/bacula/make_bacula_tables make_bacula_tables /usr/libexec/bacula/make_bacula_tables.sqlite \
d03ec39
	--slave /usr/libexec/bacula/make_catalog_backup make_catalog_backup /usr/libexec/bacula/make_catalog_backup.sqlite \
b36afda
	--slave /usr/libexec/bacula/update_bacula_tables update_bacula_tables /usr/libexec/bacula/update_bacula_tables.sqlite \
b36afda
	--slave /usr/libexec/bacula/bacula_config bacula_config /usr/libexec/bacula/bacula_config.sqlite
976bf7f
/sbin/ldconfig
0745245
0745245
%post director-postgresql
0745245
/usr/sbin/alternatives --install /usr/sbin/bacula-dir bacula-dir /usr/sbin/bacula-dir.postgresql 60 \
0745245
	--slave /usr/sbin/dbcheck bacula-dbcheck /usr/sbin/dbcheck.postgresql \
ae4303d
	--slave %{_libdir}/libbacsql-%{version}.so libbacsql-%{version}.so %{_libdir}/libbacsql-%{version}.so.postgresql \
b36afda
	--slave %{_libdir}/libbacsql.so libbacsql.so %{_libdir}/libbacsql-%{version}.so \
d03ec39
	--slave /usr/libexec/bacula/create_bacula_database create_bacula_database /usr/libexec/bacula/create_bacula_database.postgresql \
d03ec39
	--slave /usr/libexec/bacula/drop_bacula_database drop_bacula_database /usr/libexec/bacula/drop_bacula_database.postgresql \
d03ec39
	--slave /usr/libexec/bacula/drop_bacula_tables drop_bacula_tables /usr/libexec/bacula/drop_bacula_tables.postgresql \
d03ec39
	--slave /usr/libexec/bacula/grant_bacula_privileges grant_bacula_privileges /usr/libexec/bacula/grant_bacula_privileges.postgresql \
d03ec39
	--slave /usr/libexec/bacula/make_bacula_tables make_bacula_tables /usr/libexec/bacula/make_bacula_tables.postgresql \
d03ec39
	--slave /usr/libexec/bacula/make_catalog_backup make_catalog_backup /usr/libexec/bacula/make_catalog_backup.postgresql \
b36afda
	--slave /usr/libexec/bacula/update_bacula_tables update_bacula_tables /usr/libexec/bacula/update_bacula_tables.postgresql \
b36afda
	--slave /usr/libexec/bacula/bacula_config bacula_config /usr/libexec/bacula/bacula_config.postgresql
976bf7f
/sbin/ldconfig
0745245
0745245
%preun director-mysql
e45f06f
if [ "$1" = 0 ]; then
e45f06f
	/usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.mysql
e45f06f
fi
0745245
0745245
%preun director-sqlite
e45f06f
if [ "$1" = 0 ]; then
e45f06f
	/usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.sqlite
e45f06f
fi
0745245
0745245
%preun director-postgresql
e45f06f
if [ "$1" = 0 ]; then
e45f06f
	/usr/sbin/alternatives --remove bacula-dir /usr/sbin/bacula-dir.postgresql
e45f06f
fi
0745245
976bf7f
%postun director-mysql
976bf7f
/sbin/ldconfig
976bf7f
exit 0
976bf7f
976bf7f
%postun director-sqlite
976bf7f
/sbin/ldconfig
976bf7f
exit 0
976bf7f
976bf7f
%postun director-postgresql
976bf7f
/sbin/ldconfig
976bf7f
exit 0
976bf7f
0745245
%pre common
c9d1cfa
getent group %username >/dev/null || groupadd -g %uid -r %username &>/dev/null || :
c9d1cfa
getent passwd %username >/dev/null || useradd -u %uid -r -s /sbin/nologin \
c9d1cfa
	-d /var/spool/bacula -M -c 'Bacula Backup System' -g %username %username &>/dev/null || :
c9d1cfa
exit 0
0745245
0745245
%post storage-mysql
0745245
/usr/sbin/alternatives --install /usr/sbin/bcopy bacula-sd /usr/sbin/bcopy.mysql 50 \
ae4303d
	--slave /usr/sbin/bscan bacula-bscan /usr/sbin/bscan.mysql \
ae4303d
	--slave /usr/sbin/btape bacula-btape /usr/sbin/btape.mysql
0745245
0745245
%post storage-sqlite
0745245
/usr/sbin/alternatives --install /usr/sbin/bcopy bacula-sd /usr/sbin/bcopy.sqlite 40 \
ae4303d
	--slave /usr/sbin/bscan bacula-bscan /usr/sbin/bscan.sqlite \
ae4303d
	--slave /usr/sbin/btape bacula-btape /usr/sbin/btape.sqlite
0745245
0745245
%post storage-postgresql
0745245
/usr/sbin/alternatives --install /usr/sbin/bcopy bacula-sd /usr/sbin/bcopy.postgresql 60 \
ae4303d
	--slave /usr/sbin/bscan bacula-bscan /usr/sbin/bscan.postgresql \
ae4303d
	--slave /usr/sbin/btape bacula-btape /usr/sbin/btape.postgresql
0745245
0745245
%preun storage-mysql
e45f06f
if [ "$1" = 0 ]; then
e45f06f
	/usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.mysql
e45f06f
fi
0745245
0745245
%preun storage-sqlite
e45f06f
if [ "$1" = 0 ]; then
e45f06f
	/usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.sqlite
e45f06f
fi
0745245
0745245
%preun storage-postgresql
e45f06f
if [ "$1" = 0 ]; then
e45f06f
	/usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.postgresql
e45f06f
fi
0745245
c9d1cfa
%postun common
c9d1cfa
test "$1" != 0 || userdel %username &>/dev/null || :
c9d1cfa
test "$1" != 0 || groupdel %username &>/dev/null || :
c9d1cfa
exit 0
c9d1cfa
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
d58a853
45643a0
%post client
45643a0
if [ $1 -eq 1 ] ; then 
45643a0
    # Initial installation 
45643a0
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
45643a0
fi
45643a0
45643a0
%preun client
45643a0
if [ $1 -eq 0 ] ; then
45643a0
    # Package removal, not upgrade
45643a0
    /bin/systemctl --no-reload disable bacula-fd.service > /dev/null 2>&1 || :
45643a0
    /bin/systemctl stop bacula-fd.service > /dev/null 2>&1 || :
45643a0
fi
45643a0
45643a0
%postun client
45643a0
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
45643a0
if [ $1 -ge 1 ] ; then
45643a0
    # Package upgrade, not uninstall
45643a0
    /bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
45643a0
fi
45643a0
a64ae85
%triggerun client -- bacula-client < 5.0.3-10
a64ae85
# Save the current service runlevel info
a64ae85
# User must manually run systemd-sysv-convert --apply bacula-fd
a64ae85
# to migrate them to systemd targets
a64ae85
/usr/bin/systemd-sysv-convert --save bacula-fd >/dev/null 2>&1 ||:
0745245
a64ae85
# Run these because the SysV package being removed won't do them
a64ae85
/sbin/chkconfig --del bacula-fd >/dev/null 2>&1 || :
a64ae85
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
0745245
45643a0
%post director-common
45643a0
if [ $1 -eq 1 ] ; then 
45643a0
    # Initial installation 
45643a0
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
45643a0
fi
45643a0
45643a0
%preun director-common
45643a0
if [ $1 -eq 0 ] ; then
45643a0
    # Package removal, not upgrade
45643a0
    /bin/systemctl --no-reload disable bacula-dir.service > /dev/null 2>&1 || :
45643a0
    /bin/systemctl stop bacula-dir.service > /dev/null 2>&1 || :
45643a0
fi
45643a0
45643a0
%postun director-common
45643a0
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
45643a0
if [ $1 -ge 1 ] ; then
45643a0
    # Package upgrade, not uninstall
45643a0
    /bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
45643a0
fi
45643a0
a64ae85
%triggerun director-common -- bacula-director-common < 5.0.3-10
a64ae85
# Save the current service runlevel info
a64ae85
# User must manually run systemd-sysv-convert --apply bacula-dir
a64ae85
# to migrate them to systemd targets
a64ae85
/usr/bin/systemd-sysv-convert --save bacula-dir >/dev/null 2>&1 ||:
0745245
a64ae85
# Run these because the SysV package being removed won't do them
a64ae85
/sbin/chkconfig --del bacula-dir >/dev/null 2>&1 || :
a64ae85
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
0745245
45643a0
%post storage-common
45643a0
if [ $1 -eq 1 ] ; then 
45643a0
    # Initial installation 
45643a0
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
45643a0
fi
45643a0
45643a0
%preun storage-common
45643a0
if [ $1 -eq 0 ] ; then
45643a0
    # Package removal, not upgrade
45643a0
    /bin/systemctl --no-reload disable bacula-sd.service > /dev/null 2>&1 || :
45643a0
    /bin/systemctl stop bacula-sd.service > /dev/null 2>&1 || :
45643a0
fi
45643a0
45643a0
%postun storage-common
45643a0
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
45643a0
if [ $1 -ge 1 ] ; then
45643a0
    # Package upgrade, not uninstall
45643a0
    /bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
45643a0
fi
45643a0
a64ae85
%triggerun storage-common -- bacula-storage-common < 5.0.3-10 
a64ae85
# Save the current service runlevel info
a64ae85
# User must manually run systemd-sysv-convert --apply bacula-sd
a64ae85
# to migrate them to systemd targets
a64ae85
/usr/bin/systemd-sysv-convert --save bacula-sd >/dev/null 2>&1 ||:
0745245
a64ae85
# Run these because the SysV package being removed won't do them
a64ae85
/sbin/chkconfig --del bacula-sd >/dev/null 2>&1 || :
a64ae85
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
0745245
d58a853
%else
d58a853
d58a853
%post client
d58a853
/sbin/chkconfig --add bacula-fd
d58a853
d58a853
d58a853
%preun client
d58a853
if [ "$1" = 0 ]; then
d58a853
	/sbin/service bacula-fd stop >/dev/null 2>&1 || :
d58a853
	/sbin/chkconfig --del bacula-fd
d58a853
fi
d58a853
d58a853
d58a853
%postun client
d58a853
if [ "$1" -ge "1" ]; then
d58a853
	/sbin/service bacula-fd condrestart >/dev/null 2>&1 || :
d58a853
fi
d58a853
d58a853
d58a853
%post director-common
d58a853
/sbin/chkconfig --add bacula-dir
d58a853
d58a853
d58a853
%preun director-common
d58a853
if [ "$1" = 0 ]; then
d58a853
	/sbin/service bacula-dir stop >/dev/null 2>&1 || :
d58a853
	/sbin/chkconfig --del bacula-dir
d58a853
fi
d58a853
d58a853
d58a853
%postun director-common
d58a853
if [ "$1" -ge "1" ]; then
d58a853
	/sbin/service bacula-dir condrestart >/dev/null 2>&1 || :
d58a853
fi
d58a853
d58a853
d58a853
%post storage-common
d58a853
/sbin/chkconfig --add bacula-sd
d58a853
d58a853
d58a853
%preun storage-common
d58a853
if [ "$1" = 0 ]; then
d58a853
	/sbin/service bacula-sd stop >/dev/null 2>&1 || :
d58a853
	/sbin/chkconfig --del bacula-sd
d58a853
fi
d58a853
d58a853
d58a853
%postun storage-common
d58a853
if [ "$1" -ge "1" ]; then
d58a853
	/sbin/service bacula-sd condrestart >/dev/null 2>&1 || :
d58a853
fi
d58a853
d58a853
%endif
d58a853
0745245
0745245
%files common
b87413e
%defattr(-,root,root,-)
0745245
%doc bacula-%{version}/AUTHORS bacula-%{version}/ChangeLog bacula-%{version}/COPYING bacula-%{version}/LICENSE
d58a853
%doc bacula-%{version}/README bacula-%{version}/SUPPORT bacula-%{version}/VERIFYING bacula-%{version}/ReleaseNotes
0745245
%doc bacula-%{version}/examples/
0745245
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula
7ce52f3
%dir %{_sysconfdir}/bacula
0745245
%dir %{_libexecdir}/bacula
d58a853
%{_libdir}/libbac-%{version}.so
d58a853
%{_libdir}/libbac.so
d58a853
%{_libdir}/libbaccfg-%{version}.so
d58a853
%{_libdir}/libbaccfg.so
d58a853
%{_libdir}/libbacfind-%{version}.so
d58a853
%{_libdir}/libbacfind.so
d58a853
%{_libdir}/libbacpy-%{version}.so
d58a853
%{_libdir}/libbacpy.so
d58a853
%{_sbindir}/bacula-checkconf
0745245
%{_sbindir}/bsmtp
0745245
%{_sbindir}/btraceback
d58a853
%{_sbindir}/bacula
0745245
%{_libexecdir}/bacula/btraceback.dbx
0745245
%{_libexecdir}/bacula/btraceback.gdb
d58a853
%{_libexecdir}/bacula/btraceback.mdb
d58a853
%{_libexecdir}/bacula/mtx-changer.conf
0745245
%{_mandir}/man1/bsmtp.1*
0745245
%{_mandir}/man8/bacula.8*
0745245
%{_mandir}/man8/btraceback.8*
0745245
%dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula
0745245
%dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula
0745245
d844af1
0745245
%files client
0745245
%defattr(-,root,root,-)
0745245
%config(noreplace) %{_sysconfdir}/bacula/bacula-fd.conf
d844af1
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-fd
d58a853
%{_sbindir}/bacula-fd
d58a853
%{_libdir}/bacula/bpipe-fd.so
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
d58a853
%{_unitdir}/bacula-fd.service
d58a853
%else
d58a853
%{_initrddir}/bacula-fd
d58a853
%endif
0745245
%{_mandir}/man8/bacula-fd.8*
0745245
0745245
0745245
%files console
0745245
%defattr(-,root,root,-)
5251a07
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
d58a853
%{_sbindir}/bconsole
0745245
%{_mandir}/man8/bconsole.8*
0745245
0745245
d58a853
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
7dc8299
%files console-bat
7dc8299
%defattr(-,root,root,-)
48cee68
%config %{_sysconfdir}/security/console.apps/bat
48cee68
%config %{_sysconfdir}/pam.d/bat
7dc8299
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bat.conf
48cee68
%{_bindir}/bat
7dc8299
%{_sbindir}/bat
7dc8299
%{_mandir}/man1/bat.1.gz
7dc8299
%{_datadir}/applications/fedora-bacula-bat.desktop
7dc8299
%{_datadir}/pixmaps/bat_icon.png
ab2ba2c
%{_datadir}/pixmaps/bacula.png
d58a853
%endif
7dc8299
0745245
0745245
%files console-wxwidgets
0745245
%defattr(-,root,root,-)
ddc0d55
%config %{_sysconfdir}/security/console.apps/bwxconsole
ddc0d55
%config %{_sysconfdir}/pam.d/bwxconsole
5251a07
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bwxconsole.conf
ddc0d55
%{_bindir}/bwxconsole
b87413e
%{_sbindir}/bwxconsole
b87413e
%{_mandir}/man1/bacula-bwxconsole.1*
0745245
%{_datadir}/applications/fedora-bacula-wxconsole.desktop
0745245
%{_datadir}/pixmaps/wxwin16x16.xpm
0745245
0745245
0745245
%files director-common
0745245
%defattr(-,root,root,-)
b87413e
%doc bacula-%{version}/updatedb/
Jan Görig 38c1d43
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf
d844af1
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
0745245
%config(noreplace) %{_sysconfdir}/bacula/query.sql
0745245
%config %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
0745245
%config %{_sysconfdir}/logwatch/conf/services/bacula.conf
0745245
%{_sysconfdir}/logwatch/scripts/services/bacula
04a9b46
%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
a64ae85
%{_unitdir}/bacula-dir.service
d58a853
%else
d58a853
%{_initrddir}/bacula-dir
d58a853
%endif
0745245
%{_sbindir}/bregex
0745245
%{_sbindir}/bwild
0745245
%{_mandir}/man8/dbcheck.8*
0745245
%{_mandir}/man8/bacula-dir.8*
0745245
%{_libexecdir}/bacula/delete_catalog_backup
ab2ba2c
%{_libexecdir}/bacula/make_catalog_backup.pl
0745245
6d714fe
0745245
%files director-mysql
0745245
%defattr(-,root,root,-)
0745245
%{_sbindir}/bacula-dir.mysql
0745245
%{_sbindir}/dbcheck.mysql
ae4303d
%{_libdir}/libbacsql-%{version}.so.mysql
0745245
%{_libexecdir}/bacula/create_mysql_database
0745245
%{_libexecdir}/bacula/drop_mysql_database
0745245
%{_libexecdir}/bacula/drop_mysql_tables
0745245
%{_libexecdir}/bacula/grant_mysql_privileges
0745245
%{_libexecdir}/bacula/make_mysql_tables
0745245
%{_libexecdir}/bacula/update_mysql_tables
0745245
%{_libexecdir}/bacula/create_bacula_database.mysql
0745245
%{_libexecdir}/bacula/drop_bacula_database.mysql
0745245
%{_libexecdir}/bacula/drop_bacula_tables.mysql
0745245
%{_libexecdir}/bacula/grant_bacula_privileges.mysql
0745245
%{_libexecdir}/bacula/make_bacula_tables.mysql
0745245
%{_libexecdir}/bacula/make_catalog_backup.mysql
0745245
%{_libexecdir}/bacula/update_bacula_tables.mysql
b36afda
%{_libexecdir}/bacula/bacula_config.mysql
0745245
0745245
%files director-sqlite
0745245
%defattr(-,root,root,-)
0745245
%{_sbindir}/bacula-dir.sqlite
0745245
%{_sbindir}/dbcheck.sqlite
ae4303d
%{_libdir}/libbacsql-%{version}.so.sqlite
ebe8b56
%{_libexecdir}/bacula/create_sqlite3_database
ebe8b56
%{_libexecdir}/bacula/drop_sqlite3_database
ebe8b56
%{_libexecdir}/bacula/drop_sqlite3_tables
ebe8b56
%{_libexecdir}/bacula/grant_sqlite3_privileges
ebe8b56
%{_libexecdir}/bacula/make_sqlite3_tables
ebe8b56
%{_libexecdir}/bacula/update_sqlite3_tables
0745245
%{_libexecdir}/bacula/create_bacula_database.sqlite
0745245
%{_libexecdir}/bacula/drop_bacula_database.sqlite
0745245
%{_libexecdir}/bacula/drop_bacula_tables.sqlite
0745245
%{_libexecdir}/bacula/grant_bacula_privileges.sqlite
0745245
%{_libexecdir}/bacula/make_bacula_tables.sqlite
0745245
%{_libexecdir}/bacula/make_catalog_backup.sqlite
0745245
%{_libexecdir}/bacula/update_bacula_tables.sqlite
b36afda
%{_libexecdir}/bacula/bacula_config.sqlite
0745245
0745245
%files director-postgresql
0745245
%defattr(-,root,root,-)
0745245
%{_sbindir}/bacula-dir.postgresql
0745245
%{_sbindir}/dbcheck.postgresql
ae4303d
%{_libdir}/libbacsql-%{version}.so.postgresql
0745245
%{_libexecdir}/bacula/create_postgresql_database
0745245
%{_libexecdir}/bacula/drop_postgresql_database
0745245
%{_libexecdir}/bacula/drop_postgresql_tables
0745245
%{_libexecdir}/bacula/grant_postgresql_privileges
0745245
%{_libexecdir}/bacula/make_postgresql_tables
0745245
%{_libexecdir}/bacula/update_postgresql_tables
0745245
%{_libexecdir}/bacula/create_bacula_database.postgresql
0745245
%{_libexecdir}/bacula/drop_bacula_database.postgresql
0745245
%{_libexecdir}/bacula/drop_bacula_tables.postgresql
0745245
%{_libexecdir}/bacula/grant_bacula_privileges.postgresql
0745245
%{_libexecdir}/bacula/make_bacula_tables.postgresql
0745245
%{_libexecdir}/bacula/make_catalog_backup.postgresql
0745245
%{_libexecdir}/bacula/update_bacula_tables.postgresql
b36afda
%{_libexecdir}/bacula/bacula_config.postgresql
0745245
0745245
%files storage-common
0745245
%defattr(-,root,root,-)
d58a853
%config(noreplace) %{_sysconfdir}/bacula/bacula-sd.conf
d58a853
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-sd
0eb1990
%if 0%{?fedora} >= 16 || 0%{?rhel} > 6
d58a853
%{_unitdir}/bacula-sd.service
d58a853
%else
d58a853
%{_initrddir}/bacula-sd
d58a853
%endif
0745245
%{_sbindir}/bacula-sd
0745245
%{_sbindir}/bextract
0745245
%{_sbindir}/bls
0745245
%{_libexecdir}/bacula/disk-changer
0745245
%{_libexecdir}/bacula/dvd-handler
0745245
%{_libexecdir}/bacula/mtx-changer
0745245
%{_mandir}/man8/bcopy.8*
0745245
%{_mandir}/man8/bextract.8*
0745245
%{_mandir}/man8/bls.8*
0745245
%{_mandir}/man8/bscan.8*
0745245
%{_mandir}/man8/btape.8*
0745245
%{_mandir}/man8/bacula-sd.8*
0745245
0745245
0745245
%files storage-mysql
0745245
%defattr(-,root,root,-)
0745245
%{_sbindir}/bcopy.mysql
0745245
%{_sbindir}/bscan.mysql
ae4303d
%{_sbindir}/btape.mysql
0745245
0745245
%files storage-sqlite
0745245
%defattr(-,root,root,-)
0745245
%{_sbindir}/bcopy.sqlite
0745245
%{_sbindir}/bscan.sqlite
ae4303d
%{_sbindir}/btape.sqlite
0745245
0745245
%files storage-postgresql
0745245
%defattr(-,root,root,-)
0745245
%{_sbindir}/bcopy.postgresql
0745245
%{_sbindir}/bscan.postgresql
ae4303d
%{_sbindir}/btape.postgresql
0745245
0745245
%files traymonitor
0745245
%defattr(-,root,root,-)
5251a07
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/tray-monitor.conf
08062e1
%config %{_sysconfdir}/security/console.apps/bacula-tray-monitor
08062e1
%config %{_sysconfdir}/pam.d/bacula-tray-monitor
d58a853
%{_bindir}/bacula-tray-monitor
d58a853
%{_sbindir}/bacula-tray-monitor
0745245
%{_mandir}/man1/bacula-tray-monitor.1*
0745245
%{_datadir}/applications/fedora-bacula-traymonitor.desktop
0745245
%{_datadir}/pixmaps/bacula-tray-monitor.xpm
0745245
0745245
ab4be64
%files devel
ab4be64
%defattr(-,root,root,-)
ab4be64
%{_includedir}/bacula
ab4be64
%{_libdir}/libbac.la
ab4be64
%{_libdir}/libbaccfg.la
ab4be64
%{_libdir}/libbacfind.la
ab4be64
%{_libdir}/libbacpy.la
ab4be64
%{_libdir}/libbacsql.la
ab4be64
ab4be64
d58a853
%files -n nagios-plugins-bacula
d58a853
%defattr(-,root,root)
d58a853
%{_libdir}/nagios/plugins/check_bacula
d58a853
d58a853
0745245
%changelog
a764c8e
* Fri Jan 27 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-24
a764c8e
- Correct license to AGPLv3.
a764c8e
976bf7f
* Thu Jan 26 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-23
976bf7f
- Add ldconfig after setting up symlinks for libbacsql variants.
976bf7f
b36afda
* Wed Jan 25 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-22
b36afda
- Fix for rhbz#784471.
b36afda
- Add libbaccats.so symlink to alternatives, thanks pghmcfc.
b36afda
ae4303d
* Tue Jan 24 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-21
ae4303d
- Fix postgresql libs dependency issue.
ae4303d
c9d1cfa
* Tue Jan 24 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-20
67db508
- Fix rhbz#728693 and rhbz#726147.
10e7a00
- Remove bacula-docs BuildRequires.
c9d1cfa
- Remove fedora-usermgmt dependency, static id 133 already defined as in:
c9d1cfa
  `cat /usr/share/doc/setup-2.8.36/uidgid | grep bacula`
c9d1cfa
  Upgrades still keep the old uid/gid.
67db508
ab4be64
* Wed Jan 11 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-19
ab4be64
- Add devel subpackage.
3b48670
- Split off docs subpackage.
ab4be64
4b3d4ff
* Mon Jan 09 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-18
4b3d4ff
- Enable batch insert code.
4b3d4ff
0eb1990
* Mon Jan 02 2012 Simone Caronni <negativo17@gmail.com> - 5.0.3-17
0eb1990
- Revert to SySV init scripts as packaging policies forbid systemd
0eb1990
  migration if not changing Fedora release; thanks Lukáš.
0eb1990
d58a853
* Fri Dec 23 2011 Simone Caronni <negativo17@gmail.com> - 5.0.3-16
d58a853
- Add Nagios plugin.
d58a853
- Add conditionals for RHEL building (initscripts, bat).
d58a853
- Enable libtool, bpipe-fd.so plugin and remove dsolink patches.
d58a853
0922a7f
* Fri Dec 23 2011 Simone Caronni <negativo17@gmail.com> - 5.0.3-15
0922a7f
- Spec file cleanup.
efc30f8
- Fix Buildrequires for RHEL.
efc30f8
- Enable POSIX.1e capabilities.
efc30f8
- Enable LZO compression.
efc30f8
- Enable readline support and tab completion in bconsole.
46a44b9
- Remove SQLite 2 support for RHEL 4.
9b4cddd
- Add HTML docs.
f0a462e
- Change SQL query file patch.
43bb97c
- Add back sysconf files and remove redundant user/group in systemd
43bb97c
  service files.
d844af1
- Move build of common parts around to reduce build time and to prepare
d844af1
  for nagios-plugins and conditionals for RHEL.
0922a7f
8a0e9e7
* Thu Dec 22 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-14
8a0e9e7
- removed duplicity from logrotate file (#755970)
8a0e9e7
13c6f37
* Thu Nov 3 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-13
04e03c8
- fixed creating of bacula MySQL tables and bump
04e03c8
aae7e11
* Fri Oct  9 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-12
aae7e11
- fixed restart option in service files (#745529)
36ac69e
- fixed creating of bacula MySQL tables (#724894)
aae7e11
45643a0
* Fri Sep  9 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-11
45643a0
- add missing scriptlets
45643a0
a64ae85
* Thu Sep  8 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-10 
a64ae85
- convert to systemd
a64ae85
86f931b
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 5.0.3-9
86f931b
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
86f931b
ef0818b
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.3-8
ef0818b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ef0818b
Jon Ciesla 68d1a96
* Mon Jan 03 2011 Jon Ciesla <limb@jcomserv.net> - 5.0.3-7
Jon Ciesla 187db2a
- Rebuild for MySQL 5.5, with patch.
Jon Ciesla 68d1a96
Jan Görig 767f6bf
* Fri Nov 26 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-6
Jan Görig 767f6bf
- Fixed previous fix of alternatives
Jan Görig 767f6bf
- Changed initscript return value for non-configured service
Jan Görig 767f6bf
- Director address is required in tray-monitor config now (#626490)
Jan Görig 767f6bf
Jan Görig 38c1d43
* Tue Nov 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-5
Jan Görig 38c1d43
- Fixed alternatives for dbcheck (#650224)
Jan Görig 38c1d43
- Moved director log file to /var/log/bacula/
Jan Görig 38c1d43
- Changed permission of bacula-dir.conf (RHEL #651786)
Jan Görig 38c1d43
- SQLite database is created as bacula user
Jan Görig 38c1d43
Jan Görig e51227f
* Tue Oct 19 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-4
Jan Görig e51227f
- Fixed initscripts and changed default group of bacula-sd (#629697)
Jan Görig e51227f
- Better warning for non-configured password (#556669)
Jan Görig e51227f
Jesse Keating 1b1f00f
* Wed Sep 29 2010 jkeating - 5.0.3-3
Jesse Keating 1b1f00f
- Rebuilt for gcc bug 634757
Jesse Keating 1b1f00f
Jan Görig 7f55ce9
* Thu Sep 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-2
Jan Görig 7f55ce9
- fixed openssl patch, thanks to Enrico Scholz
Jan Görig 7f55ce9
Jon Ciesla c0a3f40
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.3-1
Jon Ciesla c0a3f40
- New upstream.
Jon Ciesla c0a3f40
- DSOlink fix for same.
Jon Ciesla c0a3f40
Jon Ciesla 915c508
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-8
Jon Ciesla 915c508
- Patched configure scripts for Python 2.7.
Jon Ciesla 915c508
Jon Ciesla 915c508
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-7
Jon Ciesla 915c508
- Rebuild against Python 2.7.
Jon Ciesla 915c508
d20cd2f
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 5.0.2-6
d20cd2f
- rebuilt against wxGTK-2.8.11-2
d20cd2f
7ce52f3
* Thu Jun 3 2010 Jan Görig <jgorig@redhat.com> 5.0.2-5
7ce52f3
- removed no longer needed sysconfig subpackage (#593307]
7ce52f3
- build with $RPM_OPT_FLAGS, show compiler commands in build log (#575425)
7ce52f3
  fixed by Ville Skyttä
7ce52f3
- dropped tcp_wrappers build conditional (#537250)
7ce52f3
- fixed location of query.xml in config file (#556480)
7ce52f3
ddc0d55
* Wed Jun 2 2010 Jan Görig <jgorig@redhat.com> 5.0.2-4
ddc0d55
- initscripts improvements
ddc0d55
- fixed consolehelper settings and menu entries
ddc0d55
d1fa04c
* Tue Jun 01 2010 Jon Ciesla 
d1fa04c
- Corrected ssl patch, court. jgorig.
d1fa04c
eb59c7c
* Wed May 19 2010 Jon Ciesla 
eb59c7c
- Corrected bat build, BZ 593149.
eb59c7c
- Corrected ssl patch.
eb59c7c
111191f
* Thu Apr 29 2010 Jon Ciesla 
111191f
- New upstream, 5.0.2.
111191f
- Updated openssl patch.
111191f
0cbe383
* Thu Feb 25 2010 Jon Ciesla 
0cbe383
- New upstream, 5.0.1.
0cbe383
ab2ba2c
* Mon Jan 25 2010 Jon Ciesla 
ab2ba2c
- New upstream, 5.0.0.
ab2ba2c
600d108
* Tue Dec 08 2009 Jon Ciesla 
1d0a7f9
- Drop broken postun scriptlet and dep, BZ 545226.
600d108
04a9b46
* Thu Dec 03 2009 Jon Ciesla 
04a9b46
- Fix applybaculadate location.
04a9b46
04a9b46
* Tue Dec 01 2009 Jon Ciesla 
04a9b46
- Add applybaculadate, BZ 540861.
04a9b46
291a27b
* Tue Nov 24 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 3.0.3-2
291a27b
- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI)
291a27b
c61aaeb
* Mon Oct 19 2009 Jon Ciesla 
c61aaeb
- New upstream, 3.0.3.
c61aaeb
43cef8a
* Sat Aug 22 2009 Tomas Mraz <tmraz@redhat.com> - 3.0.2-4
be575fc
- rebuilt with new openssl
be575fc
61a7978
* Mon Aug 10 2009 Jon Ciesla 
61a7978
- Dropped user/group removal per guidelines.
61a7978
- Added -common dep to traymonitor.
61a7978
08062e1
* Thu Jul 30 2009 Jon Ciesla 
08062e1
- gnome-console consolehelper correction. BZ 426790.
08062e1
- add tray-monitor to consolehelper. BZ 426790
08062e1
f7b73b7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-1
f7b73b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f7b73b7
0036e0f
* Tue Jul 21 2009 Jon Ciesla 
0036e0f
- Update to new upstream, 3.0.2.
0036e0f
- Put full paths in desktop files. BZ 426790.
0036e0f
- Moved console requires from sysconfdir to common BZ 505755.
0036e0f
ffb14ee
* Thu Apr 30 2009 Jon Ciesla 
ffb14ee
- Update to new upstream, 3.0.1.
ffb14ee
bf00cf0
* Tue Apr 21 2009 Jon Ciesla 
bf00cf0
- Update to new upstream, 3.0.0.
bf00cf0
c59737d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-3
c59737d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c59737d
22b9a04
* Fri Jan 23 2009 Jon Ciesla 
22b9a04
- Rebuild against mysql 5.1.
22b9a04
a00ecb2
* Mon Jan 05 2009 Jon Ciesla 
a00ecb2
- Update to new upstream, 2.4.4.
a00ecb2
- Dropped orphaned jobs patch, python 2.6 patch, applied upstream.
a00ecb2
3c14115
* Mon Dec 15 2008 Jon Ciesla 
3c14115
- Patched to support Python 2.6, BZ 476547.
3c14115
48cee68
* Fri Dec 12 2008 Jon Ciesla 
48cee68
- Fix consolehelper behaviour for bat.
48cee68
3bbb33a
* Wed Dec 10 2008 Jon Ciesla 
3bbb33a
- Re-diffed fuzzy bacula-director-configuration and bacula-config patches.
3bbb33a
d0bfbcb
* Mon Dec 1 2008 Andreas Thienemann <andreas@bawue.net> - 2.4.3-4
d0bfbcb
- Fixed dependency "issues" #473627 by adding the sysconfdir subpackage.
d0bfbcb
d372500
* Mon Nov 17 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-3
d372500
- Added upstream orphaned jobs patch.
543315a
- Fixed logrotate file.
d372500
7dc8299
* Mon Nov 10 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-2
7dc8299
- Added bat.  BZ 470800.
7dc8299
d923dd6
* Wed Oct 22 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-1
d923dd6
- Update to 2.4.3.
d923dd6
e45f06f
* Tue Sep 09 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.2-2
e45f06f
- Logrotate fix. BZ 457894.
e45f06f
- Alternatives fix. BZ 458432.
e45f06f
809c9fd
* Thu Jul 31 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.2-1
809c9fd
- Update to 2.4.2.
809c9fd
5d749cf
* Wed Jul 30 2008 Andreas Thienemann <athienem@redhat.com> - 2.2.8-2
5d749cf
- Fixed %%{fedora} comparision, making bacula-sqlite build on rawhide
5d749cf
b87413e
* Fri Jul 25 2008 Jon Ciesla <limb@jcomserv.net> - 2.2.8-1
b87413e
- Update to 2.2.8. BZ 446461.
b87413e
- Dropped director and storage DB-server hard Reqs. BZ 426788.
b87413e
- .desktop fixes.  BZ 450278, 426789.
b87413e
- Updated config patch.
b87413e
- Dropped wxconsole patch, applied upstream.
b87413e
- Updated pamd patch.
b87413e
- Dropped ampm patch, applied upstream.
b87413e
- Dropped maxbyteslist patch, N/A.
b87413e
- Dropped maxwaittime patch, applied upstream.
b87413e
- Dropped scheduler-next-hour patch, applied upstream.
b87413e
- Dropped verify patch, applied upstream.
b87413e
- Dropped tls-disconnect patch, applied upstream.
5251a07
- Fix for 426791.
5251a07
- Introduced patch fuzz workaround, will fix.
b87413e
66f3524
* Mon Jul  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-14
66f3524
- fix conditional comparison
66f3524
- fix license tag
66f3524
9bf8f8a
* Mon Jan 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-13
9bf8f8a
- add BR: dvipdfm
9bf8f8a
8ddf46a
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.0.3-12
8ddf46a
 - Rebuild for deps
8ddf46a
82a0ba0
* Wed Sep 5 2007 Andreas Thienemann <andreas@bawue.net> - 2.0.3-11
82a0ba0
- Remove spooldir in client, fixing #251879
82a0ba0
- Remove dependency on libtermcap, fixing #251158
82a0ba0
f9acda2
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.0.3-10
f9acda2
- Rebuild for selinux ppc32 issue.
f9acda2
d03ec39
* Wed Jul 25 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-9
d03ec39
- Corrected the %%post alternatives calls. Fixing #249560.
d03ec39
0745245
* Wed Jul 19 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-8
0745245
- Moved some files around in the %%files section and refactored
0745245
  spec parts a bit
0745245
- Fixed up the catalog-backup scripts by including them in the
0745245
  alternatives system
0745245
- Applied tls patch fixing some tls disconnection issues.
0745245
0745245
* Thu Jul 18 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-7
0745245
- Minor specchanges, mostly typos in the comments
0745245
- Incorporated minor changes from dgilmore's review.
0745245
0745245
* Fri Jul 13 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-6
0745245
- Fixing %%preun scripts. Thx to Dan for spotting this
0745245
0745245
* Fri Jul 13 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-5
0745245
- Fixed provides and requires
0745245
0745245
* Wed Jul 11 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-4
0745245
- Fixed many rpmlint issues
0745245
0745245
* Thu Apr 26 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-3
0745245
- Final cleanups for fedora
0745245
- Removed webgui for now. It will be back in a future release
0745245
- Added LANG=C calls to the initscripts
0745245
0745245
* Thu Apr 26 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-2
0745245
- Added logdir
0745245
- Fixed up doc-creation to actually work
0745245
- Fixed up web interface
0745245
- Included docs sub-package
0745245
- Included README et al as docs where appropriate
0745245
0745245
* Sat Mar 10 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-1
0745245
- Updated to 2.0.3
0745245
- Reverted the database-check as we're not sure the db is running on the
0745245
  local machine. A later revision might parse the bacula-dir.conf file
0745245
  and just connect to the db to see if it's running.
0745245
0745245
* Sat Feb 28 2007 Andreas Thienemann <andreas@bawue.net> 2.0.2-1
0745245
- Further updates on the spec
0745245
0745245
* Sat Feb 18 2007 Andreas Thienemann <andreas@bawue.net> 2.0.2-1
0745245
- Much work on the spec
0745245
- Updated to 2.0.2
0745245
0745245
* Sat Feb 18 2006 Andreas Thienemann <andreas@bawue.net> 1.38.11-1
0745245
- Initial spec.