Tom "spot" Callaway 16d9a3
Name:			bacula
Tom "spot" Callaway 16d9a3
Version:		5.2.2
Tom "spot" Callaway 16d9a3
Release:		1%{?dist}
Tom "spot" Callaway 16d9a3
Summary:		Cross platform network backup for Linux, Unix, Mac and Windows
Tom Callaway 66f352
# See LICENSE for details
Tom "spot" Callaway 16d9a3
License:		GPLv2 with exceptions
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
URL:			http://www.bacula.org
Tom "spot" Callaway 16d9a3
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Tom "spot" Callaway 16d9a3
Source0:		http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.gz
Tom "spot" Callaway 16d9a3
Source1:		http://www.bacula.org/downloads/Bacula-%{version}/%{name}-docs-%{version}.tar.bz2
Tom "spot" Callaway 16d9a3
Source6:		bacula.logrotate
Tom "spot" Callaway 16d9a3
Source7:		bacula-fd.init
Tom "spot" Callaway 16d9a3
Source8:		bacula-dir.init
Tom "spot" Callaway 16d9a3
Source9:		bacula-sd.init
Tom "spot" Callaway 16d9a3
Source10:		bacula-fd.service
Tom "spot" Callaway 16d9a3
Source11:		bacula-dir.service
Tom "spot" Callaway 16d9a3
Source12:		bacula-sd.service
Tom "spot" Callaway 16d9a3
Source13:		bacula-bat.desktop
Tom "spot" Callaway 16d9a3
Source15:		bacula-fd.sysconfig
Tom "spot" Callaway 16d9a3
Source16:		bacula-dir.sysconfig
Tom "spot" Callaway 16d9a3
Source17:		bacula-sd.sysconfig
Tom "spot" Callaway 16d9a3
Source18:		bacula-checkconf
Tom "spot" Callaway 16d9a3
Patch1:			bacula-config.patch
Tom "spot" Callaway 16d9a3
Patch2:			bacula-5.0.2-openssl.patch
Tom "spot" Callaway 16d9a3
Patch3:			bacula-5.0.2-config.patch
Tom "spot" Callaway 16d9a3
Patch4:			bacula-5.2.2-dsolink.patch
Tom "spot" Callaway 16d9a3
Patch5:			bacula-5.0.3-log-path.patch
Tom "spot" Callaway 16d9a3
Patch6:			bacula-5.0.3-sqlite-priv.patch
Tom "spot" Callaway 16d9a3
Patch7:			bacula-5.2.1-bat-pamd.patch
Tom "spot" Callaway 16d9a3
Patch8:			bacula-5.2.2-qt-console-optflags.patch
Tom "spot" Callaway 16d9a3
BuildRequires:		openssl-devel, ncurses-devel, perl, glibc-devel
Tom "spot" Callaway 16d9a3
BuildRequires:		libstdc++-devel, libxml2-devel, zlib-devel
Tom "spot" Callaway 16d9a3
BuildRequires:		mysql-devel, postgresql-devel
Tom "spot" Callaway 16d9a3
BuildRequires:		desktop-file-utils, python-devel, sqlite-devel, sed
Tom "spot" Callaway 16d9a3
BuildRequires:		libacl-devel, latex2html, tetex-latex, tetex, ghostscript
Tom "spot" Callaway 16d9a3
BuildRequires:		readline-devel
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Tom "spot" Callaway 16d9a3
BuildRequires:		qt-devel >= 4.6
Tom "spot" Callaway 16d9a3
%endif
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 7 || 0%{?rhel} >= 6
Tom "spot" Callaway 16d9a3
BuildRequires:		tcp_wrappers-devel
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
BuildRequires:		tcp_wrappers
Tom "spot" Callaway 16d9a3
%endif
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
Tom "spot" Callaway 16d9a3
BuildRequires:		dvipdfm
Tom "spot" Callaway 16d9a3
%endif
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 16d9a3
BuildRequires:		systemd-units
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
Andreas Thienemann 074524
%description
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture and is
Andreas Thienemann 074524
efficient and relatively easy to use, while offering many advanced
Andreas Thienemann 074524
storage management features that make it easy to find and recover lost
Andreas Thienemann 074524
or damaged files.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package director-mysql
Tom "spot" Callaway 16d9a3
Summary:		Bacula Director with MySQL database support
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Provides:		bacula-director = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-director-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Andreas Thienemann 074524
Andreas Thienemann 074524
%description director-mysql
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the bacula director, the server which controls 
Andreas Thienemann 074524
your backup run.
Andreas Thienemann 074524
This director has support for the MySQL database.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package director-sqlite
Tom "spot" Callaway 16d9a3
Summary:		Bacula Director with sqlite database support
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Provides:		bacula-director = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-director-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Andreas Thienemann 074524
Andreas Thienemann 074524
%description director-sqlite
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the bacula director, the server which controls 
Andreas Thienemann 074524
your backup run.
Andreas Thienemann 074524
This director has support for the sqlite database.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package director-postgresql
Tom "spot" Callaway 16d9a3
Summary:		Bacula Director with PostgresSQL database support
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Provides:		bacula-director = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-director-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Andreas Thienemann 074524
Andreas Thienemann 074524
%description director-postgresql
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the bacula director, the server which controls 
Andreas Thienemann 074524
your backup run.
Andreas Thienemann 074524
This director has support for the PostgresSQL database.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package director-common
Tom "spot" Callaway 16d9a3
Summary:		Common Bacula Director files
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Requires:		bacula-director = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		logwatch
Tom "spot" Callaway 16d9a3
Requires(pre):		fedora-usermgmt
Tom "spot" Callaway 16d9a3
Requires(postun): 	fedora-usermgmt
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 16d9a3
Requires(post):		systemd-sysv
Tom "spot" Callaway 16d9a3
Requires(post):		systemd-units
Tom "spot" Callaway 16d9a3
Requires(preun):	systemd-units
Tom "spot" Callaway 16d9a3
Requires(postun):	systemd-units
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
Requires(post):		/sbin/chkconfig
Tom "spot" Callaway 16d9a3
Requires(preun):	/sbin/chkconfig
Tom "spot" Callaway 16d9a3
Requires(preun):	/sbin/service
Tom "spot" Callaway 16d9a3
Requires(postun):	/sbin/service
Tom "spot" Callaway 16d9a3
%endif
Tom "spot" Callaway 16d9a3
Andreas Thienemann 074524
Andreas Thienemann 074524
%description director-common
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the common director files, which are shared 
Andreas Thienemann 074524
between all database backends. You have to select a possible
Andreas Thienemann 074524
database backend though, which provides the needed bacula-director
Andreas Thienemann 074524
dependency. Please choose from bacula-director-mysql,
Andreas Thienemann 074524
bacula-director-sqlite or bacula-director-postgresql.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package client
Tom "spot" Callaway 16d9a3
Summary:		Bacula backup client
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 16d9a3
Requires(post):		systemd-sysv
Tom "spot" Callaway 16d9a3
Requires(post):		systemd-units
Tom "spot" Callaway 16d9a3
Requires(preun):	systemd-units
Tom "spot" Callaway 16d9a3
Requires(postun):	systemd-units
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
Requires(post):		/sbin/chkconfig
Tom "spot" Callaway 16d9a3
Requires(preun):	/sbin/chkconfig
Tom "spot" Callaway 16d9a3
Requires(preun):	/sbin/service
Tom "spot" Callaway 16d9a3
Requires(postun):	/sbin/service
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
Andreas Thienemann 074524
%description client
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the bacula client, the daemon running on the 
Andreas Thienemann 074524
system to be backed up.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package storage-common
Tom "spot" Callaway 16d9a3
Summary: 		Common Bacula storage daemon files
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Requires:		bacula-storage = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 16d9a3
Requires(post):		systemd-sysv
Tom "spot" Callaway 16d9a3
Requires(post):		systemd-units
Tom "spot" Callaway 16d9a3
Requires(preun):	systemd-units
Tom "spot" Callaway 16d9a3
Requires(postun):	systemd-units
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
Requires(post):		/sbin/chkconfig
Tom "spot" Callaway 16d9a3
Requires(preun):	/sbin/chkconfig
Tom "spot" Callaway 16d9a3
Requires(preun):	/sbin/service
Tom "spot" Callaway 16d9a3
Requires(postun):	/sbin/service
Tom "spot" Callaway 16d9a3
%endif
Tom "spot" Callaway 16d9a3
Andreas Thienemann 074524
Andreas Thienemann 074524
%description storage-common
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the storage daemon, the daemon responsible for 
Andreas Thienemann 074524
writing the data received from the clients onto tape drives or other 
Andreas Thienemann 074524
mass storage devices.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package storage-mysql
Tom "spot" Callaway 16d9a3
Summary:		MySQL Bacula storage daemon files
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Provides:		bacula-storage = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-storage-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Andreas Thienemann 074524
Andreas Thienemann 074524
%description storage-mysql
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the storage daemon, the daemon responsible for 
Andreas Thienemann 074524
writing the data received from the clients onto tape drives or other 
Andreas Thienemann 074524
mass storage devices.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package storage-sqlite
Tom "spot" Callaway 16d9a3
Summary:		SQLite Bacula storage daemon files
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Provides:		bacula-storage = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-storage-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Andreas Thienemann 074524
Andreas Thienemann 074524
%description storage-sqlite
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the storage daemon, the daemon responsible for 
Andreas Thienemann 074524
writing the data received from the clients onto tape drives or other 
Andreas Thienemann 074524
mass storage devices.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package storage-postgresql
Tom "spot" Callaway 16d9a3
Summary:		Common Bacula storage daemon files
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Provides:		bacula-storage = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-storage-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Andreas Thienemann 074524
Andreas Thienemann 074524
%description storage-postgresql
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the storage daemon, the daemon responsible for 
Andreas Thienemann 074524
writing the data received from the clients onto tape drives or other 
Andreas Thienemann 074524
mass storage devices.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package common
Tom "spot" Callaway 16d9a3
Summary:		Common Bacula utilities
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Requires(pre):		fedora-usermgmt
Tom "spot" Callaway 16d9a3
Obsoletes:		bacula-console-gnome <= 2.4, bacula-traymonitor <= 2.4
Tom "spot" Callaway 16d9a3
Obsoletes:		bacula-sysconfdir <= 2.4
Andreas Thienemann 074524
Andreas Thienemann 074524
%description common
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package console
Andreas Thienemann 074524
Summary: Bacula management console
Andreas Thienemann 074524
Group: System Environment/Daemons
Jon Ciesla 0036e0
Requires: bacula-common = %{version}-%{release}
Andreas Thienemann 074524
Andreas Thienemann 074524
%description console
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the command-line management console for the bacula 
Andreas Thienemann 074524
backup system.
Andreas Thienemann 074524
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Jon Ciesla 7dc829
%package console-bat
Tom "spot" Callaway 16d9a3
Summary:		Bacula bat console
Tom "spot" Callaway 16d9a3
Group:			System Environment/Daemons
Tom "spot" Callaway 16d9a3
Requires:		bacula-common%{?_isa} = %{version}-%{release}
Tom "spot" Callaway 16d9a3
Requires:		usermode
Jon Ciesla 7dc829
Jon Ciesla 7dc829
%description console-bat
Jon Ciesla 7dc829
Bacula is a set of programs that allow you to manage the backup,
Jon Ciesla 7dc829
recovery, and verification of computer data across a network of
Jon Ciesla 7dc829
different computers. It is based on a client/server architecture.
Jon Ciesla 7dc829
Jon Ciesla 7dc829
This package contains the bat version of the bacula management console
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%package docs
Tom "spot" Callaway 16d9a3
Summary:		Bacula documentation
Tom "spot" Callaway 16d9a3
Group:			Documentation
Andreas Thienemann 074524
Andreas Thienemann 074524
%description docs
Andreas Thienemann 074524
Bacula is a set of programs that allow you to manage the backup,
Andreas Thienemann 074524
recovery, and verification of computer data across a network of
Andreas Thienemann 074524
different computers. It is based on a client/server architecture.
Andreas Thienemann 074524
Andreas Thienemann 074524
This package contains the documentation for most of the bacula-packages.
Andreas Thienemann 074524
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
%package -n nagios-plugins-bacula
Tom "spot" Callaway 16d9a3
Summary:		Nagios Plugin - check_oracle
Tom "spot" Callaway 16d9a3
Group:			Applications/System
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
%description -n nagios-plugins-bacula
Tom "spot" Callaway 16d9a3
Provides check_bacula support for Nagios.
Lukas Nykryn 52eec7
Lukas Nykryn 52eec7
Tom "spot" Callaway 16d9a3
%prep
Tom "spot" Callaway 16d9a3
%setup -q
Tom "spot" Callaway 16d9a3
%setup -q -a 1 -D -T
Tom "spot" Callaway 16d9a3
%patch1 -p1
Tom "spot" Callaway 16d9a3
%patch2 -p2 -b .openssl
Tom "spot" Callaway 16d9a3
%patch3 -p2 -b .config
Tom "spot" Callaway 16d9a3
%patch4 -p1 -b .dsolink
Tom "spot" Callaway 16d9a3
%patch5 -p2 -b .log-path
Tom "spot" Callaway 16d9a3
%patch6 -p0 -b .priv
Tom "spot" Callaway 16d9a3
%patch7 -p1 -b .bat-pamd
Tom "spot" Callaway 16d9a3
%patch8 -p1 -b .optflags
Andreas Thienemann 074524
Andreas Thienemann 074524
# Remove execution permissions from files we're packaging as docs later on
Andreas Thienemann 074524
find examples -type f | xargs chmod -x
Andreas Thienemann 074524
find updatedb -type f | xargs chmod -x
Andreas Thienemann 074524
Andreas Thienemann 074524
# Remove cvs left-overs
Andreas Thienemann 074524
find -name '.cvsignore' | xargs rm -f 
Andreas Thienemann 074524
Andreas Thienemann 074524
# Fix perms of c files to silent rpmlint
Andreas Thienemann 074524
find -type f -name '*.c' | xargs chmod -x 
Andreas Thienemann 074524
find -type f -name '*.h' | xargs chmod -x 
Andreas Thienemann 074524
Andreas Thienemann 074524
%build
Jan Görig 7ce52f
export CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
Tom "spot" Callaway 16d9a3
export CPPFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
Jon Ciesla 0cbe38
export QMAKE=/usr/bin/qmake-qt4
Andreas Thienemann 074524
%configure \
Andreas Thienemann 074524
	--sysconfdir=%{_sysconfdir}/bacula \
