diff --git a/bacula.spec b/bacula.spec index 9c73a0e..b7fd93c 100644 --- a/bacula.spec +++ b/bacula.spec @@ -34,17 +34,38 @@ Patch21: bacula-5.0.3-tray-dir.patch Patch22: bacula-5.0.3-mysql55.patch Patch23: bacula-5.0.3-maxvalue.patch -BuildRequires: openssl-devel, atk-devel, ncurses-devel, pango-devel, perl -BuildRequires: libstdc++-devel, libxml2-devel, zlib-devel, pkgconfig -BuildRequires: gtk2-devel, libgnomeui-devel, GConf2-devel -BuildRequires: glibc-devel, ORBit2-devel, libart_lgpl-devel, freetype-devel -BuildRequires: libbonobo-devel, libbonoboui-devel, bonobo-activation-devel -BuildRequires: mysql-devel, cdrecord, postgresql-devel, wxGTK-devel -BuildRequires: desktop-file-utils, python-devel, sqlite-devel, sed, -BuildRequires: libacl-devel, latex2html, tetex-latex, tetex, ghostscript -BuildRequires: dvipdfm, qwt-devel +BuildRequires: openssl-devel, ncurses-devel, perl, glibc-devel +BuildRequires: libstdc++-devel, libxml2-devel, zlib-devel +BuildRequires: mysql-devel, postgresql-devel, sqlite-devel +BuildRequires: desktop-file-utils, python-devel, lzo-devel, sed +BuildRequires: libacl-devel, tetex-latex, tetex, ghostscript +BuildRequires: readline-devel, libcap-devel + +BuildRequires: atk-devel, pango-devel, pkgconfig, wxGTK-devel +BuildRequires: gtk2-devel, libgnomeui-devel, GConf2-devel, bonobo-activation-devel +BuildRequires: ORBit2-devel, libbonobo-devel, libbonoboui-devel + +%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 +BuildRequires: qt4-devel >= 4.6.2 +%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 + +%if 0%{?fedora} >= 9 || 0%{?rhel} >= 5 +BuildRequires: latex2html +%endif %description Bacula is a set of programs that allow you to manage the backup, @@ -361,7 +382,8 @@ export QMAKE=/usr/bin/qmake-qt4 --with-smtp-host=localhost \ --with-subsys-dir=%{_localstatedir}/lock/subsys \ --with-pid-dir=%{_localstatedir}/run \ - --enable-conio \ + --disable-conio \ + --enable-readline \ --enable-largefile \ --enable-bwx-console \ --enable-tray-monitor \ @@ -375,8 +397,6 @@ export QMAKE=/usr/bin/qmake-qt4 --enable-bat \ --disable-libtool \ $* -# Scratch this, it is trouble -# --with-readline \ if test $? != 0; then tail -500 config.log @@ -938,6 +958,10 @@ fi %changelog * Fri Dec 23 2011 Simone Caronni - 5.0.3-15 - Spec file cleanup. +- Fix Buildrequires for RHEL. +- Enable POSIX.1e capabilities. +- Enable LZO compression. +- Enable readline support and tab completion in bconsole. * Thu Dec 22 2011 Lukáš Nykrýn - 5.0.3-14 - removed duplicity from logrotate file (#755970)