From f3b1db6c63809d9169d00b1381b2211c05bce335 Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sat, 13 Feb 2010 13:17:56 -0500 Subject: [PATCH] Add dependency information. --- bacula/platforms/rpm/bacula-bat.spec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/bacula/platforms/rpm/bacula-bat.spec b/bacula/platforms/rpm/bacula-bat.spec index f8998c52ec..c9f6fc0b99 100644 --- a/bacula/platforms/rpm/bacula-bat.spec +++ b/bacula/platforms/rpm/bacula-bat.spec @@ -93,6 +93,27 @@ Distribution: %{_dist} Source0: http://www.prdownloads.sourceforge.net/bacula/bacula-%{version}.tar.gz Source1: http://www.prdownloads.sourceforge.net/bacula/depkgs-qt-%{depkgs_qt_version}.tar.gz +BuildRequires: gcc, gcc-c++, make, autoconf +BuildRequires: libstdc++-devel = %{gccver}-%{gccrel}, zlib-devel +BuildRequires: openssl-devel, fontconfig-devel, libpng-devel, libstdc++-devel, zlib-devel + +Requires: openssl +Requires: fontconfig +Requires: freetype2 +Requires: libgcc +Requires: libpng +Requires: libstdc++ +Requires: zlib + +%if %{suse} +Requires: /usr/bin/kdesu +Requires: freetype2 +BuildRequires: freetype2-devel +%else +Requires: usermode +Requires: freetype +BuildRequires: freetype-devel +%endif # Source directory locations %define depkgs_qt ../depkgs-qt @@ -269,6 +290,7 @@ rm -rf $RPM_BUILD_DIR/depkgs-qt %changelog * Sat Feb 13 2010 D. Scott Barninger - create file to allow bat to run nonroot with kdesu +- add dependency information * Sat Jan 30 2010 D. Scott Barninger - fix consolehelper/xsu for suse packages * Sat Aug 1 2009 Kern Sibbald -- 2.39.5