Andreas Thienemann 074524
	--with-dir-user=bacula \
Andreas Thienemann 074524
	--with-dir-group=bacula \
Andreas Thienemann 074524
	--with-sd-user=bacula \
Jan Görig e51227
	--with-sd-group=disk \
Andreas Thienemann 074524
	--with-fd-user=root \
Andreas Thienemann 074524
	--with-fd-group=root \
Andreas Thienemann 074524
	--with-dir-password=@@DIR_PASSWORD@@ \
Andreas Thienemann 074524
	--with-fd-password=@@FD_PASSWORD@@ \
Andreas Thienemann 074524
	--with-sd-password=@@SD_PASSWORD@@ \
Andreas Thienemann 074524
	--with-mon-dir-password=@@MON_DIR_PASSWORD@@ \
Andreas Thienemann 074524
	--with-mon-fd-password=@@MON_FD_PASSWORD@@ \
Andreas Thienemann 074524
	--with-mon-sd-password=@@MON_SD_PASSWORD@@ \
Tom "spot" Callaway 16d9a3
	--with-working-dir=%{_localstatedir}/spool/bacula \
Tom "spot" Callaway 16d9a3
	--with-scriptdir=%{_libexecdir}/bacula \
Tom "spot" Callaway 16d9a3
	--with-plugindir=%{_libdir}/bacula \
