2011-12-19 15:20:41 +00:00
|
|
|
# Avoid dependency on fedora-usermgmt at install time by passing "--without fedora".
|
|
|
|
# http://fedoraproject.org/wiki/PackageUserCreation
|
|
|
|
# Otherwise you can trigger disabling by default by setting "% bcond_with fedora"
|
2011-12-19 15:41:43 +00:00
|
|
|
%bcond_without fedora
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-12-19 15:41:43 +00:00
|
|
|
%global username 33
|
|
|
|
%global uid bacula
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
Name: bacula
|
2011-12-19 08:36:11 +00:00
|
|
|
Version: 5.2.3
|
2011-12-19 15:20:41 +00:00
|
|
|
Release: 2%{?dist}
|
2011-11-30 14:55:59 +00:00
|
|
|
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
2008-07-07 17:01:16 +00:00
|
|
|
# See LICENSE for details
|
2011-11-30 14:55:59 +00:00
|
|
|
License: GPLv2 with exceptions
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
URL: http://www.bacula.org
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2011-12-02 17:35:52 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
Source0: http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source1: http://www.bacula.org/downloads/Bacula-%{version}/%{name}-docs-%{version}.tar.bz2
|
|
|
|
Source6: bacula.logrotate
|
|
|
|
Source7: bacula-fd.init
|
|
|
|
Source8: bacula-dir.init
|
|
|
|
Source9: bacula-sd.init
|
|
|
|
Source10: bacula-fd.service
|
|
|
|
Source11: bacula-dir.service
|
|
|
|
Source12: bacula-sd.service
|
|
|
|
Source13: bacula-bat.desktop
|
2011-12-12 16:18:26 +00:00
|
|
|
Source14: bacula-traymonitor.desktop
|
2011-11-30 14:55:59 +00:00
|
|
|
Source15: bacula-fd.sysconfig
|
|
|
|
Source16: bacula-dir.sysconfig
|
|
|
|
Source17: bacula-sd.sysconfig
|
|
|
|
Source18: bacula-checkconf
|
2011-12-11 17:28:18 +00:00
|
|
|
# Bug: hostname is ignored during configure, always picks "uname -n"
|
|
|
|
Patch1: bacula-5.2.2-hostname.patch
|
2011-11-30 14:55:59 +00:00
|
|
|
Patch2: bacula-5.0.2-openssl.patch
|
2011-12-05 14:03:01 +00:00
|
|
|
Patch3: bacula-5.2.2-queryfile.patch
|
2011-12-07 17:02:25 +00:00
|
|
|
Patch5: bacula-5.2.2-log-path.patch
|
2011-11-30 14:55:59 +00:00
|
|
|
Patch6: bacula-5.0.3-sqlite-priv.patch
|
|
|
|
Patch8: bacula-5.2.2-qt-console-optflags.patch
|
2011-12-02 17:35:52 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
BuildRequires: openssl-devel, ncurses-devel, perl, glibc-devel
|
|
|
|
BuildRequires: libstdc++-devel, libxml2-devel, zlib-devel
|
2011-12-05 18:25:20 +00:00
|
|
|
BuildRequires: mysql-devel, postgresql-devel, sqlite-devel
|
|
|
|
BuildRequires: desktop-file-utils, python-devel, lzo-devel, sed
|
2011-12-07 09:19:28 +00:00
|
|
|
BuildRequires: libacl-devel, tetex-latex, tetex, ghostscript
|
2011-12-06 08:48:33 +00:00
|
|
|
BuildRequires: readline-devel, libcap-devel
|
2011-12-19 15:20:41 +00:00
|
|
|
BuildRequires: fedora-usermgmt-devel
|
2011-11-30 14:55:59 +00:00
|
|
|
|
|
|
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
2011-12-02 17:35:52 +00:00
|
|
|
BuildRequires: qt4-devel >= 4.6.2
|
2011-11-30 14:55:59 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 7 || 0%{?rhel} >= 6
|
|
|
|
BuildRequires: tcp_wrappers-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: tcp_wrappers
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
|
|
|
|
BuildRequires: dvipdfm
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
%endif
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-12-07 09:19:28 +00:00
|
|
|
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 5
|
|
|
|
BuildRequires: latex2html
|
|
|
|
%endif
|
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
%description
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture and is
|
|
|
|
efficient and relatively easy to use, while offering many advanced
|
|
|
|
storage management features that make it easy to find and recover lost
|
|
|
|
or damaged files.
|
|
|
|
|
|
|
|
|
2011-12-07 10:15:05 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Bacula libraries
|
|
|
|
Group: System Environment/Daemons
|
2011-12-12 16:18:26 +00:00
|
|
|
Obsoletes: bacula-console-gnome <= 2.4
|
2011-12-07 10:15:05 +00:00
|
|
|
Obsoletes: bacula-sysconfdir <= 2.4, bacula-console-wxwidgets <= 5.0.3
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains basic Bacula libraries.
|
|
|
|
|
|
|
|
|
2011-12-07 09:46:02 +00:00
|
|
|
%package common
|
2011-12-07 10:15:05 +00:00
|
|
|
Summary: Common Bacula files
|
2011-12-07 09:46:02 +00:00
|
|
|
Group: System Environment/Daemons
|
2011-12-12 16:18:26 +00:00
|
|
|
Obsoletes: bacula-sysconfdir <= 2.4
|
2011-12-19 15:20:41 +00:00
|
|
|
Provides: group(%username) = %uid
|
|
|
|
Provides: user(%username) = %uid
|
|
|
|
%{?FE_USERADD_REQ}
|
2011-12-07 09:46:02 +00:00
|
|
|
|
|
|
|
%description common
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
2011-12-07 10:18:22 +00:00
|
|
|
This package contains files common to all Bacula daemons.
|
2011-12-07 10:15:05 +00:00
|
|
|
|
2011-12-07 09:46:02 +00:00
|
|
|
|
|
|
|
%package director-common
|
|
|
|
Summary: Common Bacula Director files
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
Requires: bacula-director = %{version}-%{release}
|
|
|
|
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: logwatch
|
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
%else
|
|
|
|
Requires(post): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/service
|
|
|
|
Requires(postun): /sbin/service
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description director-common
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the common director files, which are shared
|
|
|
|
between all database back-ends. You have to select a possible
|
|
|
|
database back-end though, which provides the needed bacula-director
|
|
|
|
dependency. Please choose from bacula-director-mysql,
|
|
|
|
bacula-director-sqlite or bacula-director-postgresql.
|
|
|
|
|
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
%package director-mysql
|
2011-11-30 14:55:59 +00:00
|
|
|
Summary: Bacula Director with MySQL database support
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
Provides: bacula-director = %{version}-%{release}
|
|
|
|
Requires: bacula-director-common%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%description director-mysql
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the bacula director, the server which controls
|
|
|
|
your backup run.
|
|
|
|
This director has support for the MySQL database.
|
|
|
|
|
|
|
|
|
|
|
|
%package director-sqlite
|
2011-11-30 14:55:59 +00:00
|
|
|
Summary: Bacula Director with sqlite database support
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
Provides: bacula-director = %{version}-%{release}
|
|
|
|
Requires: bacula-director-common%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%description director-sqlite
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the bacula director, the server which controls
|
|
|
|
your backup run.
|
|
|
|
This director has support for the sqlite database.
|
|
|
|
|
|
|
|
|
|
|
|
%package director-postgresql
|
2011-11-30 14:55:59 +00:00
|
|
|
Summary: Bacula Director with PostgresSQL database support
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
Provides: bacula-director = %{version}-%{release}
|
|
|
|
Requires: bacula-director-common%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%description director-postgresql
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the bacula director, the server which controls
|
|
|
|
your backup run.
|
|
|
|
This director has support for the PostgresSQL database.
|
|
|
|
|
|
|
|
|
2011-12-07 09:46:02 +00:00
|
|
|
%package storage
|
|
|
|
Summary: Bacula storage daemon files
|
2011-11-30 14:55:59 +00:00
|
|
|
Group: System Environment/Daemons
|
|
|
|
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
2011-12-07 09:46:02 +00:00
|
|
|
# Storage backends merged into core.
|
|
|
|
Provides: bacula-storage-common = %{version}-%{release}
|
|
|
|
Obsoletes: bacula-storage-common < 5.2.2-2
|
|
|
|
Provides: bacula-storage-mysql = %{version}-%{release}
|
|
|
|
Obsoletes: bacula-storage-mysql < 5.2.0
|
|
|
|
Provides: bacula-storage-sqlite = %{version}-%{release}
|
|
|
|
Obsoletes: bacula-storage-sqlite < 5.2.0
|
|
|
|
Provides: bacula-storage-postgresql = %{version}-%{release}
|
|
|
|
Obsoletes: bacula-storage-postgresql < 5.2.0
|
2011-11-30 14:55:59 +00:00
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
%else
|
|
|
|
Requires(post): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/service
|
|
|
|
Requires(postun): /sbin/service
|
|
|
|
%endif
|
|
|
|
|
2011-12-07 09:46:02 +00:00
|
|
|
%description storage
|
2007-07-24 20:11:04 +00:00
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
2011-12-07 09:46:02 +00:00
|
|
|
This package contains the storage daemon, the daemon responsible for
|
|
|
|
writing the data received from the clients onto tape drives or other
|
|
|
|
mass storage devices.
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package client
|
2011-11-30 14:55:59 +00:00
|
|
|
Summary: Bacula backup client
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
%else
|
|
|
|
Requires(post): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/service
|
|
|
|
Requires(postun): /sbin/service
|
|
|
|
%endif
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%description client
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the bacula client, the daemon running on the
|
|
|
|
system to be backed up.
|
|
|
|
|
|
|
|
|
|
|
|
%package console
|
2011-12-02 17:35:52 +00:00
|
|
|
Summary: Bacula management console
|
|
|
|
Group: System Environment/Daemons
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%description console
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the command-line management console for the bacula
|
|
|
|
backup system.
|
|
|
|
|
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
2008-11-17 18:07:33 +00:00
|
|
|
%package console-bat
|
2011-11-30 14:55:59 +00:00
|
|
|
Summary: Bacula bat console
|
|
|
|
Group: System Environment/Daemons
|
2008-11-17 18:07:33 +00:00
|
|
|
|
|
|
|
%description console-bat
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
2011-12-07 10:15:05 +00:00
|
|
|
This package contains the bat version of the bacula management console.
|
2011-12-12 16:18:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package traymonitor
|
|
|
|
Summary: Bacula system tray monitor
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
|
|
|
|
%description traymonitor
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the Gnome and KDE compatible tray monitor to
|
|
|
|
monitor your bacula server.
|
2011-11-30 14:55:59 +00:00
|
|
|
%endif
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package docs
|
2011-11-30 14:55:59 +00:00
|
|
|
Summary: Bacula documentation
|
|
|
|
Group: Documentation
|
2011-12-02 17:35:52 +00:00
|
|
|
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%description docs
|
|
|
|
Bacula is a set of programs that allow you to manage the backup,
|
|
|
|
recovery, and verification of computer data across a network of
|
|
|
|
different computers. It is based on a client/server architecture.
|
|
|
|
|
|
|
|
This package contains the documentation for most of the bacula-packages.
|
|
|
|
|
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%package -n nagios-plugins-bacula
|
2011-12-02 17:35:52 +00:00
|
|
|
Summary: Nagios Plugin - check_bacula
|
2011-11-30 14:55:59 +00:00
|
|
|
Group: Applications/System
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%description -n nagios-plugins-bacula
|
|
|
|
Provides check_bacula support for Nagios.
|
2011-11-03 12:18:02 +00:00
|
|
|
|
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -a 1 -D -T
|
2011-12-11 17:28:18 +00:00
|
|
|
%patch1 -p1 -b .hostname
|
2011-11-30 14:55:59 +00:00
|
|
|
%patch2 -p2 -b .openssl
|
2011-12-05 14:03:01 +00:00
|
|
|
%patch3 -p1 -b .queryfile
|
2011-12-07 17:02:25 +00:00
|
|
|
%patch5 -p1 -b .log-path
|
2011-11-30 14:55:59 +00:00
|
|
|
%patch6 -p0 -b .priv
|
|
|
|
%patch8 -p1 -b .optflags
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
# Remove execution permissions from files we're packaging as docs later on
|
|
|
|
find updatedb -type f | xargs chmod -x
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
%build
|
2011-12-02 17:35:52 +00:00
|
|
|
build() {
|
2010-06-03 09:57:02 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
|
2011-11-30 14:55:59 +00:00
|
|
|
export CPPFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
|
2007-07-24 20:11:04 +00:00
|
|
|
%configure \
|
|
|
|
--sysconfdir=%{_sysconfdir}/bacula \
|
|
|
|
--with-dir-user=bacula \
|
|
|
|
--with-dir-group=bacula \
|
|
|
|
--with-sd-user=bacula \
|
2010-10-19 15:29:37 +00:00
|
|
|
--with-sd-group=disk \
|
2007-07-24 20:11:04 +00:00
|
|
|
--with-fd-user=root \
|
|
|
|
--with-fd-group=root \
|
2011-12-11 17:28:18 +00:00
|
|
|
--with-hostname=localhost \
|
2011-12-05 14:03:01 +00:00
|
|
|
--with-basename=bacula \
|
2007-07-24 20:11:04 +00:00
|
|
|
--with-dir-password=@@DIR_PASSWORD@@ \
|
|
|
|
--with-fd-password=@@FD_PASSWORD@@ \
|
|
|
|
--with-sd-password=@@SD_PASSWORD@@ \
|
|
|
|
--with-mon-dir-password=@@MON_DIR_PASSWORD@@ \
|
|
|
|
--with-mon-fd-password=@@MON_FD_PASSWORD@@ \
|
|
|
|
--with-mon-sd-password=@@MON_SD_PASSWORD@@ \
|
2011-11-30 14:55:59 +00:00
|
|
|
--with-working-dir=%{_localstatedir}/spool/bacula \
|
2011-12-07 17:02:25 +00:00
|
|
|
--with-bsrdir=%{_localstatedir}/spool/bacula \
|
2011-12-05 14:03:01 +00:00
|
|
|
--with-logdir=%{_localstatedir}/log/bacula \
|
2011-11-30 14:55:59 +00:00
|
|
|
--with-scriptdir=%{_libexecdir}/bacula \
|
|
|
|
--with-plugindir=%{_libdir}/bacula \
|
2007-07-24 20:11:04 +00:00
|
|
|
--with-smtp-host=localhost \
|
|
|
|
--with-subsys-dir=%{_localstatedir}/lock/subsys \
|
|
|
|
--with-pid-dir=%{_localstatedir}/run \
|
2011-11-30 14:55:59 +00:00
|
|
|
--disable-conio \
|
|
|
|
--enable-readline \
|
2007-07-24 20:11:04 +00:00
|
|
|
--enable-largefile \
|
|
|
|
--enable-build-dird \
|
|
|
|
--enable-build-stored \
|
|
|
|
--with-openssl \
|
|
|
|
--with-tcp-wrappers \
|
|
|
|
--with-python \
|
|
|
|
--enable-smartalloc \
|
|
|
|
--with-x \
|
2011-11-30 14:55:59 +00:00
|
|
|
--disable-rpath \
|
|
|
|
--with-sqlite3 \
|
|
|
|
--with-mysql \
|
|
|
|
--with-postgresql \
|
2011-12-02 17:35:52 +00:00
|
|
|
$*
|
|
|
|
}
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
|
|
|
export QMAKE=/usr/bin/qmake-qt4
|
2011-12-11 16:04:27 +00:00
|
|
|
build --enable-bat --htmldir=%{_datadir}/doc/bacula-console-bat-%{version}
|
2011-12-02 17:35:52 +00:00
|
|
|
%else
|
2011-12-04 10:39:11 +00:00
|
|
|
build --disable-bat
|
2011-12-02 17:35:52 +00:00
|
|
|
%endif
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
# Remove RPATH
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2010-05-19 15:55:24 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
pushd examples/nagios/check_bacula
|
|
|
|
CFLAGS="%{optflags}" %{__make} LIBS="-lpthread -ldl -lssl -lcrypto -lz"
|
2007-07-24 20:11:04 +00:00
|
|
|
popd
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
|
|
|
pushd src/qt-console/tray-monitor
|
|
|
|
/usr/bin/qmake-qt4
|
2011-12-02 17:35:52 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-07-24 20:11:04 +00:00
|
|
|
popd
|
2011-11-30 14:55:59 +00:00
|
|
|
%endif
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
# Build the docs
|
2011-11-30 14:55:59 +00:00
|
|
|
pushd bacula-docs-%{version}
|
|
|
|
%configure --with-bacula=%{_builddir}/bacula-%{version}
|
|
|
|
make
|
2007-07-24 20:11:04 +00:00
|
|
|
popd
|
|
|
|
|
2011-12-11 16:04:27 +00:00
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
make install DESTDIR=%{buildroot}
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
# install the nagios plugin
|
|
|
|
%{__mkdir_p} %{buildroot}%{_libdir}/nagios/plugins
|
2011-12-02 17:35:52 +00:00
|
|
|
%{__install} -m0755 examples/nagios/check_bacula/.libs/check_bacula %{buildroot}%{_libdir}/nagios/plugins/
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
# Remove unused stuff
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/bacula-bwxconsole.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/bacula-tray-monitor.1*
|
2011-12-04 13:39:25 +00:00
|
|
|
|
|
|
|
# Install catalogue dummy
|
|
|
|
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
|
|
|
|
%{__install} -m0755 src/cats/.libs/libbaccats-%{version}.so %{buildroot}%{_libdir}/
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-12-07 14:34:15 +00:00
|
|
|
# Install sample query file
|
|
|
|
%{__install} -m0640 examples/sample-query.sql %{buildroot}%{_sysconfdir}/bacula/query.sql
|
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
2011-12-12 16:18:26 +00:00
|
|
|
# Bat
|
|
|
|
install -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bat.png
|
2011-11-30 14:55:59 +00:00
|
|
|
desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE13}
|
2011-12-12 16:18:26 +00:00
|
|
|
|
|
|
|
# QT Tray monitor
|
|
|
|
install -m 755 -D src/qt-console/tray-monitor/.libs/bacula-tray-monitor %{buildroot}%{_sbindir}/bacula-tray-monitor
|
|
|
|
install -m 644 -D src/qt-console/tray-monitor/tray-monitor.conf %{buildroot}%{_sysconfdir}/bacula/tray-monitor.conf
|
|
|
|
install -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bacula-tray-monitor.png
|
|
|
|
desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE14}
|
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%else
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/bat.1*
|
|
|
|
%endif
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
# logrotate
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log/bacula
|
|
|
|
install -m 644 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/bacula
|
|
|
|
|
|
|
|
# And logwatch
|
2011-11-30 14:55:59 +00:00
|
|
|
install -m 755 -D scripts/logwatch/bacula %{buildroot}%{_sysconfdir}/logwatch/scripts/services/bacula
|
|
|
|
install -m 755 -D scripts/logwatch/applybaculadate %{buildroot}%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
|
|
|
|
install -m 644 -D scripts/logwatch/logfile.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
|
|
|
|
install -m 644 -D scripts/logwatch/services.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/services/bacula.conf
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
install -m 755 -D %{SOURCE18} %{buildroot}%{_sbindir}/bacula-checkconf
|
2011-11-30 14:55:59 +00:00
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
2011-09-08 16:31:35 +00:00
|
|
|
# Systemd unit files
|
|
|
|
mkdir -p ${buildroot}%{_unitdir}
|
2011-11-30 14:55:59 +00:00
|
|
|
install -m 755 -D %{SOURCE10} %{buildroot}%{_unitdir}/bacula-fd.service
|
|
|
|
install -m 755 -D %{SOURCE11} %{buildroot}%{_unitdir}/bacula-dir.service
|
|
|
|
install -m 755 -D %{SOURCE12} %{buildroot}%{_unitdir}/bacula-sd.service
|
|
|
|
%else
|
|
|
|
# Initscripts
|
|
|
|
install -m 755 -D %{SOURCE7} %{buildroot}%{_initrddir}/bacula-fd
|
|
|
|
install -m 755 -D %{SOURCE8} %{buildroot}%{_initrddir}/bacula-dir
|
|
|
|
install -m 755 -D %{SOURCE9} %{buildroot}%{_initrddir}/bacula-sd
|
|
|
|
%endif
|
2010-10-19 15:29:37 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
# Sysconfig
|
|
|
|
install -m 644 -D %{SOURCE15} %{buildroot}%{_sysconfdir}/sysconfig/bacula-fd
|
|
|
|
install -m 644 -D %{SOURCE16} %{buildroot}%{_sysconfdir}/sysconfig/bacula-dir
|
|
|
|
install -m 644 -D %{SOURCE17} %{buildroot}%{_sysconfdir}/sysconfig/bacula-sd
|
2010-10-19 15:29:37 +00:00
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
# Create the spooling
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/spool/bacula
|
|
|
|
|
2011-12-05 18:06:44 +00:00
|
|
|
# Nuke the startup scripts we do not need
|
2011-12-11 16:04:27 +00:00
|
|
|
rm -f %{buildroot}%{_libexecdir}/bacula/{bacula,bacula-ctl-*,startmysql,stopmysql,bconsole}
|
2011-12-05 18:06:44 +00:00
|
|
|
rm -f %{buildroot}%{_sbindir}/bacula
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/bacula.8.gz
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
# Fix up some perms so rpmlint does not complain too much
|
|
|
|
chmod 755 %{buildroot}%{_sbindir}/*
|
2011-11-30 14:55:59 +00:00
|
|
|
chmod 755 %{buildroot}%{_libdir}/bacula/*
|
2007-07-24 20:11:04 +00:00
|
|
|
chmod 755 %{buildroot}%{_libexecdir}/bacula/*
|
|
|
|
chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
|
|
|
|
|
2009-04-27 17:53:52 +00:00
|
|
|
# Remove extra docs
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/bacula/
|
2011-12-04 13:39:25 +00:00
|
|
|
find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.idx" -exec rm -f {} \;
|
|
|
|
find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.pl" -exec rm -f {} \;
|
|
|
|
find %{_builddir}/%{name}-%{version}/%{name}-docs-%{version}/manuals/en -name "*.tex" -exec rm -f {} \;
|
2009-04-27 17:53:52 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
# Remove local archives
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%post director-mysql
|
2011-11-30 14:55:59 +00:00
|
|
|
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-mysql-%{version}.so 50
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post director-sqlite
|
2011-11-30 14:55:59 +00:00
|
|
|
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-sqlite3-%{version}.so 40
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post director-postgresql
|
2011-11-30 14:55:59 +00:00
|
|
|
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-postgresql-%{version}.so 60
|
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%preun director-mysql
|
2008-09-10 14:31:29 +00:00
|
|
|
if [ "$1" = 0 ]; then
|
2011-11-30 14:55:59 +00:00
|
|
|
/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-mysql-%{version}.so
|
2008-09-10 14:31:29 +00:00
|
|
|
fi
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%preun director-sqlite
|
2008-09-10 14:31:29 +00:00
|
|
|
if [ "$1" = 0 ]; then
|
2011-12-07 10:16:08 +00:00
|
|
|
/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-sqlite3-%{version}.so
|
2008-09-10 14:31:29 +00:00
|
|
|
fi
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%preun director-postgresql
|
2008-09-10 14:31:29 +00:00
|
|
|
if [ "$1" = 0 ]; then
|
2011-11-30 14:55:59 +00:00
|
|
|
/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-postgresql-%{version}.so
|
2008-09-10 14:31:29 +00:00
|
|
|
fi
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
%pre common
|
2011-12-19 15:20:41 +00:00
|
|
|
%__fe_groupadd %uid -r %username &>/dev/null || :
|
|
|
|
%__fe_useradd %uid -r -s /sbin/nologin -d /var/spool/bacula -M \
|
|
|
|
-c 'Bacula Backup System' -g %username %username &>/dev/null || :
|
|
|
|
|
|
|
|
%postun common
|
|
|
|
%__fe_userdel %username &>/dev/null || :
|
|
|
|
%__fe_groupdel %username &>/dev/null || :
|
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-09-09 15:42:39 +00:00
|
|
|
%post client
|
2011-11-30 14:55:59 +00:00
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
# Initial installation
|
2011-09-09 15:42:39 +00:00
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-09-09 15:42:39 +00:00
|
|
|
%preun client
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
# Package removal, not upgrade
|
|
|
|
/bin/systemctl --no-reload disable bacula-fd.service > /dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop bacula-fd.service > /dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-09-09 15:42:39 +00:00
|
|
|
%postun client
|
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
if [ $1 -ge 1 ] ; then
|
|
|
|
# Package upgrade, not uninstall
|
|
|
|
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-09-08 16:31:35 +00:00
|
|
|
%triggerun client -- bacula-client < 5.0.3-10
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply bacula-fd
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
/usr/bin/systemd-sysv-convert --save bacula-fd >/dev/null 2>&1 ||:
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-09-08 16:31:35 +00:00
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del bacula-fd >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-09-09 15:42:39 +00:00
|
|
|
%post director-common
|
2011-11-30 14:55:59 +00:00
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
# Initial installation
|
2011-09-09 15:42:39 +00:00
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-09-09 15:42:39 +00:00
|
|
|
%preun director-common
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
# Package removal, not upgrade
|
|
|
|
/bin/systemctl --no-reload disable bacula-dir.service > /dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop bacula-dir.service > /dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-09-09 15:42:39 +00:00
|
|
|
%postun director-common
|
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
if [ $1 -ge 1 ] ; then
|
|
|
|
# Package upgrade, not uninstall
|
|
|
|
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-09-08 16:31:35 +00:00
|
|
|
%triggerun director-common -- bacula-director-common < 5.0.3-10
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply bacula-dir
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
/usr/bin/systemd-sysv-convert --save bacula-dir >/dev/null 2>&1 ||:
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-09-08 16:31:35 +00:00
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del bacula-dir >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%post storage
|
2011-11-30 14:55:59 +00:00
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
# Initial installation
|
2011-09-09 15:42:39 +00:00
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%preun storage
|
2011-09-09 15:42:39 +00:00
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
# Package removal, not upgrade
|
|
|
|
/bin/systemctl --no-reload disable bacula-sd.service > /dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop bacula-sd.service > /dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%postun storage
|
2011-09-09 15:42:39 +00:00
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
if [ $1 -ge 1 ] ; then
|
|
|
|
# Package upgrade, not uninstall
|
|
|
|
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
2011-12-19 15:20:41 +00:00
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%triggerun storage -- bacula-storage-common < 5.0.3-10
|
2011-09-08 16:31:35 +00:00
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply bacula-sd
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
/usr/bin/systemd-sysv-convert --save bacula-sd >/dev/null 2>&1 ||:
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-09-08 16:31:35 +00:00
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del bacula-sd >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
%else
|
|
|
|
|
|
|
|
%post client
|
|
|
|
/sbin/chkconfig --add bacula-fd
|
|
|
|
|
|
|
|
|
|
|
|
%preun client
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
/sbin/service bacula-fd stop >/dev/null 2>&1 || :
|
|
|
|
/sbin/chkconfig --del bacula-fd
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun client
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
/sbin/service bacula-fd condrestart >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%post director-common
|
|
|
|
/sbin/chkconfig --add bacula-dir
|
|
|
|
|
|
|
|
|
|
|
|
%preun director-common
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
/sbin/service bacula-dir stop >/dev/null 2>&1 || :
|
|
|
|
/sbin/chkconfig --del bacula-dir
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun director-common
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
/sbin/service bacula-dir condrestart >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%post storage
|
2011-11-30 14:55:59 +00:00
|
|
|
/sbin/chkconfig --add bacula-sd
|
|
|
|
|
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%preun storage
|
2011-11-30 14:55:59 +00:00
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
/sbin/service bacula-sd stop >/dev/null 2>&1 || :
|
|
|
|
/sbin/chkconfig --del bacula-sd
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%postun storage
|
2011-11-30 14:55:59 +00:00
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
/sbin/service bacula-sd condrestart >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2011-12-07 10:15:05 +00:00
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libbac-%{version}.so
|
|
|
|
%{_libdir}/libbac.so
|
|
|
|
%{_libdir}/libbaccfg-%{version}.so
|
|
|
|
%{_libdir}/libbaccfg.so
|
|
|
|
%{_libdir}/libbacfind-%{version}.so
|
|
|
|
%{_libdir}/libbacfind.so
|
|
|
|
%{_libdir}/libbacpy-%{version}.so
|
|
|
|
%{_libdir}/libbacpy.so
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%files common
|
2008-07-30 13:52:01 +00:00
|
|
|
%defattr(-,root,root,-)
|
2011-12-11 16:04:27 +00:00
|
|
|
%doc AUTHORS ChangeLog COPYING LICENSE README SUPPORT VERIFYING ReleaseNotes
|
2007-07-24 20:11:04 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula
|
2011-11-30 14:55:59 +00:00
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%dir %{_libexecdir}/%{name}
|
2007-07-24 20:11:04 +00:00
|
|
|
%{_sbindir}/btraceback
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_libexecdir}/%{name}/btraceback.dbx
|
|
|
|
%{_libexecdir}/%{name}/btraceback.gdb
|
|
|
|
%{_libexecdir}/%{name}/bacula_config
|
|
|
|
%{_libexecdir}/%{name}/btraceback.mdb
|
|
|
|
%{_mandir}/man8/btraceback.8.gz
|
2007-07-24 20:11:04 +00:00
|
|
|
%dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula
|
|
|
|
%dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula
|
2011-09-08 16:31:35 +00:00
|
|
|
%{_sbindir}/bacula-checkconf
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%files director-common
|
|
|
|
%defattr(-,root,root,-)
|
2011-11-30 14:55:59 +00:00
|
|
|
%doc updatedb
|
2010-11-23 16:42:06 +00:00
|
|
|
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf
|
2011-12-07 14:34:15 +00:00
|
|
|
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/query.sql
|
2011-11-30 14:55:59 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
|
2007-07-24 20:11:04 +00:00
|
|
|
%{_sysconfdir}/logwatch/scripts/services/bacula
|
2009-12-04 15:00:35 +00:00
|
|
|
%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
|
2011-11-30 14:55:59 +00:00
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
2011-09-08 16:31:35 +00:00
|
|
|
%{_unitdir}/bacula-dir.service
|
2011-11-30 14:55:59 +00:00
|
|
|
%else
|
|
|
|
%{_initrddir}/bacula-dir
|
|
|
|
%endif
|
|
|
|
%{_sbindir}/bacula-dir
|
2007-07-24 20:11:04 +00:00
|
|
|
%{_sbindir}/bregex
|
2011-12-04 10:39:11 +00:00
|
|
|
%{_sbindir}/bscan
|
2011-12-05 18:06:44 +00:00
|
|
|
%{_sbindir}/bsmtp
|
2007-07-24 20:11:04 +00:00
|
|
|
%{_sbindir}/bwild
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_sbindir}/dbcheck
|
2011-12-04 10:50:51 +00:00
|
|
|
%{_libdir}/libbaccats.so
|
|
|
|
%attr(755,root,root) %ghost %{_libdir}/libbaccats-%{version}.so
|
|
|
|
%{_libdir}/libbacsql.so
|
|
|
|
%{_libdir}/libbacsql-%{version}.so
|
2011-12-05 18:06:44 +00:00
|
|
|
%{_mandir}/man1/bsmtp.1.gz
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_mandir}/man8/bacula-dir.8.gz
|
|
|
|
%{_mandir}/man8/bregex.8.gz
|
2011-12-04 10:39:11 +00:00
|
|
|
%{_mandir}/man8/bscan.8.gz
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_mandir}/man8/bwild.8.gz
|
2011-12-02 17:35:52 +00:00
|
|
|
%{_mandir}/man8/dbcheck.8.gz
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_libexecdir}/%{name}/create_bacula_database
|
|
|
|
%{_libexecdir}/%{name}/delete_catalog_backup
|
|
|
|
%{_libexecdir}/%{name}/drop_bacula_database
|
|
|
|
%{_libexecdir}/%{name}/drop_bacula_tables
|
|
|
|
%{_libexecdir}/%{name}/grant_bacula_privileges
|
|
|
|
%{_libexecdir}/%{name}/make_bacula_tables
|
|
|
|
%{_libexecdir}/%{name}/make_catalog_backup
|
|
|
|
%{_libexecdir}/%{name}/make_catalog_backup.pl
|
|
|
|
%{_libexecdir}/%{name}/update_bacula_tables
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%files director-mysql
|
|
|
|
%defattr(-,root,root,-)
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_libdir}/libbaccats-mysql-%{version}.so
|
|
|
|
%{_libdir}/libbaccats-mysql.so
|
|
|
|
%{_libexecdir}/%{name}/create_mysql_database
|
|
|
|
%{_libexecdir}/%{name}/drop_mysql_database
|
|
|
|
%{_libexecdir}/%{name}/drop_mysql_tables
|
|
|
|
%{_libexecdir}/%{name}/grant_mysql_privileges
|
|
|
|
%{_libexecdir}/%{name}/make_mysql_tables
|
|
|
|
%{_libexecdir}/%{name}/update_mysql_tables
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%files director-sqlite
|
|
|
|
%defattr(-,root,root,-)
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_libdir}/libbaccats-sqlite3-%{version}.so
|
|
|
|
%{_libdir}/libbaccats-sqlite3.so
|
|
|
|
%{_libexecdir}/%{name}/create_sqlite3_database
|
|
|
|
%{_libexecdir}/%{name}/drop_sqlite3_database
|
|
|
|
%{_libexecdir}/%{name}/drop_sqlite3_tables
|
|
|
|
%{_libexecdir}/%{name}/grant_sqlite3_privileges
|
|
|
|
%{_libexecdir}/%{name}/make_sqlite3_tables
|
|
|
|
%{_libexecdir}/%{name}/update_sqlite3_tables
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
%files director-postgresql
|
|
|
|
%defattr(-,root,root,-)
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_libdir}/libbaccats-postgresql-%{version}.so
|
|
|
|
%{_libdir}/libbaccats-postgresql.so
|
|
|
|
%{_libexecdir}/%{name}/create_postgresql_database
|
|
|
|
%{_libexecdir}/%{name}/drop_postgresql_database
|
|
|
|
%{_libexecdir}/%{name}/drop_postgresql_tables
|
|
|
|
%{_libexecdir}/%{name}/grant_postgresql_privileges
|
|
|
|
%{_libexecdir}/%{name}/make_postgresql_tables
|
|
|
|
%{_libexecdir}/%{name}/update_postgresql_tables
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
%files storage
|
2007-07-24 20:11:04 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_sbindir}/bacula-sd
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_sbindir}/bcopy
|
2007-07-24 20:11:04 +00:00
|
|
|
%{_sbindir}/bextract
|
|
|
|
%{_sbindir}/bls
|
|
|
|
%{_sbindir}/btape
|
|
|
|
%config(noreplace) %{_sysconfdir}/bacula/bacula-sd.conf
|
2011-11-30 14:55:59 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-sd
|
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
2011-09-08 16:31:35 +00:00
|
|
|
%{_unitdir}/bacula-sd.service
|
2011-11-30 14:55:59 +00:00
|
|
|
%else
|
|
|
|
%{_initrddir}/bacula-sd
|
|
|
|
%endif
|
2011-12-04 10:39:11 +00:00
|
|
|
%{_libexecdir}/%{name}/disk-changer
|
|
|
|
%{_libexecdir}/%{name}/dvd-handler
|
|
|
|
%{_libexecdir}/%{name}/mtx-changer
|
|
|
|
%{_libexecdir}/%{name}/mtx-changer.conf
|
2011-11-30 14:55:59 +00:00
|
|
|
%{_mandir}/man8/bacula-sd.8.gz
|
|
|
|
%{_mandir}/man8/bcopy.8.gz
|
|
|
|
%{_mandir}/man8/bextract.8.gz
|
|
|
|
%{_mandir}/man8/bls.8.gz
|
|
|
|
%{_mandir}/man8/btape.8.gz
|
2007-07-24 20:11:04 +00:00
|
|
|
|
2011-12-07 09:46:02 +00:00
|
|
|
%files client
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_sbindir}/bacula-fd
|
|
|
|
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
|
|
|
|
%{_unitdir}/bacula-fd.service
|
|
|
|
%else
|
|
|
|
%{_initrddir}/bacula-fd
|
|
|
|
%endif
|
|
|
|
%config(noreplace) %{_sysconfdir}/bacula/bacula-fd.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-fd
|
|
|
|
%{_mandir}/man8/bacula-fd.8.gz
|
|
|
|
%{_libdir}/bacula/bpipe-fd.so
|
|
|
|
|
|
|
|
%files console
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_sbindir}/bconsole
|
2011-12-11 16:39:25 +00:00
|
|
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
|
2011-12-07 09:46:02 +00:00
|
|
|
%{_mandir}/man8/bconsole.8.gz
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
|
|
|
%files console-bat
|
|
|
|
%defattr(-,root,root,-)
|
2011-12-11 16:04:27 +00:00
|
|
|
%doc %{_datadir}/doc/bacula-console-bat-%{version}/*
|
2011-12-11 16:39:25 +00:00
|
|
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bat.conf
|
2011-12-07 09:46:02 +00:00
|
|
|
%{_sbindir}/bat
|
|
|
|
%{_mandir}/man1/bat.1.gz
|
|
|
|
%{_datadir}/applications/fedora-bacula-bat.desktop
|
2011-12-12 16:18:26 +00:00
|
|
|
%{_datadir}/pixmaps/bat.png
|
|
|
|
|
|
|
|
%files traymonitor
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_sbindir}/bacula-tray-monitor
|
|
|
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/tray-monitor.conf
|
|
|
|
%{_datadir}/applications/fedora-bacula-traymonitor.desktop
|
|
|
|
%{_datadir}/pixmaps/bacula-tray-monitor.png
|
2011-12-07 09:46:02 +00:00
|
|
|
%endif
|
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
%files docs
|
2008-07-30 13:52:01 +00:00
|
|
|
%defattr(-,root,root,-)
|
2011-11-30 14:55:59 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/problems/problems.pdf
|
2011-12-04 13:39:25 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/problems/problems
|
2011-11-30 14:55:59 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/console/console.pdf
|
2011-12-04 13:39:25 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/console/console
|
2011-11-30 14:55:59 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/utility/utility.pdf
|
2011-12-04 13:39:25 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/utility/utility
|
2011-11-30 14:55:59 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/developers/developers.pdf
|
2011-12-04 13:39:25 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/developers/developers
|
2011-11-30 14:55:59 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/main/main.pdf
|
2011-12-04 13:39:25 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/main/main
|
2011-11-30 14:55:59 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/misc/misc.pdf
|
2011-12-04 13:39:25 +00:00
|
|
|
%doc bacula-docs-%{version}/manuals/en/misc/misc
|
2011-11-30 14:55:59 +00:00
|
|
|
|
|
|
|
%files -n nagios-plugins-bacula
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/nagios/plugins/check_bacula
|
2007-07-24 20:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2011-12-19 15:20:41 +00:00
|
|
|
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-2
|
|
|
|
- Remove leftover users when removing bacula-common.
|
|
|
|
- Allow building "--without fedora" to avoid RHEL dependency on EPEL:
|
|
|
|
http://fedoraproject.org/wiki/PackageUserCreation
|
|
|
|
|
2011-12-19 08:36:11 +00:00
|
|
|
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-1
|
|
|
|
- Updated to 5.2.3.
|
2011-12-19 09:21:58 +00:00
|
|
|
- Remove fedora-usermgmt from libs Requires section.
|
2011-12-19 08:36:11 +00:00
|
|
|
|
2011-12-11 16:04:27 +00:00
|
|
|
* Sun Dec 11 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-11
|
|
|
|
- Add bat html docs so the help button works.
|
|
|
|
- Minor packaging changes.
|
2011-12-11 16:39:25 +00:00
|
|
|
- Default permissions on bconsole and bat.
|
2011-12-11 17:28:18 +00:00
|
|
|
- Use localhost as default on config files instead of patching fake
|
|
|
|
example.com hostnames.
|
2011-12-12 16:18:26 +00:00
|
|
|
- Add QT tray monitor.
|
2011-12-11 16:04:27 +00:00
|
|
|
|
2011-12-10 21:52:34 +00:00
|
|
|
* Sat Dec 10 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-10
|
|
|
|
- Added patch for mysql 5.5.18 from Oliver Falk.
|
|
|
|
|
2011-12-07 14:34:15 +00:00
|
|
|
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-9
|
|
|
|
- Add sample-query.sql as config file.
|
2011-12-07 17:02:25 +00:00
|
|
|
- Small log changes.
|
2011-12-07 14:34:15 +00:00
|
|
|
|
2011-12-07 09:19:28 +00:00
|
|
|
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-8
|
|
|
|
- Fixed building on RHEL/CentOS 4.
|
2011-12-07 10:15:05 +00:00
|
|
|
- Split out libs package to remove dependency on bacula-common for
|
|
|
|
bconsole, bat and check_bacula.
|
2011-12-07 10:16:08 +00:00
|
|
|
- Fix typo in post scriptlet for director-sqlite.
|
2011-12-07 09:19:28 +00:00
|
|
|
|
2011-12-06 08:48:33 +00:00
|
|
|
* Tue Dec 06 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-7
|
|
|
|
- Added libcap for POSIX.1e capabilities in bacula-fd (5.0.0 feature).
|
|
|
|
- Allow systemd files to read options set in the sysconfig
|
|
|
|
configuration files like SysV scripts to enable capabilities.
|
|
|
|
- Set capabilities as optional for now.
|
|
|
|
|
2011-12-05 18:06:44 +00:00
|
|
|
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-6
|
|
|
|
- Removed leftover files and small rpmlint fixes.
|
|
|
|
- Additional file moves between packages.
|
2011-12-05 18:25:20 +00:00
|
|
|
- Enabled LZO compression (5.2.1 feature).
|
2011-12-05 18:06:44 +00:00
|
|
|
|
2011-12-05 11:34:08 +00:00
|
|
|
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-5
|
|
|
|
- Remove redundant user/group in service files.
|
2011-12-05 14:03:01 +00:00
|
|
|
- Reduce patching for what can be passed through configure.
|
2011-12-05 14:29:19 +00:00
|
|
|
- Remove dsolink patch, not needed anymore.
|
2011-12-05 11:34:08 +00:00
|
|
|
|
2011-12-02 17:35:52 +00:00
|
|
|
* Thu Dec 02 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-4
|
|
|
|
- Rename storage-common to storage and make it provide storage-common.
|
2011-12-04 10:39:11 +00:00
|
|
|
- Move bscan to director-common.
|
|
|
|
- Move storage scripts to storage.
|
2011-12-04 14:17:28 +00:00
|
|
|
- Add html docs.
|
2011-12-04 13:39:25 +00:00
|
|
|
- Install dummy catalogue library and mark it as ghost.
|
2011-12-02 17:35:52 +00:00
|
|
|
|
|
|
|
* Thu Dec 01 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-3
|
|
|
|
- Add missing conditional for bat in the build section.
|
|
|
|
- Make bat require qt4-devel on build (rhel 5 fix).
|
|
|
|
- Bumped requirement for qt >= 4.6.2 for 5.2.2.
|
|
|
|
- Renamed bacula-config.patch to bacula-5.2.2-config.patch as it
|
|
|
|
always changes.
|
|
|
|
- Fix installation of bat and check_bacula binaries. Enabling
|
|
|
|
libtool for bpipe-fd.so produces binaries under .libs.
|
|
|
|
- Removed fedora-usermgmt requirement for director-common.
|
|
|
|
- Removed examples from docs and make them "noarch".
|
|
|
|
- Fix bacula-console requirements.
|
|
|
|
- Fix nagios plugin summary.
|
|
|
|
- Removed checkconf functions from SysV init files and replace
|
|
|
|
the call with the script used in systemd service files. Make
|
|
|
|
the script available in all builds.
|
|
|
|
- Make docs NoArch where supported.
|
|
|
|
|
2011-12-01 18:02:53 +00:00
|
|
|
* Thu Dec 1 2011 Tom Callaway <spot@fedoraproject.org> - 5.2.2-2
|
|
|
|
- resolve broken dependency issues
|
|
|
|
|
2011-11-30 14:55:59 +00:00
|
|
|
* Tue Nov 29 2011 Tom Callaway <spot@fedoraproject.org> - 5.2.2-1
|
|
|
|
- Update to 5.2.2
|
|
|
|
- minor spec cleanups, conditionalized support for systemd
|
|
|
|
|
|
|
|
* Fri Nov 04 2011 Simone Caronni <negativo17@gmail.com> - 5.2.1-1
|
|
|
|
- Updated to 5.2.1.
|
|
|
|
- Reworked and removed some patches for 5.2.1 codebase.
|
|
|
|
- Reworked bat installation.
|
|
|
|
- Removed sqlite2 support.
|
|
|
|
- Removed all the fancy database backend rebuilding.
|
|
|
|
- Disabled libtool for bpipe-fd.so.
|
|
|
|
- Passed plugins dir as libdir/bacula.
|
|
|
|
- Added sql libs to alternatives.
|
|
|
|
- Disabled traymonitor.
|
|
|
|
- Minor fixes to spec file, rpmlint fixes.
|
|
|
|
- Nagios patch for Enterprise FDs.
|
|
|
|
- Removed all gui/web stuff.
|
|
|
|
- Removed a lot of comments.
|
|
|
|
- Conditional on Fedora 11 / RHEL 6 for bat build.
|
|
|
|
- Obsolete bacula-sysconfdir.
|
|
|
|
- Removed bwxconsole.
|
|
|
|
|
2011-11-03 13:16:10 +00:00
|
|
|
* Thu Nov 3 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-13
|
2011-11-03 13:12:43 +00:00
|
|
|
- fixed creating of bacula MySQL tables and bump
|
|
|
|
|
2011-10-21 07:07:37 +00:00
|
|
|
* Fri Oct 9 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-12
|
|
|
|
- fixed restart option in service files (#745529)
|
2011-11-03 12:18:02 +00:00
|
|
|
- fixed creating of bacula MySQL tables (#724894)
|
2011-10-21 07:07:37 +00:00
|
|
|
|
2011-09-09 15:42:39 +00:00
|
|
|
* Fri Sep 9 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-11
|
|
|
|
- add missing scriptlets
|
|
|
|
|
2011-09-08 16:31:35 +00:00
|
|
|
* Thu Sep 8 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-10
|
|
|
|
- convert to systemd
|
|
|
|
|
2011-03-23 18:04:15 +00:00
|
|
|
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 5.0.3-9
|
|
|
|
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
|
|
|
|
|
2011-02-08 04:06:42 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.3-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-03 19:23:28 +00:00
|
|
|
* Mon Jan 03 2011 Jon Ciesla <limb@jcomserv.net> - 5.0.3-7
|
2011-01-06 17:32:03 +00:00
|
|
|
- Rebuild for MySQL 5.5, with patch.
|
2011-01-03 19:23:28 +00:00
|
|
|
|
2010-11-26 09:46:56 +00:00
|
|
|
* Fri Nov 26 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-6
|
|
|
|
- Fixed previous fix of alternatives
|
|
|
|
- Changed initscript return value for non-configured service
|
|
|
|
- Director address is required in tray-monitor config now (#626490)
|
|
|
|
|
2010-11-23 16:42:06 +00:00
|
|
|
* Tue Nov 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-5
|
|
|
|
- Fixed alternatives for dbcheck (#650224)
|
|
|
|
- Moved director log file to /var/log/bacula/
|
|
|
|
- Changed permission of bacula-dir.conf (RHEL #651786)
|
|
|
|
- SQLite database is created as bacula user
|
|
|
|
|
2010-10-19 15:29:37 +00:00
|
|
|
* Tue Oct 19 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-4
|
|
|
|
- Fixed initscripts and changed default group of bacula-sd (#629697)
|
|
|
|
- Better warning for non-configured password (#556669)
|
|
|
|
|
2010-09-29 20:58:04 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 5.0.3-3
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-23 12:13:22 +00:00
|
|
|
* Thu Sep 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-2
|
|
|
|
- fixed openssl patch, thanks to Enrico Scholz
|
|
|
|
|
2010-08-16 17:01:39 +00:00
|
|
|
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.3-1
|
|
|
|
- New upstream.
|
|
|
|
- DSOlink fix for same.
|
|
|
|
|
2010-07-30 16:32:55 +00:00
|
|
|
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-8
|
|
|
|
- Patched configure scripts for Python 2.7.
|
|
|
|
|
|
|
|
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-7
|
|
|
|
- Rebuild against Python 2.7.
|
|
|
|
|
2010-07-14 12:18:19 +00:00
|
|
|
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 5.0.2-6
|
|
|
|
- rebuilt against wxGTK-2.8.11-2
|
|
|
|
|
2010-06-03 09:57:02 +00:00
|
|
|
* Thu Jun 3 2010 Jan Görig <jgorig@redhat.com> 5.0.2-5
|
|
|
|
- removed no longer needed sysconfig subpackage (#593307]
|
|
|
|
- build with $RPM_OPT_FLAGS, show compiler commands in build log (#575425)
|
|
|
|
fixed by Ville Skyttä
|
|
|
|
- dropped tcp_wrappers build conditional (#537250)
|
|
|
|
- fixed location of query.xml in config file (#556480)
|
|
|
|
|
2010-06-02 10:29:08 +00:00
|
|
|
* Wed Jun 2 2010 Jan Görig <jgorig@redhat.com> 5.0.2-4
|
|
|
|
- initscripts improvements
|
|
|
|
- fixed consolehelper settings and menu entries
|
|
|
|
|
2010-06-01 19:03:50 +00:00
|
|
|
* Tue Jun 01 2010 Jon Ciesla <limb@jcomserv.net - 5.0.2-3
|
|
|
|
- Corrected ssl patch, court. jgorig.
|
|
|
|
|
2010-05-19 15:55:24 +00:00
|
|
|
* Wed May 19 2010 Jon Ciesla <limb@jcomserv.net - 5.0.2-2
|
|
|
|
- Corrected bat build, BZ 593149.
|
|
|
|
- Corrected ssl patch.
|
|
|
|
|
2010-04-30 15:37:22 +00:00
|
|
|
* Thu Apr 29 2010 Jon Ciesla <limb@jcomserv.net - 5.0.2-1
|
|
|
|
- New upstream, 5.0.2.
|
|
|
|
- Updated openssl patch.
|
|
|
|
|
2010-03-18 15:49:34 +00:00
|
|
|
* Thu Feb 25 2010 Jon Ciesla <limb@jcomserv.net - 5.0.1-1
|
|
|
|
- New upstream, 5.0.1.
|
|
|
|
|
2010-01-26 20:47:22 +00:00
|
|
|
* Mon Jan 25 2010 Jon Ciesla <limb@jcomserv.net - 5.0.0-1
|
|
|
|
- New upstream, 5.0.0.
|
|
|
|
|
2009-12-08 13:37:29 +00:00
|
|
|
* Tue Dec 08 2009 Jon Ciesla <limb@jcomserv.net - 3.0.3-5
|
2009-12-08 13:50:56 +00:00
|
|
|
- Drop broken postun scriptlet and dep, BZ 545226.
|
2009-12-08 13:37:29 +00:00
|
|
|
|
2009-12-04 15:00:35 +00:00
|
|
|
* Thu Dec 03 2009 Jon Ciesla <limb@jcomserv.net - 3.0.3-4
|
|
|
|
- Fix applybaculadate location.
|
|
|
|
|
|
|
|
* Tue Dec 01 2009 Jon Ciesla <limb@jcomserv.net - 3.0.3-3
|
|
|
|
- Add applybaculadate, BZ 540861.
|
|
|
|
|
2009-11-24 22:14:56 +00:00
|
|
|
* Tue Nov 24 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 3.0.3-2
|
|
|
|
- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI)
|
|
|
|
|
2009-10-19 18:15:01 +00:00
|
|
|
* Mon Oct 19 2009 Jon Ciesla <limb@jcomserv.net - 3.0.3-1
|
|
|
|
- New upstream, 3.0.3.
|
|
|
|
|
2009-08-22 11:45:56 +00:00
|
|
|
* Sat Aug 22 2009 Tomas Mraz <tmraz@redhat.com> - 3.0.2-4
|
2009-08-21 12:33:34 +00:00
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-08-10 19:26:38 +00:00
|
|
|
* Mon Aug 10 2009 Jon Ciesla <limb@jcomserv.net - 3.0.2-3
|
|
|
|
- Dropped user/group removal per guidelines.
|
|
|
|
- Added -common dep to traymonitor.
|
|
|
|
|
2009-07-31 13:07:38 +00:00
|
|
|
* Thu Jul 30 2009 Jon Ciesla <limb@jcomserv.net - 3.0.2-2
|
|
|
|
- gnome-console consolehelper correction. BZ 426790.
|
|
|
|
- add tray-monitor to consolehelper. BZ 426790
|
|
|
|
|
2009-07-24 17:47:20 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-23 15:33:17 +00:00
|
|
|
* Tue Jul 21 2009 Jon Ciesla <limb@jcomserv.net - 3.0.2-0
|
|
|
|
- Update to new upstream, 3.0.2.
|
|
|
|
- Put full paths in desktop files. BZ 426790.
|
|
|
|
- Moved console requires from sysconfdir to common BZ 505755.
|
|
|
|
|
2009-04-30 19:20:04 +00:00
|
|
|
* Thu Apr 30 2009 Jon Ciesla <limb@jcomserv.net - 3.0.1-1
|
|
|
|
- Update to new upstream, 3.0.1.
|
|
|
|
|
2009-04-27 17:53:52 +00:00
|
|
|
* Tue Apr 21 2009 Jon Ciesla <limb@jcomserv.net - 3.0.0-1
|
|
|
|
- Update to new upstream, 3.0.0.
|
|
|
|
|
2009-02-24 03:54:47 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-23 13:06:12 +00:00
|
|
|
* Fri Jan 23 2009 Jon Ciesla <limb@jcomserv.net - 2.4.4-2
|
|
|
|
- Rebuild against mysql 5.1.
|
|
|
|
|
2009-01-06 14:27:16 +00:00
|
|
|
* Mon Jan 05 2009 Jon Ciesla <limb@jcomserv.net - 2.4.4-1
|
|
|
|
- Update to new upstream, 2.4.4.
|
|
|
|
- Dropped orphaned jobs patch, python 2.6 patch, applied upstream.
|
|
|
|
|
2008-12-15 21:03:12 +00:00
|
|
|
* Mon Dec 15 2008 Jon Ciesla <limb@jcomserv.net - 2.4.3-7
|
|
|
|
- Patched to support Python 2.6, BZ 476547.
|
|
|
|
|
2008-12-15 14:40:27 +00:00
|
|
|
* Fri Dec 12 2008 Jon Ciesla <limb@jcomserv.net - 2.4.3-6
|
|
|
|
- Fix consolehelper behaviour for bat.
|
|
|
|
|
2008-12-10 18:59:21 +00:00
|
|
|
* Wed Dec 10 2008 Jon Ciesla <limb@jcomserv.net - 2.4.3-5
|
|
|
|
- Re-diffed fuzzy bacula-director-configuration and bacula-config patches.
|
|
|
|
|
2008-12-01 19:52:37 +00:00
|
|
|
* Mon Dec 1 2008 Andreas Thienemann <andreas@bawue.net> - 2.4.3-4
|
|
|
|
- Fixed dependency "issues" #473627 by adding the sysconfdir subpackage.
|
|
|
|
|
2008-11-18 13:13:19 +00:00
|
|
|
* Mon Nov 17 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-3
|
|
|
|
- Added upstream orphaned jobs patch.
|
2008-11-18 18:09:02 +00:00
|
|
|
- Fixed logrotate file.
|
2008-11-18 13:13:19 +00:00
|
|
|
|
2008-11-17 18:07:33 +00:00
|
|
|
* Mon Nov 10 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-2
|
|
|
|
- Added bat. BZ 470800.
|
|
|
|
|
2008-10-22 19:33:30 +00:00
|
|
|
* Wed Oct 22 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.3-1
|
|
|
|
- Update to 2.4.3.
|
|
|
|
|
2008-09-10 14:31:29 +00:00
|
|
|
* Tue Sep 09 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.2-2
|
|
|
|
- Logrotate fix. BZ 457894.
|
|
|
|
- Alternatives fix. BZ 458432.
|
|
|
|
|
2008-07-31 18:20:33 +00:00
|
|
|
* Thu Jul 31 2008 Jon Ciesla <limb@jcomserv.net> - 2.4.2-1
|
|
|
|
- Update to 2.4.2.
|
|
|
|
|
2008-07-30 19:16:21 +00:00
|
|
|
* Wed Jul 30 2008 Andreas Thienemann <athienem@redhat.com> - 2.2.8-2
|
|
|
|
- Fixed %%{fedora} comparision, making bacula-sqlite build on rawhide
|
|
|
|
|
2008-07-30 13:52:01 +00:00
|
|
|
* Fri Jul 25 2008 Jon Ciesla <limb@jcomserv.net> - 2.2.8-1
|
|
|
|
- Update to 2.2.8. BZ 446461.
|
|
|
|
- Dropped director and storage DB-server hard Reqs. BZ 426788.
|
|
|
|
- .desktop fixes. BZ 450278, 426789.
|
|
|
|
- Updated config patch.
|
|
|
|
- Dropped wxconsole patch, applied upstream.
|
|
|
|
- Updated pamd patch.
|
|
|
|
- Dropped ampm patch, applied upstream.
|
|
|
|
- Dropped maxbyteslist patch, N/A.
|
|
|
|
- Dropped maxwaittime patch, applied upstream.
|
|
|
|
- Dropped scheduler-next-hour patch, applied upstream.
|
|
|
|
- Dropped verify patch, applied upstream.
|
|
|
|
- Dropped tls-disconnect patch, applied upstream.
|
2008-07-30 14:18:55 +00:00
|
|
|
- Fix for 426791.
|
|
|
|
- Introduced patch fuzz workaround, will fix.
|
2008-07-30 13:52:01 +00:00
|
|
|
|
2008-07-07 17:01:16 +00:00
|
|
|
* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-14
|
|
|
|
- fix conditional comparison
|
|
|
|
- fix license tag
|
|
|
|
|
2008-01-08 01:25:20 +00:00
|
|
|
* Mon Jan 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.3-13
|
|
|
|
- add BR: dvipdfm
|
|
|
|
|
2007-12-06 15:24:44 +00:00
|
|
|
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.0.3-12
|
|
|
|
- Rebuild for deps
|
|
|
|
|
2007-09-05 15:32:29 +00:00
|
|
|
* Wed Sep 5 2007 Andreas Thienemann <andreas@bawue.net> - 2.0.3-11
|
|
|
|
- Remove spooldir in client, fixing #251879
|
|
|
|
- Remove dependency on libtermcap, fixing #251158
|
|
|
|
|
2007-08-29 04:19:10 +00:00
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.0.3-10
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-25 15:28:31 +00:00
|
|
|
* Wed Jul 25 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-9
|
|
|
|
- Corrected the %%post alternatives calls. Fixing #249560.
|
|
|
|
|
2007-07-24 20:11:04 +00:00
|
|
|
* Wed Jul 19 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-8
|
|
|
|
- Moved some files around in the %%files section and refactored
|
|
|
|
spec parts a bit
|
|
|
|
- Fixed up the catalog-backup scripts by including them in the
|
|
|
|
alternatives system
|
|
|
|
- Applied tls patch fixing some tls disconnection issues.
|
|
|
|
|
|
|
|
* Thu Jul 18 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-7
|
|
|
|
- Minor specchanges, mostly typos in the comments
|
|
|
|
- Incorporated minor changes from dgilmore's review.
|
|
|
|
|
|
|
|
* Fri Jul 13 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-6
|
|
|
|
- Fixing %%preun scripts. Thx to Dan for spotting this
|
|
|
|
|
|
|
|
* Fri Jul 13 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-5
|
|
|
|
- Fixed provides and requires
|
|
|
|
|
|
|
|
* Wed Jul 11 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-4
|
|
|
|
- Fixed many rpmlint issues
|
|
|
|
|
|
|
|
* Thu Apr 26 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-3
|
|
|
|
- Final cleanups for fedora
|
|
|
|
- Removed webgui for now. It will be back in a future release
|
|
|
|
- Added LANG=C calls to the initscripts
|
|
|
|
|
|
|
|
* Thu Apr 26 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-2
|
|
|
|
- Added logdir
|
|
|
|
- Fixed up doc-creation to actually work
|
|
|
|
- Fixed up web interface
|
|
|
|
- Included docs sub-package
|
|
|
|
- Included README et al as docs where appropriate
|
|
|
|
|
|
|
|
* Sat Mar 10 2007 Andreas Thienemann <andreas@bawue.net> 2.0.3-1
|
|
|
|
- Updated to 2.0.3
|
|
|
|
- Reverted the database-check as we're not sure the db is running on the
|
|
|
|
local machine. A later revision might parse the bacula-dir.conf file
|
|
|
|
and just connect to the db to see if it's running.
|
|
|
|
|
|
|
|
* Sat Feb 28 2007 Andreas Thienemann <andreas@bawue.net> 2.0.2-1
|
|
|
|
- Further updates on the spec
|
|
|
|
|
|
|
|
* Sat Feb 18 2007 Andreas Thienemann <andreas@bawue.net> 2.0.2-1
|
|
|
|
- Much work on the spec
|
|
|
|
- Updated to 2.0.2
|
|
|
|
|
|
|
|
* Sat Feb 18 2006 Andreas Thienemann <andreas@bawue.net> 1.38.11-1
|
|
|
|
- Initial spec.
|