]> git.pld-linux.org Git - packages/distcc.git/commitdiff
- rel 2 distcc-2_9-2
authormisi3k <misi3k@pld-linux.org>
Mon, 21 Jul 2003 07:04:28 +0000 (07:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added gtk2 bcond (distcc-monitor)

Changed files:
    distcc.spec -> 1.34

distcc.spec

index 47e653fa7ab83362d02ecf3dfb8576f0c8e69706..57fbb8c4d1802bcb35dbe53d3849611308f6378b 100644 (file)
@@ -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
This page took 0.14911 seconds and 4 git commands to generate.