Andreas Thienemann 074524
	--with-smtp-host=localhost \
Andreas Thienemann 074524
	--with-subsys-dir=%{_localstatedir}/lock/subsys \
Andreas Thienemann 074524
	--with-pid-dir=%{_localstatedir}/run \
Tom "spot" Callaway 16d9a3
	--disable-conio \
Tom "spot" Callaway 16d9a3
	--enable-readline \
Andreas Thienemann 074524
	--enable-largefile \
Andreas Thienemann 074524
	--enable-build-dird \
Andreas Thienemann 074524
	--enable-build-stored \
Andreas Thienemann 074524
	--with-openssl \
Andreas Thienemann 074524
	--with-tcp-wrappers \
Andreas Thienemann 074524
	--with-python \
Andreas Thienemann 074524
	--enable-smartalloc \
Andreas Thienemann 074524
	--with-x \
Tom "spot" Callaway 16d9a3
	--disable-rpath \
Tom "spot" Callaway 16d9a3
	--with-sqlite3 \
Tom "spot" Callaway 16d9a3
	--with-mysql \
Tom "spot" Callaway 16d9a3
	--with-postgresql \
Tom "spot" Callaway 16d9a3
	--enable-bat
Andreas Thienemann 074524
Andreas Thienemann 074524
if test $? != 0; then 
Andreas Thienemann 074524
  tail -500 config.log
Andreas Thienemann 074524
  : configure failed
Andreas Thienemann 074524
  exit 1
Andreas Thienemann 074524
fi
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
# Remove RPATH
Tom "spot" Callaway 16d9a3
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Tom "spot" Callaway 16d9a3
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
Jon Ciesla eb59c7
Tom "spot" Callaway 16d9a3
#%{__make} %{?_smp_mflags} NO_ECHO=
Tom "spot" Callaway 16d9a3
%{__make} %{?_smp_mflags}
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
pushd examples/nagios/check_bacula
Tom "spot" Callaway 16d9a3
	CFLAGS="%{optflags}" %{__make} LIBS="-lpthread -ldl -lssl -lcrypto -lz"
Andreas Thienemann 074524
popd
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Tom "spot" Callaway 16d9a3
pushd src/qt-console/tray-monitor
Tom "spot" Callaway 16d9a3
	/usr/bin/qmake-qt4
Tom "spot" Callaway 16d9a3
        %{__make} %{?_smp_mflags}
Andreas Thienemann 074524
popd
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
Andreas Thienemann 074524
# Build the docs
Tom "spot" Callaway 16d9a3
pushd bacula-docs-%{version}
Tom "spot" Callaway 16d9a3
	%configure --with-bacula=%{_builddir}/bacula-%{version}
Tom "spot" Callaway 16d9a3
	make
