The bacula spec file contains defines to build for several platforms:
Red Hat 7.x (rh7), Red Hat 8.0 (rh8), Red Hat 9 (rh9), Fedora Core (fc1,
fc3, fc4, fc5, fc6, fc7), Whitebox Enterprise Linux 3.0 (wb3), Red Hat Enterprise Linux
- (rhel3, rhel4), Mandrake 10.x (mdk), Mandriva 2006.x (mdv) CentOS (centos3, centos4)
- Scientific Linux (sl3, sl4) and SuSE (su9, su10, su102). The package build is controlled by a mandatory define set at the beginning of the file. These defines basically just control the dependency information that gets coded into the finished rpm package as well
+ (rhel3, rhel4, rhel5), Mandrake 10.x (mdk), Mandriva 2006.x (mdv) CentOS (centos3, centos4, centos5)
+ Scientific Linux (sl3, sl4, sl5) and SuSE (su9, su10, su102, su103). The package build is controlled by a mandatory define set at the beginning of the file. These defines basically just control the dependency information that gets coded into the finished rpm package as well
as any special configure options required. The platform define may be edited
in the spec file directly (by default all defines are set to 0 or "not set").
For example, to build the Red Hat 7.x package find the line in the spec file
-\item {\bf Support for RHEL3/4, CentOS 3/4 and x86\_64}
+\item {\bf Support for RHEL3/4/5, CentOS 3/4/5, Scientific Linux 3/4/5 and x86\_64}
The examples below show
explicit build support for RHEL4 and CentOS 4. Build support
- for x86\_64 has also been added. Test builds have been done on CentOS but
- not RHEL4.
+ for x86\_64 has also been added.
\end{enumerate}
\footnotesize
--define "build_mysql4 1" \
bacula-1.38.3-1.src.rpm
-For CentOS substitute '--define "build_centos4 1"' in place of rhel4.
+For CentOS substitute '--define "build_centos4 1"' in place of rhel4.
+For Scientific Linux substitute '--define "build_sl4 1"' in place of rhel4.
For 64 bit support add '--define "build_x86_64 1"'
\end{verbatim}
Red Hat Enterprise builds
--define "build_rhel3 1"
--define "build_rhel4 1"
+--define "build_rhel5 1"
CentOS build
--define "build_centos3 1"
--define "build_centos4 1"
+--define "build_centos5 1"
Scientific Linux build
--define "build_sl3 1"
--define "build_sl4 1"
+--define "build_sl5 1"
SuSE build
--define "build_su9 1"
--define "build_su10 1"
--define "build_su102 1"
+--define "build_su103 1"
Mandrake 10.x build
--define "build_mdk 1"
--define "build_wxconsole 1"
Build the Bacula Administration Tool:
-requires QT >= 4
+requires QT >= 4.2
--define "build_bat 1"
Build python scripting support: