From: misi3k Date: Mon, 21 Jul 2003 07:04:28 +0000 (+0000) Subject: - rel 2 X-Git-Tag: distcc-2_9-2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=ac9e77da626e1dc2bcc544d555a1593ec4eda8ed;p=packages%2Fdistcc.git - rel 2 - added gtk2 bcond (distcc-monitor) Changed files: distcc.spec -> 1.34 --- diff --git a/distcc.spec b/distcc.spec index 47e653f..57fbb8c 100644 --- a/distcc.spec +++ b/distcc.spec @@ -1,9 +1,13 @@ +# +# Conditional build: +# _without_gtk build without gtk2(monitor) support +# Summary: Program to distribute compilation of C or C++ Summary(pl): Program do rozdzielania kompilacji programów w C lub C++ Name: distcc Group: Development/Languages Version: 2.9 -Release: 1 +Release: 2 License: GPL URL: http://distcc.samba.org/ Source0: http://distcc.samba.org/ftp/distcc/%{name}-%{version}.tar.bz2 @@ -14,6 +18,7 @@ Source3: %{name}.sh Source4: %{name}.csh Source5: %{name}.config Patch0: %{name}-user.patch +%{!?_without_gtk:BuildRequires: gtk+2-devel >= 2.0} BuildRequires: popt-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -85,7 +90,9 @@ standalone. %patch -p1 %build -%configure +%configure \ + %{!?_without_gtk: --enable-gnome} + %{__make} %install