Andreas Thienemann 074524
popd
Andreas Thienemann 074524
Andreas Thienemann 074524
%install
Andreas Thienemann 074524
rm -rf %{buildroot}
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
make install DESTDIR=%{buildroot}
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
# install the nagios plugin
Tom "spot" Callaway 16d9a3
%{__mkdir_p} %{buildroot}%{_libdir}/nagios/plugins
Tom "spot" Callaway 16d9a3
%{__install} -m0755 examples/nagios/check_bacula/check_bacula %{buildroot}%{_libdir}/nagios/plugins/
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
# Remove unused stuff
Andreas Thienemann 074524
rm -f %{buildroot}%{_libexecdir}/bacula/bconsole
Tom "spot" Callaway 16d9a3
rm -f %{buildroot}%{_mandir}/man1/bacula-bwxconsole.1*
Tom "spot" Callaway 16d9a3
rm -f %{buildroot}%{_mandir}/man1/bacula-tray-monitor.1*
Tom "spot" Callaway 16d9a3
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
Andreas Thienemann 074524
Andreas Thienemann 074524
mkdir -p %{buildroot}%{_bindir}
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
# Bat
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Tom "spot" Callaway 16d9a3
install -m 755 -D src/qt-console/bat %{buildroot}%{_sbindir}
Tom "spot" Callaway 16d9a3
install -m 644 -D src/qt-console/bat.conf %{buildroot}%{_sysconfdir}/bacula/bat.conf
Tom "spot" Callaway 16d9a3
install -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bat_icon.png
Tom "spot" Callaway 16d9a3
install -m 644 -D scripts/bat.pamd %{buildroot}%{_sysconfdir}/pam.d/bat
Tom "spot" Callaway 16d9a3
install -m 644 -D scripts/bat.console_apps %{buildroot}%{_sysconfdir}/security/console.apps/bat
Tom "spot" Callaway 16d9a3
ln -sf consolehelper %{buildroot}%{_bindir}/bat
Tom "spot" Callaway 16d9a3
desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE13}
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
rm -f %{buildroot}%{_mandir}/man1/bat.1*
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
Andreas Thienemann 074524
# logrotate
Andreas Thienemann 074524
mkdir -p %{buildroot}%{_localstatedir}/log/bacula
Andreas Thienemann 074524
install -m 644 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/bacula
Andreas Thienemann 074524
Andreas Thienemann 074524
# And logwatch
Tom "spot" Callaway 16d9a3
install -m 755 -D scripts/logwatch/bacula %{buildroot}%{_sysconfdir}/logwatch/scripts/services/bacula
Tom "spot" Callaway 16d9a3
install -m 755 -D scripts/logwatch/applybaculadate %{buildroot}%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
Tom "spot" Callaway 16d9a3
install -m 644 -D scripts/logwatch/logfile.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
Tom "spot" Callaway 16d9a3
install -m 644 -D scripts/logwatch/services.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/services/bacula.conf
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 99bb2e
# Systemd unit files
Tom "spot" Callaway 99bb2e
mkdir -p ${buildroot}%{_unitdir}
Tom "spot" Callaway 16d9a3
install -m 755 -D %{SOURCE10}  %{buildroot}%{_unitdir}/bacula-fd.service
Tom "spot" Callaway 16d9a3
install -m 755 -D %{SOURCE11}  %{buildroot}%{_unitdir}/bacula-dir.service
Tom "spot" Callaway 16d9a3
install -m 755 -D %{SOURCE12}  %{buildroot}%{_unitdir}/bacula-sd.service
Tom "spot" Callaway 16d9a3
install -m 755 -D %{SOURCE18}  %{buildroot}%{_sbindir}/bacula-checkconf
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
# Initscripts
Tom "spot" Callaway 16d9a3
install -m 755 -D %{SOURCE7}  %{buildroot}%{_initrddir}/bacula-fd
Tom "spot" Callaway 16d9a3
install -m 755 -D %{SOURCE8}  %{buildroot}%{_initrddir}/bacula-dir
Tom "spot" Callaway 16d9a3
install -m 755 -D %{SOURCE9}  %{buildroot}%{_initrddir}/bacula-sd
Tom "spot" Callaway 16d9a3
%endif
Jan Görig e51227
Tom "spot" Callaway 16d9a3
# Sysconfig
Tom "spot" Callaway 16d9a3
install -m 644 -D %{SOURCE15}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-fd
Tom "spot" Callaway 16d9a3
install -m 644 -D %{SOURCE16}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-dir
Tom "spot" Callaway 16d9a3
install -m 644 -D %{SOURCE17}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-sd
Jan Görig e51227
Andreas Thienemann 074524
# Wipe backup files from the multiple make install calls
Andreas Thienemann 074524
rm -vf %{buildroot}%{_sysconfdir}/bacula/*.{new,old}
Andreas Thienemann 074524
rm -vf %{buildroot}%{_libexecdir}/bacula/*.{new,old}
Andreas Thienemann 074524
Andreas Thienemann 074524
# Create the spooling
Andreas Thienemann 074524
mkdir -p %{buildroot}%{_localstatedir}/spool/bacula
Andreas Thienemann 074524
Andreas Thienemann 074524
# Move some files around
Tom "spot" Callaway 16d9a3
#mv %{buildroot}%{_libexecdir}/bacula/query.sql %{buildroot}%{_sysconfdir}/bacula/query.sql
Andreas Thienemann 074524
Andreas Thienemann 074524
# Nuke the scripts we do not need
Andreas Thienemann 074524
rm -vf %{buildroot}%{_libexecdir}/bacula/{bacula,bacula-ctl-*,startmysql,stopmysql} 
Andreas Thienemann 074524
Andreas Thienemann 074524
# Fix up some perms so rpmlint does not complain too much
Andreas Thienemann 074524
chmod 755 %{buildroot}%{_sbindir}/*
Tom "spot" Callaway 16d9a3
chmod 755 %{buildroot}%{_libdir}/bacula/*
Andreas Thienemann 074524
chmod 755 %{buildroot}%{_libexecdir}/bacula/*
Andreas Thienemann 074524
chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
Andreas Thienemann 074524
Jon Ciesla bf00cf
# Remove extra docs
Jon Ciesla bf00cf
rm -rf %{buildroot}%{_datadir}/doc/bacula/
Jon Ciesla bf00cf
Tom "spot" Callaway 16d9a3
# Remove local archives
Tom "spot" Callaway 16d9a3
rm -f %{buildroot}%{_libdir}/*.la
Tom "spot" Callaway 16d9a3
Andreas Thienemann 074524
%clean
Andreas Thienemann 074524
rm -rf %{buildroot}
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%post director-mysql
Tom "spot" Callaway 16d9a3
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-mysql-%{version}.so 50
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%post director-sqlite
Tom "spot" Callaway 16d9a3
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-sqlite3-%{version}.so 40
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%post director-postgresql
Tom "spot" Callaway 16d9a3
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-postgresql-%{version}.so 60
Tom "spot" Callaway 16d9a3
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%preun director-mysql
Jon Ciesla e45f06
if [ "$1" = 0 ]; then
Tom "spot" Callaway 16d9a3
	/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-mysql-%{version}.so
Jon Ciesla e45f06
fi
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%preun director-sqlite
Jon Ciesla e45f06
if [ "$1" = 0 ]; then
Tom "spot" Callaway 16d9a3
	/usr/sbin/alternatives --remove libbbaccats-%{version}.so %{_libdir}/libbaccats-sqlite3-%{version}.so
Jon Ciesla e45f06
fi
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%preun director-postgresql
Jon Ciesla e45f06
if [ "$1" = 0 ]; then
Tom "spot" Callaway 16d9a3
	/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-postgresql-%{version}.so
Jon Ciesla e45f06
fi
Andreas Thienemann 074524
Andreas Thienemann 074524
%pre common
Andreas Thienemann 074524
/usr/sbin/fedora-groupadd 33 -r bacula &>/dev/null || :
Andreas Thienemann 074524
/usr/sbin/fedora-useradd  33 -r -s /sbin/nologin -d /var/spool/bacula -M \
Andreas Thienemann 074524
	-c 'Bacula Backup System' -g bacula bacula &>/dev/null || :
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Andreas Thienemann 074524
Tom "spot" Callaway 9911be
%post client
Tom "spot" Callaway 16d9a3
if [ $1 -eq 1 ] ; then
Tom "spot" Callaway 16d9a3
    # Initial installation
Tom "spot" Callaway 9911be
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 9911be
%preun client
Tom "spot" Callaway 9911be
if [ $1 -eq 0 ] ; then
Tom "spot" Callaway 9911be
    # Package removal, not upgrade
Tom "spot" Callaway 9911be
    /bin/systemctl --no-reload disable bacula-fd.service > /dev/null 2>&1 || :
Tom "spot" Callaway 9911be
    /bin/systemctl stop bacula-fd.service > /dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 9911be
%postun client
Tom "spot" Callaway 9911be
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
if [ $1 -ge 1 ] ; then
Tom "spot" Callaway 9911be
    # Package upgrade, not uninstall
Tom "spot" Callaway 9911be
    /bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 99bb2e
%triggerun client -- bacula-client < 5.0.3-10
Tom "spot" Callaway 99bb2e
# Save the current service runlevel info
Tom "spot" Callaway 99bb2e
# User must manually run systemd-sysv-convert --apply bacula-fd
Tom "spot" Callaway 99bb2e
# to migrate them to systemd targets
Tom "spot" Callaway 99bb2e
/usr/bin/systemd-sysv-convert --save bacula-fd >/dev/null 2>&1 ||:
Andreas Thienemann 074524
Tom "spot" Callaway 99bb2e
# Run these because the SysV package being removed won't do them
Tom "spot" Callaway 99bb2e
/sbin/chkconfig --del bacula-fd >/dev/null 2>&1 || :
Tom "spot" Callaway 99bb2e
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
Andreas Thienemann 074524
Tom "spot" Callaway 9911be
%post director-common
Tom "spot" Callaway 16d9a3
if [ $1 -eq 1 ] ; then
Tom "spot" Callaway 16d9a3
    # Initial installation
Tom "spot" Callaway 9911be
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 9911be
%preun director-common
Tom "spot" Callaway 9911be
if [ $1 -eq 0 ] ; then
Tom "spot" Callaway 9911be
    # Package removal, not upgrade
Tom "spot" Callaway 9911be
    /bin/systemctl --no-reload disable bacula-dir.service > /dev/null 2>&1 || :
Tom "spot" Callaway 9911be
    /bin/systemctl stop bacula-dir.service > /dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 9911be
%postun director-common
Tom "spot" Callaway 9911be
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
if [ $1 -ge 1 ] ; then
Tom "spot" Callaway 9911be
    # Package upgrade, not uninstall
Tom "spot" Callaway 9911be
    /bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 99bb2e
%triggerun director-common -- bacula-director-common < 5.0.3-10
Tom "spot" Callaway 99bb2e
# Save the current service runlevel info
Tom "spot" Callaway 99bb2e
# User must manually run systemd-sysv-convert --apply bacula-dir
Tom "spot" Callaway 99bb2e
# to migrate them to systemd targets
Tom "spot" Callaway 99bb2e
/usr/bin/systemd-sysv-convert --save bacula-dir >/dev/null 2>&1 ||:
Andreas Thienemann 074524
Tom "spot" Callaway 99bb2e
# Run these because the SysV package being removed won't do them
Tom "spot" Callaway 99bb2e
/sbin/chkconfig --del bacula-dir >/dev/null 2>&1 || :
Tom "spot" Callaway 99bb2e
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
Andreas Thienemann 074524
Andreas Thienemann 074524
Tom "spot" Callaway 9911be
%post storage-common
Tom "spot" Callaway 16d9a3
if [ $1 -eq 1 ] ; then
Tom "spot" Callaway 16d9a3
    # Initial installation
Tom "spot" Callaway 9911be
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 9911be
%preun storage-common
Tom "spot" Callaway 9911be
if [ $1 -eq 0 ] ; then
Tom "spot" Callaway 9911be
    # Package removal, not upgrade
Tom "spot" Callaway 9911be
    /bin/systemctl --no-reload disable bacula-sd.service > /dev/null 2>&1 || :
Tom "spot" Callaway 9911be
    /bin/systemctl stop bacula-sd.service > /dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 9911be
%postun storage-common
Tom "spot" Callaway 9911be
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
if [ $1 -ge 1 ] ; then
Tom "spot" Callaway 9911be
    # Package upgrade, not uninstall
Tom "spot" Callaway 9911be
    /bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
Tom "spot" Callaway 9911be
fi
Tom "spot" Callaway 9911be
Tom "spot" Callaway 16d9a3
%triggerun storage-common -- bacula-storage-common < 5.0.3-10
Tom "spot" Callaway 99bb2e
# Save the current service runlevel info
Tom "spot" Callaway 99bb2e
# User must manually run systemd-sysv-convert --apply bacula-sd
Tom "spot" Callaway 99bb2e
# to migrate them to systemd targets
Tom "spot" Callaway 99bb2e
/usr/bin/systemd-sysv-convert --save bacula-sd >/dev/null 2>&1 ||:
Andreas Thienemann 074524
Tom "spot" Callaway 99bb2e
# Run these because the SysV package being removed won't do them
Tom "spot" Callaway 99bb2e
/sbin/chkconfig --del bacula-sd >/dev/null 2>&1 || :
Tom "spot" Callaway 99bb2e
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%post client
Tom "spot" Callaway 16d9a3
/sbin/chkconfig --add bacula-fd
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%preun client
Tom "spot" Callaway 16d9a3
if [ "$1" = 0 ]; then
Tom "spot" Callaway 16d9a3
	/sbin/service bacula-fd stop >/dev/null 2>&1 || :
Tom "spot" Callaway 16d9a3
	/sbin/chkconfig --del bacula-fd
Tom "spot" Callaway 16d9a3
fi
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%postun client
Tom "spot" Callaway 16d9a3
if [ "$1" -ge "1" ]; then
Tom "spot" Callaway 16d9a3
	/sbin/service bacula-fd condrestart >/dev/null 2>&1 || :
Tom "spot" Callaway 16d9a3
fi
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%post director-common
Tom "spot" Callaway 16d9a3
/sbin/chkconfig --add bacula-dir
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%preun director-common
Tom "spot" Callaway 16d9a3
if [ "$1" = 0 ]; then
Tom "spot" Callaway 16d9a3
	/sbin/service bacula-dir stop >/dev/null 2>&1 || :
Tom "spot" Callaway 16d9a3
	/sbin/chkconfig --del bacula-dir
Tom "spot" Callaway 16d9a3
fi
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%postun director-common
Tom "spot" Callaway 16d9a3
if [ "$1" -ge "1" ]; then
Tom "spot" Callaway 16d9a3
	/sbin/service bacula-dir condrestart >/dev/null 2>&1 || :
Tom "spot" Callaway 16d9a3
fi
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%post storage-common
Tom "spot" Callaway 16d9a3
/sbin/chkconfig --add bacula-sd
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%preun storage-common
Tom "spot" Callaway 16d9a3
if [ "$1" = 0 ]; then
Tom "spot" Callaway 16d9a3
	/sbin/service bacula-sd stop >/dev/null 2>&1 || :
Tom "spot" Callaway 16d9a3
	/sbin/chkconfig --del bacula-sd
Tom "spot" Callaway 16d9a3
fi
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%postun storage-common
Tom "spot" Callaway 16d9a3
if [ "$1" -ge "1" ]; then
Tom "spot" Callaway 16d9a3
	/sbin/service bacula-sd condrestart >/dev/null 2>&1 || :
Tom "spot" Callaway 16d9a3
fi
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%endif
Tom "spot" Callaway 16d9a3
Andreas Thienemann 074524
Andreas Thienemann 074524
%files common
Jon Ciesla b87413
%defattr(-,root,root,-)
Tom "spot" Callaway 16d9a3
%doc AUTHORS ChangeLog COPYING LICENSE README SUPPORT VERIFYING examples/
Andreas Thienemann 074524
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula
Tom "spot" Callaway 16d9a3
%dir %{_sysconfdir}/%{name}
Tom "spot" Callaway 16d9a3
%dir %{_libexecdir}/%{name}
Andreas Thienemann 074524
%{_sbindir}/bsmtp
Andreas Thienemann 074524
%{_sbindir}/btraceback
Tom "spot" Callaway 16d9a3
%{_sbindir}/bacula
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/mtx-changer.conf
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/btraceback.dbx
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/btraceback.gdb
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/bacula_config
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/btraceback.mdb
Tom "spot" Callaway 16d9a3
%{_libdir}/libbac-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbac.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccats.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccfg-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccfg.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbacfind-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbacfind.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbacpy-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbacpy.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbacsql-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbacsql.so
Tom "spot" Callaway 16d9a3
%{_mandir}/man1/bsmtp.1.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bacula.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/btraceback.8.gz
Andreas Thienemann 074524
%dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula
Andreas Thienemann 074524
%dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 99bb2e
%{_sbindir}/bacula-checkconf
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
Andreas Thienemann 074524
%files client
Andreas Thienemann 074524
%defattr(-,root,root,-)
Andreas Thienemann 074524
%{_sbindir}/bacula-fd
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 99bb2e
%{_unitdir}/bacula-fd.service
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
%{_initrddir}/bacula-fd
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
%config(noreplace) %{_sysconfdir}/bacula/bacula-fd.conf
Tom "spot" Callaway 16d9a3
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-fd
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bacula-fd.8.gz
Tom "spot" Callaway 16d9a3
%{_libdir}/bacula/bpipe-fd.so
Andreas Thienemann 074524
Andreas Thienemann 074524
%files console
Andreas Thienemann 074524
%defattr(-,root,root,-)
Andreas Thienemann 074524
%{_sbindir}/bconsole
Jon Ciesla 5251a0
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bconsole.8.gz
Andreas Thienemann 074524
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Jon Ciesla 7dc829
%files console-bat
Jon Ciesla 7dc829
%defattr(-,root,root,-)
Tom "spot" Callaway 16d9a3
%config(noreplace) %{_sysconfdir}/security/console.apps/bat
Tom "spot" Callaway 16d9a3
%config(noreplace) %{_sysconfdir}/pam.d/bat
Jon Ciesla 7dc829
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bat.conf
Jon Ciesla 48cee6
%{_bindir}/bat
Jon Ciesla 7dc829
%{_sbindir}/bat
Jon Ciesla 7dc829
%{_mandir}/man1/bat.1.gz
Jon Ciesla 7dc829
%{_datadir}/applications/fedora-bacula-bat.desktop
Jon Ciesla 7dc829
%{_datadir}/pixmaps/bat_icon.png
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
Andreas Thienemann 074524
%files director-common
Andreas Thienemann 074524
%defattr(-,root,root,-)
Tom "spot" Callaway 16d9a3
%doc updatedb
Jan Görig 38c1d4
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf
Tom "spot" Callaway 16d9a3
#%config(noreplace) %{_sysconfdir}/bacula/query.sql
Tom "spot" Callaway 16d9a3
%config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
Tom "spot" Callaway 16d9a3
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
Tom "spot" Callaway 16d9a3
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
Andreas Thienemann 074524
%{_sysconfdir}/logwatch/scripts/services/bacula
Jon Ciesla 04a9b4
%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 99bb2e
%{_unitdir}/bacula-dir.service
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
%{_initrddir}/bacula-dir
Tom "spot" Callaway 16d9a3
%endif
Tom "spot" Callaway 16d9a3
%{_sbindir}/bacula-dir
Andreas Thienemann 074524
%{_sbindir}/bregex
Andreas Thienemann 074524
%{_sbindir}/bwild
Tom "spot" Callaway 16d9a3
%{_sbindir}/dbcheck
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/dbcheck.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bacula-dir.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bregex.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bwild.8.gz
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/create_bacula_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/delete_catalog_backup
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/disk-changer
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_bacula_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_bacula_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/dvd-handler
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/grant_bacula_privileges
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/make_bacula_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/make_catalog_backup
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/make_catalog_backup.pl
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/mtx-changer
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/mtx-changer.conf
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/update_bacula_tables
Andreas Thienemann 074524
Andreas Thienemann 074524
%files director-mysql
Andreas Thienemann 074524
%defattr(-,root,root,-)
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccats-mysql-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccats-mysql.so
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/create_mysql_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_mysql_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_mysql_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/grant_mysql_privileges
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/make_mysql_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/update_mysql_tables
Andreas Thienemann 074524
Andreas Thienemann 074524
%files director-sqlite
Andreas Thienemann 074524
%defattr(-,root,root,-)
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccats-sqlite3-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccats-sqlite3.so
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/create_sqlite3_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_sqlite3_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_sqlite3_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/grant_sqlite3_privileges
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/make_sqlite3_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/update_sqlite3_tables
Andreas Thienemann 074524
Andreas Thienemann 074524
%files director-postgresql
Andreas Thienemann 074524
%defattr(-,root,root,-)
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccats-postgresql-%{version}.so
Tom "spot" Callaway 16d9a3
%{_libdir}/libbaccats-postgresql.so
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/create_postgresql_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_postgresql_database
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/drop_postgresql_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/grant_postgresql_privileges
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/make_postgresql_tables
Tom "spot" Callaway 16d9a3
%{_libexecdir}/%{name}/update_postgresql_tables
Andreas Thienemann 074524
Andreas Thienemann 074524
%files storage-common
Andreas Thienemann 074524
%defattr(-,root,root,-)
Andreas Thienemann 074524
%{_sbindir}/bacula-sd
Tom "spot" Callaway 16d9a3
%{_sbindir}/bcopy
Andreas Thienemann 074524
%{_sbindir}/bextract
Andreas Thienemann 074524
%{_sbindir}/bls
Tom "spot" Callaway 16d9a3
%{_sbindir}/bscan
Andreas Thienemann 074524
%{_sbindir}/btape
Andreas Thienemann 074524
%config(noreplace) %{_sysconfdir}/bacula/bacula-sd.conf
Tom "spot" Callaway 16d9a3
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-sd
Tom "spot" Callaway 16d9a3
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
Tom "spot" Callaway 99bb2e
%{_unitdir}/bacula-sd.service
Tom "spot" Callaway 16d9a3
%else
Tom "spot" Callaway 16d9a3
%{_initrddir}/bacula-sd
Tom "spot" Callaway 16d9a3
%endif
Andreas Thienemann 074524
%{_libexecdir}/bacula/disk-changer
Andreas Thienemann 074524
%{_libexecdir}/bacula/dvd-handler
Andreas Thienemann 074524
%{_libexecdir}/bacula/mtx-changer
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bacula-sd.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bcopy.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bextract.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bls.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/bscan.8.gz
Tom "spot" Callaway 16d9a3
%{_mandir}/man8/btape.8.gz
Andreas Thienemann 074524
Andreas Thienemann 074524
%files docs
Jon Ciesla b87413
%defattr(-,root,root,-)
Tom "spot" Callaway 16d9a3
%doc bacula-docs-%{version}/manuals/en/problems/problems.pdf
Tom "spot" Callaway 16d9a3
%doc bacula-docs-%{version}/manuals/en/console/console.pdf
Tom "spot" Callaway 16d9a3
%doc bacula-docs-%{version}/manuals/en/utility/utility.pdf
Tom "spot" Callaway 16d9a3
%doc bacula-docs-%{version}/manuals/en/developers/developers.pdf
Tom "spot" Callaway 16d9a3
%doc bacula-docs-%{version}/manuals/en/main/main.pdf
Tom "spot" Callaway 16d9a3
%doc bacula-docs-%{version}/manuals/en/misc/misc.pdf
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
%files -n nagios-plugins-bacula
Tom "spot" Callaway 16d9a3
%defattr(-,root,root)
Tom "spot" Callaway 16d9a3
%{_libdir}/nagios/plugins/check_bacula
Andreas Thienemann 074524
Andreas Thienemann 074524
Andreas Thienemann 074524
%changelog
Tom "spot" Callaway 16d9a3
* Tue Nov 29 2011 Tom Callaway <spot@fedoraproject.org> - 5.2.2-1
Tom "spot" Callaway 16d9a3
- Update to 5.2.2
Tom "spot" Callaway 16d9a3
- minor spec cleanups, conditionalized support for systemd
Tom "spot" Callaway 16d9a3
Tom "spot" Callaway 16d9a3
* Fri Nov 04 2011 Simone Caronni <negativo17@gmail.com> - 5.2.1-1
Tom "spot" Callaway 16d9a3
- Updated to 5.2.1.
Tom "spot" Callaway 16d9a3
- Reworked and removed some patches for 5.2.1 codebase.
Tom "spot" Callaway 16d9a3
- Reworked bat installation.
Tom "spot" Callaway 16d9a3
- Removed sqlite2 support.
Tom "spot" Callaway 16d9a3
- Removed all the fancy database backend rebuilding.
Tom "spot" Callaway 16d9a3
- Disabled libtool for bpipe-fd.so.
Tom "spot" Callaway 16d9a3
- Passed plugins dir as libdir/bacula.
Tom "spot" Callaway 16d9a3
- Added sql libs to alternatives.
Tom "spot" Callaway 16d9a3
- Disabled traymonitor.
Tom "spot" Callaway 16d9a3
- Minor fixes to spec file, rpmlint fixes.
Tom "spot" Callaway 16d9a3
- Nagios patch for Enterprise FDs.
Tom "spot" Callaway 16d9a3
- Removed all gui/web stuff.
Tom "spot" Callaway 16d9a3
- Removed a lot of comments.
Tom "spot" Callaway 16d9a3
- Conditional on Fedora 11 / RHEL 6 for bat build.
Tom "spot" Callaway 16d9a3
- Obsolete bacula-sysconfdir.
Tom "spot" Callaway 16d9a3
- Removed bwxconsole.
Tom "spot" Callaway 16d9a3
Lukas Nykryn 8e931a
* Thu Nov 3 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-13
Lukas Nykryn 49a19f
- fixed creating of bacula MySQL tables and bump
Lukas Nykryn 49a19f
Lukas Nykryn baeeb2
* Fri Oct  9 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-12
Lukas Nykryn baeeb2
- fixed restart option in service files (#745529)
Lukas Nykryn 52eec7
- fixed creating of bacula MySQL tables (#724894)
Lukas Nykryn baeeb2
Tom "spot" Callaway 9911be
* Fri Sep  9 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-11
Tom "spot" Callaway 9911be
- add missing scriptlets
Tom "spot" Callaway 9911be
Tom "spot" Callaway 99bb2e
* Thu Sep  8 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-10 
Tom "spot" Callaway 99bb2e
- convert to systemd
Tom "spot" Callaway 99bb2e
Dan Horák 86f931
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 5.0.3-9
Dan Horák 86f931
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
Dan Horák 86f931
Dennis Gilmore ef0818
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.3-8
Dennis Gilmore ef0818
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore ef0818
Jon Ciesla 68d1a9
* Mon Jan 03 2011 Jon Ciesla <limb@jcomserv.net> - 5.0.3-7
Jon Ciesla 187db2
- Rebuild for MySQL 5.5, with patch.
Jon Ciesla 68d1a9
Jan Görig 767f6b
* Fri Nov 26 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-6
Jan Görig 767f6b
- Fixed previous fix of alternatives
Jan Görig 767f6b
- Changed initscript return value for non-configured service
Jan Görig 767f6b
- Director address is required in tray-monitor config now (#626490)
Jan Görig 767f6b
Jan Görig 38c1d4
* Tue Nov 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-5
Jan Görig 38c1d4
- Fixed alternatives for dbcheck (#650224)
Jan Görig 38c1d4
- Moved director log file to /var/log/bacula/
Jan Görig 38c1d4
- Changed permission of bacula-dir.conf (RHEL #651786)
Jan Görig 38c1d4
- SQLite database is created as bacula user
Jan Görig 38c1d4
Jan Görig e51227
* Tue Oct 19 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-4
Jan Görig e51227
- Fixed initscripts and changed default group of bacula-sd (#629697)
Jan Görig e51227
- Better warning for non-configured password (#556669)
Jan Görig e51227
Jesse Keating 1b1f00
* Wed Sep 29 2010 jkeating - 5.0.3-3
Jesse Keating 1b1f00
- Rebuilt for gcc bug 634757
Jesse Keating 1b1f00
Jan Görig 7f55ce
* Thu Sep 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-2
Jan Görig 7f55ce
- fixed openssl patch, thanks to Enrico Scholz
Jan Görig 7f55ce
Jon Ciesla c0a3f4
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.3-1
Jon Ciesla c0a3f4
- New upstream.
Jon Ciesla c0a3f4
- DSOlink fix for same.
Jon Ciesla c0a3f4
Jon Ciesla 915c50
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-8
Jon Ciesla 915c50
- Patched configure scripts for Python 2.7.
Jon Ciesla 915c50
Jon Ciesla 915c50
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-7
Jon Ciesla 915c50
- Rebuild against Python 2.7.
Jon Ciesla 915c50
Dan Horák d20cd2
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 5.0.2-6
Dan Horák d20cd2
- rebuilt against wxGTK-2.8.11-2
Dan Horák d20cd2
Jan Görig 7ce52f
* Thu Jun 3 2010 Jan Görig <jgorig@redhat.com> 5.0.2-5
Jan Görig 7ce52f
- removed no longer needed sysconfig subpackage (#593307]
Jan Görig 7ce52f
- build with $RPM_OPT_FLAGS, show compiler commands in build log (#575425)
Jan Görig 7ce52f
  fixed by Ville Skyttä
Jan Görig 7ce52f
- dropped tcp_wrappers build conditional (#537250)
Jan Görig 7ce52f
- fixed location of query.xml in config file (#556480)
Jan Görig 7ce52f
Jan Görig ddc0d5
* Wed Jun 2 2010 Jan Görig <jgorig@redhat.com> 5.0.2-4
Jan Görig ddc0d5
- initscripts improvements
Jan Görig ddc0d5
- fixed consolehelper settings and menu entries
Jan Görig ddc0d5
Jon Ciesla d1fa04
* Tue Jun 01 2010 Jon Ciesla 
Jon Ciesla d1fa04
- Corrected ssl patch, court. jgorig.
Jon Ciesla d1fa04
Jon Ciesla eb59c7
* Wed May 19 2010 Jon Ciesla 
Jon Ciesla eb59c7
- Corrected bat build, BZ 593149.
Jon Ciesla eb59c7
- Corrected ssl patch.
Jon Ciesla eb59c7
Jon Ciesla 111191
* Thu Apr 29 2010 Jon Ciesla 
Jon Ciesla 111191
- New upstream, 5.0.2.
Jon Ciesla 111191
- Updated openssl patch.
Jon Ciesla 111191
Jon Ciesla 0cbe38
* Thu Feb 25 2010 Jon Ciesla 
Jon Ciesla 0cbe38
- New upstream, 5.0.1.
Jon Ciesla 0cbe38
Jon Ciesla ab2ba2
* Mon Jan 25 2010 Jon Ciesla 
Jon Ciesla ab2ba2
- New upstream, 5.0.0.
Jon Ciesla ab2ba2
Jon Ciesla 600d10
* Tue Dec 08 2009 Jon Ciesla 
Jon Ciesla 1d0a7f
- Drop broken postun scriptlet and dep, BZ 545226.
Jon Ciesla 600d10
Jon Ciesla 04a9b4
* Thu Dec 03 2009 Jon Ciesla 
Jon Ciesla 04a9b4
- Fix applybaculadate location.
Jon Ciesla 04a9b4
Jon Ciesla 04a9b4
* Tue Dec 01 2009 Jon Ciesla 
Jon Ciesla 04a9b4
- Add applybaculadate, BZ 540861.
Jon Ciesla 04a9b4
Kevin Kofler 291a27
* Tue Nov 24 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 3.0.3-2
Kevin Kofler 291a27
- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI)
Kevin Kofler 291a27
Jon Ciesla c61aae
* Mon Oct 19 2009 Jon Ciesla 
Jon Ciesla c61aae
- New upstream, 3.0.3.
Jon Ciesla c61aae
Tomáš Mráz 43cef8
* Sat Aug 22 2009 Tomas Mraz <tmraz@redhat.com> - 3.0.2-4
Tomáš Mráz be575f
- rebuilt with new openssl
Tomáš Mráz be575f
Jon Ciesla 61a797
* Mon Aug 10 2009 Jon Ciesla 
Jon Ciesla 61a797
- Dropped user/group removal per guidelines.
Jon Ciesla 61a797
- Added -common dep to traymonitor.
Jon Ciesla 61a797
Jon Ciesla 08062e
* Thu Jul 30 2009 Jon Ciesla 
Jon Ciesla 08062e
- gnome-console consolehelper correction. BZ 426790.
Jon Ciesla 08062e
- add tray-monitor to consolehelper. BZ 426790
Jon Ciesla 08062e
Jesse Keating f7b73b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-1
Jesse Keating f7b73b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating f7b73b
Jon Ciesla 0036e0
* Tue Jul 21 2009 Jon Ciesla 
Jon Ciesla 0036e0
- Update to new upstream, 3.0.2.
Jon Ciesla 0036e0
- Put full paths in desktop files. BZ 426790.
Jon Ciesla 0036e0
- Moved console requires from sysconfdir to common BZ 505755.
Jon Ciesla 0036e0
Jon Ciesla ffb14e
* Thu Apr 30 2009 Jon Ciesla 
Jon Ciesla ffb14e
- Update to new upstream, 3.0.1.
Jon Ciesla ffb14e
Jon Ciesla bf00cf
* Tue Apr 21 2009 Jon Ciesla 
Jon Ciesla bf00cf
- Update to new upstream, 3.0.0.
Jon Ciesla bf00cf
Jesse Keating c59737
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-3
Jesse Keating c59737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating c59737
Jon Ciesla 22b9a0
* Fri Jan 23 2009 Jon Ciesla 
Jon Ciesla 22b9a0
- Rebuild against mysql 5.1.
Jon Ciesla 22b9a0
Jon Ciesla a00ecb
* Mon Jan 05 2009 Jon Ciesla 
Jon Ciesla a00ecb
- Update to new upstream, 2.4.4.
Jon Ciesla a00ecb
- Dropped orphaned jobs patch, python 2.6 patch, applied upstream.
Jon Ciesla a00ecb
Jon Ciesla 3c1411
* Mon Dec 15 2008 Jon Ciesla 
Jon Ciesla 3c1411
- Patched to support Python 2.6, BZ 476547.
Jon Ciesla 3c1411
Jon Ciesla 48cee6
* Fri Dec 12 2008 Jon Ciesla 
Jon Ciesla 48cee6
- Fix consolehelper behaviour for bat.
Jon Ciesla 48cee6
Jon Ciesla 3bbb33
* Wed Dec 10 2008 Jon Ciesla 
Jon Ciesla 3bbb33
- Re-diffed fuzzy bacula-director-configuration and bacula-config patches.
Jon Ciesla 3bbb33
Andreas Thienemann d0bfbc
* Mon Dec 1 2008 Andreas Thienemann <andreas@bawue.net> - 2.4.3-4
Andreas Thienemann d0bfbc
- Fixed dependency "issues" #473627 by adding the sysconfdir subpackage.
Andreas Thienemann d0bfbc
Jon Ciesla d37250
* Mon Nov 17 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-3
Jon Ciesla d37250
- Added upstream orphaned jobs patch.
Jon Ciesla 543315
- Fixed logrotate file.
Jon Ciesla d37250
Jon Ciesla 7dc829
* Mon Nov 10 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-2
Jon Ciesla 7dc829
- Added bat.  BZ 470800.
Jon Ciesla 7dc829
Jon Ciesla d923dd
* Wed Oct 22 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-1
Jon Ciesla d923dd
- Update to 2.4.3.
Jon Ciesla d923dd
Jon Ciesla e45f06
* Tue Sep 09 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.2-2
Jon Ciesla e45f06
- Logrotate fix. BZ 457894.
Jon Ciesla e45f06
- Alternatives fix. BZ 458432.
Jon Ciesla e45f06
Jon Ciesla 809c9f
* Thu Jul 31 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.2-1
Jon Ciesla 809c9f
- Update to 2.4.2.
Jon Ciesla 809c9f
Andreas Thienemann 5d749c
* Wed Jul 30 2008 Andreas Thienemann <athienem@redhat.com> - 2.2.8-2
Andreas Thienemann 5d749c
- Fixed %%{fedora} comparision, making bacula-sqlite build on rawhide
Andreas Thienemann 5d749c
Jon Ciesla b87413
* Fri Jul 25 2008 Jon Ciesla <limb@jcomserv.net> - 2.2.8-1
Jon Ciesla b87413
- Update to 2.2.8. BZ 446461.
Jon Ciesla b87413
- Dropped director and storage DB-server hard Reqs. BZ 426788.
Jon Ciesla b87413
- .desktop fixes.  BZ 450278, 426789.
Jon Ciesla b87413
- Updated config patch.
Jon Ciesla b87413
- Dropped wxconsole patch, applied upstream.
Jon Ciesla b87413
- Updated pamd patch.
Jon Ciesla b87413
- Dropped ampm patch, applied upstream.
Jon Ciesla b87413
- Dropped maxbyteslist patch, N/A.
Jon Ciesla b87413
- Dropped maxwaittime patch, applied upstream.
Jon Ciesla b87413
- Dropped scheduler-next-hour patch, applied upstream.
Jon Ciesla b87413
- Dropped verify patch, applied upstream.
Jon Ciesla b87413
- Dropped tls-disconnect patch, applied upstream.
Jon Ciesla 5251a0
- Fix for 426791.
Jon Ciesla 5251a0
- Introduced patch fuzz workaround, will fix.
Jon Ciesla b87413
Tom Callaway 66f352
* Mon Jul  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-14
Tom Callaway 66f352
- fix conditional comparison
Tom Callaway 66f352
- fix license tag
Tom Callaway 66f352
Tom Callaway 9bf8f8
* Mon Jan 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-13
Tom Callaway 9bf8f8
- add BR: dvipdfm
Tom Callaway 9bf8f8
Jesse Keating 8ddf46
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.0.3-12
Jesse Keating 8ddf46
 - Rebuild for deps
Jesse Keating 8ddf46
Andreas Thienemann 82a0ba
* Wed Sep 5 2007 Andreas Thienemann <andreas@bawue.net> - 2.0.3-11
Andreas Thienemann 82a0ba
- Remove spooldir in client, fixing #251879
Andreas Thienemann 82a0ba
- Remove dependency on libtermcap, fixing #251158
Andreas Thienemann 82a0ba
Jesse Keating f9acda
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.0.3-10
Jesse Keating f9acda
- Rebuild for selinux ppc32 issue.
Jesse Keating f9acda
Andreas Thienemann d03ec3
* Wed Jul 25 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-9
Andreas Thienemann d03ec3
- Corrected the %%post alternatives calls. Fixing #249560.
Andreas Thienemann d03ec3
Andreas Thienemann 074524
* Wed Jul 19 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-8
Andreas Thienemann 074524
- Moved some files around in the %%files section and refactored
Andreas Thienemann 074524
  spec parts a bit
Andreas Thienemann 074524
- Fixed up the catalog-backup scripts by including them in the
Andreas Thienemann 074524
  alternatives system
Andreas Thienemann 074524
- Applied tls patch fixing some tls disconnection issues.
Andreas Thienemann 074524
Andreas Thienemann 074524
* Thu Jul 18 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-7
Andreas Thienemann 074524
- Minor specchanges, mostly typos in the comments
Andreas Thienemann 074524
- Incorporated minor changes from dgilmore's review.
Andreas Thienemann 074524
Andreas Thienemann 074524
* Fri Jul 13 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-6
Andreas Thienemann 074524
- Fixing %%preun scripts. Thx to Dan for spotting this
Andreas Thienemann 074524
Andreas Thienemann 074524
* Fri Jul 13 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-5
Andreas Thienemann 074524
- Fixed provides and requires
Andreas Thienemann 074524
Andreas Thienemann 074524
* Wed Jul 11 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-4
Andreas Thienemann 074524
- Fixed many rpmlint issues
Andreas Thienemann 074524
Andreas Thienemann 074524
* Thu Apr 26 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-3
Andreas Thienemann 074524
- Final cleanups for fedora
Andreas Thienemann 074524
- Removed webgui for now. It will be back in a future release
Andreas Thienemann 074524
- Added LANG=C calls to the initscripts
Andreas Thienemann 074524
Andreas Thienemann 074524
* Thu Apr 26 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-2
Andreas Thienemann 074524
- Added logdir
Andreas Thienemann 074524
- Fixed up doc-creation to actually work
Andreas Thienemann 074524
- Fixed up web interface
Andreas Thienemann 074524
- Included docs sub-package
Andreas Thienemann 074524
- Included README et al as docs where appropriate
Andreas Thienemann 074524
Andreas Thienemann 074524
* Sat Mar 10 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-1
Andreas Thienemann 074524
- Updated to 2.0.3
Andreas Thienemann 074524
- Reverted the database-check as we're not sure the db is running on the
Andreas Thienemann 074524
  local machine. A later revision might parse the bacula-dir.conf file
Andreas Thienemann 074524
  and just connect to the db to see if it's running.
Andreas Thienemann 074524
Andreas Thienemann 074524
* Sat Feb 28 2007 Andreas Thienemann <andreas@bawue.net> 2.0.2-1
Andreas Thienemann 074524
- Further updates on the spec
Andreas Thienemann 074524
Andreas Thienemann 074524
* Sat Feb 18 2007 Andreas Thienemann <andreas@bawue.net> 2.0.2-1
Andreas Thienemann 074524
- Much work on the spec
Andreas Thienemann 074524
- Updated to 2.0.2
Andreas Thienemann 074524
Andreas Thienemann 074524
* Sat Feb 18 2006 Andreas Thienemann <andreas@bawue.net> 1.38.11-1
Andreas Thienemann 074524
- Initial spec.