Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
bacula
> bacula.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bacula.spec of Package bacula (Revision 5)
Currently displaying revision
5
,
show latest
# # spec file for package bacula (Version 2.4.4) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: bacula %define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services BuildRequires: gcc-c++ libacl-devel sqlite-devel openssl-devel readline-devel tcpd-devel BuildRequires: xorg-x11-devel qt qt-devel libqwt5-devel libqwt5 python python-devel atk-devel BuildRequires: cairo-devel expat fontconfig-devel freetype2-devel glib2-devel glitz-devel BuildRequires: gtk2-devel libpng-devel pango-devel xorg-x11-devel zlib-devel BuildRequires: mysql-devel postgresql-devel License: GPL v2 or later Group: Productivity/Archiving/Backup Autoreqprov: on Version: 2.4.4 Release: 1 Summary: Bacula--The Network Backup Solution: Client Part URL: http://www.bacula.org Source0: %{name}-%{version}.tar.gz Source10: bacula-dir.init Source11: bacula-fd.init Source12: bacula-sd.init Source20: bacula-dir.fw Source21: bacula-fd.fw Source22: bacula-sd.fw #Patch: %{name}-%{version}-cflags.diff #Patch1: 001-check-python26.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bacula comes by night and sucks the vital essence from your computers. Bacula is a set of computer programs that permit you (or the system administrator) to manage backup, recovery, and verification of computer data across a network of computers of different kinds. In technical terms, it is a network client/server-based backup program. Bacula is relatively easy to use and efficient, while offering many advanced storage management features that make it easy to find and recover lost or damaged files. %debug_package %package server Summary: Bacula - The Network Backup Solution - server part Group: Productivity/Archiving/Backup Requires: bacula = %{version} Autoreqprov: on %description server Bacula - It comes by night and sucks the vital essence from your computers. Bacula is a set of computer programs that permit you (or the system administrator) to manage backup, recovery, and verification of computer data across a network of computers of different kinds. In technical terms, it is a network client/server based backup program. Bacula is relatively easy to use and efficient, while offering many advanced storage management features that make it easy to find and recover lost or damaged files. This package contains Bacula server daemons. %package gui Summary: Bacula - The Network Backup Solution - admin GUI Group: Productivity/Archiving/Backup Requires: bacula = %{version} Autoreqprov: on %description gui Bacula - It comes by night and sucks the vital essence from your computers. Bacula is a set of computer programs that permit you (or the system administrator) to manage backup, recovery, and verification of computer data across a network of computers of different kinds. In technical terms, it is a network client/server based backup program. Bacula is relatively easy to use and efficient, while offering many advanced storage management features that make it easy to find and recover lost or damaged files. This package contains Bacula GUI programs bat (QT) and tray monitor (KDE/Gnome). %prep %setup -q #%patch #%patch1 -p1 %build unset NOFORTIFY %if 0%{?suse_version} >= 1100 # bacula will crash otherwise NOFORTIFY='-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0' %endif CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS $NOFORTIFY" ./configure \ --prefix=%{_prefix} \ --libexecdir=%{_libdir} \ --sbindir=%{_sbindir} \ --bindir=%{_bindir} \ --libdir=%{_libdir} \ --infodir=%{_infodir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir}/bacula \ --with-working-dir=/var/lib/bacula/working \ --with-scriptdir=/usr/lib/bacula \ --with-sqlite3 \ --with-postgresql \ --with-mysql \ --with-openssl \ --with-python=/usr/ \ --enable-bat \ --enable-tray-monitor \ --with-tcp-wrappers make CFLAGS="$RPM_OPT_FLAGS $NOFORTIFY" %install make DESTDIR=$RPM_BUILD_ROOT install install -m 755 src/qt-console/bat $RPM_BUILD_ROOT/%{_sbindir}/bat mkdir -p $RPM_BUILD_ROOT/etc/init.d install -m 755 %SOURCE10 $RPM_BUILD_ROOT/etc/init.d/bacula-dir install -m 755 %SOURCE11 $RPM_BUILD_ROOT/etc/init.d/bacula-fd install -m 755 %SOURCE12 $RPM_BUILD_ROOT/etc/init.d/bacula-sd ln -sf ../../etc/init.d/bacula-fd $RPM_BUILD_ROOT/%{_sbindir}/rcbacula-fd ln -sf ../../etc/init.d/bacula-sd $RPM_BUILD_ROOT/%{_sbindir}/rcbacula-sd ln -sf ../../etc/init.d/bacula-dir $RPM_BUILD_ROOT/%{_sbindir}/rcbacula-dir # remove /etc/bacula/startmysql # and /etc/bacula/stopmysql # as they are not needed (bug #145310) ##rm $RPM_BUILD_ROOT/etc/bacula/startmysql $RPM_BUILD_ROOT/etc/bacula/stopmysql ##rm $RPM_BUILD_ROOT/etc/bacula/bacula-ctl-dir $RPM_BUILD_ROOT/etc/bacula/bacula-ctl-fd $RPM_BUILD_ROOT/etc/bacula/bacula-ctl-sd rm $RPM_BUILD_ROOT/usr/lib/bacula/startmysql $RPM_BUILD_ROOT/usr/lib/bacula/stopmysql rm $RPM_BUILD_ROOT/usr/lib/bacula/bacula-ctl-dir $RPM_BUILD_ROOT/usr/lib/bacula/bacula-ctl-fd $RPM_BUILD_ROOT/usr/lib/bacula/bacula-ctl-sd #install fw definitions mkdir -p $RPM_BUILD_ROOT/%{_fwdefdir}/ install -m 755 %SOURCE20 $RPM_BUILD_ROOT/%{_fwdefdir}/bacula-dir install -m 755 %SOURCE21 $RPM_BUILD_ROOT/%{_fwdefdir}/bacula-fd install -m 755 %SOURCE22 $RPM_BUILD_ROOT/%{_fwdefdir}/bacula-sd %clean rm -rf $RPM_BUILD_ROOT %preun %stop_on_removal bacula-fd %postun %restart_on_update bacula-fd %insserv_cleanup %preun server %stop_on_removal bacula-dir bacula-sd %postun server %restart_on_update bacula-dir bacula-sd %insserv_cleanup %files %defattr(-,root,root) %config /etc/init.d/bacula-fd %doc ABOUT-NLS COPYING INSTALL LICENSE README VERIFYING ReleaseNotes projects %{_sbindir}/bacula-fd %{_sbindir}/rcbacula-fd %{_sbindir}/bconsole %{_sbindir}/btraceback %config(noreplace) /etc/bacula/bacula-fd.conf %config(noreplace) /etc/bacula/bconsole.conf /usr/lib/bacula/btraceback.dbx /usr/lib/bacula/btraceback.gdb /usr/lib/bacula/gconsole /usr/lib/bacula/mtx-changer /usr/lib/bacula/bacula /usr/lib/bacula/dvd-handler /usr/lib/bacula/disk-changer /usr/lib/bacula/bconsole %dir /etc/bacula %dir /usr/lib/bacula %dir /var/lib/bacula %dir /var/lib/bacula/working %config %{_fwdefdir}/bacula-fd %doc %{_mandir}/man8/* %doc %{_mandir}/man1/bsmtp.1.gz %files server %defattr(-,root,root) %config /etc/init.d/bacula-sd %config /etc/init.d/bacula-dir %{_sbindir}/bacula-dir %{_sbindir}/bacula-sd %{_sbindir}/rcbacula-dir %{_sbindir}/rcbacula-sd %{_sbindir}/bcopy %{_sbindir}/bextract %{_sbindir}/bscan %{_sbindir}/bls %{_sbindir}/bsmtp %{_sbindir}/btape %{_sbindir}/dbcheck %{_sbindir}/bregex %{_sbindir}/bwild %config(noreplace) /etc/bacula/bacula-dir.conf %config(noreplace) /etc/bacula/bacula-sd.conf /usr/lib/bacula/create* /usr/lib/bacula/delete* /usr/lib/bacula/drop* /usr/lib/bacula/grant* /usr/lib/bacula/make* /usr/lib/bacula/update* /usr/lib/bacula/query.sql %config %{_fwdefdir}/bacula-dir %config %{_fwdefdir}/bacula-sd %dir /etc/bacula %dir /usr/lib/bacula %dir /var/lib/bacula %dir /var/lib/bacula/working %files gui %defattr(-,root,root) %{_sbindir}/bacula-tray-monitor %{_sbindir}/bat %config(noreplace) /etc/bacula/bat.conf %config(noreplace) /etc/bacula/tray-monitor.conf %doc %{_mandir}/man1/bacula-bgnome-console.1.gz %doc %{_mandir}/man1/bacula-bwxconsole.1.gz %doc %{_mandir}/man1/bacula-tray-monitor.1.gz %doc %{_mandir}/man1/bat.1.gz %changelog * Sun Dec 21 2008 - bastian.friedrich@collax.com 2.4.3 - update to 2.4.3 and spec file fixes for OpenSUSE 11.1 * Wed Jul 28 2008 - bastian.friedrich@collax.com - update to 2.4.2 * Wed Jul 17 2008 - bastian.friedrich@collax.com - update to 2.4.1 * Wed Jun 05 2008 - bastian.friedrich@collax.com - update to 2.4.0 * Wed Dec 28 2007 - bastian.friedrich@collax.com - update to 2.2.8 * Wed Dec 28 2007 - bastian.friedrich@collax.com - update to 2.2.7 * Wed Nov 12 2007 - bastian.friedrich@collax.com - update to 2.2.6 * Wed Oct 11 2007 - bastian.friedrich@collax.com - update to 2.2.5 * Wed Oct 02 2007 - bastian.friedrich@collax.com - update to 2.2.4 * Wed Sep 10 2007 - bastian.friedrich@collax.com - update to 2.2.3 * Preliminary fix for Bacula bug #935 * Wed Sep 01 2007 - bastian.friedrich@collax.com - update to 2.2.1 * Wed Aug 29 2007 - bastian.friedrich@collax.com - update to 2.2.0 * Tue Jun 12 2007 - anicka@suse.cz - update to 2.0.3 * bugfixes * Add smartctl call to bacula-sd.conf as an example of getting tape alert info. * Add Client Connect Wait to Storage daemon to permit users to modify the time the SD waits for a FD connection. * Mon Mar 05 2007 - anicka@suse.cz - fix path for firewall definitions * Thu Feb 22 2007 - anicka@suse.cz - add firewall definitions [#247362] * Fri Feb 02 2007 - anicka@suse.cz - update to 2.0.2 * Implement the include JobID in spool file name project. * Reorder projects file in order determined by Jan 2007 vote. * Fix open of SQLite3 db where user does not have write permission so that DIR does not crash. * Change 'Device not configured to autolabel' from INFO to WARNING. * Fix jobq.c to restart failed jobs when Reschedule Times = 0 which should restart an indefinite # of times. * Fix Job restart on error bug that promotes an Inc to a Full backup. * Return JobId in db_get_job_record() when JobId==0. * Do not release source pointers when restarting a failed job. * Modify USTORE constructor to set an empty store_source string, and don't copy the store_source string in a cancel. * Correct the Options scanner in the FD to correctly handle SHA1 option, which was eating the next option. * Add code to indicate when the SD is spooling, spool wait, and despooling. * Tue Jan 23 2007 - anicka@suse.cz - build with $RPM_OPT_FLAGS * Fri Jan 05 2007 - anicka@suse.cz - update to 2.0.0 * new major release, merged code from beta, see ChangeLog file for detailed information * Sat Sep 02 2006 - aj@suse.de - Cleanup BuildRequires. * Wed Jul 19 2006 - anicka@suse.cz - update to 1.38.11 * added documentation translations, change license to FDL * bugfixes - rename tee variable in console.c * Fri May 19 2006 - anicka@suse.cz - update to 1.38.9: - various bugfixes and minor improvements, see Changelog for more information * Tue Jan 31 2006 - anicka@suse.cz - add noreplace to all .conf files (#146150) * Fri Jan 27 2006 - anicka@suse.cz - remove unneeded files (#145310) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Thu Jan 05 2006 - anicka@suse.cz - update to 1.38.3 * Fri Dec 09 2005 - anicka@suse.cz - package documentation files (#137127) * Fri Dec 02 2005 - anicka@suse.cz - build with -fno-strict-aliasing * Thu Nov 24 2005 - mt@suse.de - update to 1.38.2 - enabled ACL, TLS and tcp wrapper support - fixed to use separate preun postun scripts for bacula and bacula server subpackages * Fri Nov 11 2005 - anicka@suse.cz - update to 1.38.0 - add rcbacula-fd, -sd, -dir links * Mon Oct 03 2005 - anicka@suse.cz - update to 1.37.40 * Tue Jul 19 2005 - anicka@suse.cz - use proper lib (lib64 on biarch) * Wed Jul 13 2005 - anicka@suse.cz - package created