]> git.sur5r.net Git - bacula/bacula/commitdiff
Add dependency information.
authorScott Barninger <sbarn@scott.localdomain>
Sat, 13 Feb 2010 18:17:56 +0000 (13:17 -0500)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:30 +0000 (16:49 +0200)
bacula/platforms/rpm/bacula-bat.spec

index f8998c52ec3504c01bddd2cac40b965dbca95ef7..c9f6fc0b993662e1b0cce3239adfd4a61bf39ab3 100644 (file)
@@ -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 <barninger@fairfieldcomputers.com>
 - create file to allow bat to run nonroot with kdesu
+- add dependency information
 * Sat Jan 30 2010 D. Scott Barninger <barninger@fairfieldcomputers.com>
 - fix consolehelper/xsu for suse packages
 * Sat Aug 1 2009 Kern Sibbald <kern@sibbald.com>