changeset 22981:18c3c7d8bdbd

Add "--without nm" support to build without NetworkManager to the RPM spec file
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 16 May 2008 20:02:20 +0000
parents 4ec9378a63a4
children 77fc073e5a0b
files pidgin.spec.in
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin.spec.in	Fri May 16 18:52:22 2008 +0000
+++ b/pidgin.spec.in	Fri May 16 20:02:20 2008 +0000
@@ -40,6 +40,7 @@
 %{!?_without_silc:BuildRequires: /usr/include/silc/silcclient.h}
 %{!?_without_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h}
 %{!?_without_text:BuildRequires: ncurses-devel}
+%{!?_without_nm:BuildRequires: NetworkManager-devel}
 
 %if "%{_vendor}" == "suse"
 # For SuSE:
@@ -227,6 +228,7 @@
                                     %{!?_with_dbus:--disable-dbus} \
                                     %{?_without_gstreamer:--disable-gstreamer} \
                                     %{?_without_gtkspell:--disable-gtkspell} \
+                                    %{?_without_nm:--disable-nm} \
                                     %{?_with_mono:--enable-mono} \
                                     %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \
                                     %{!?_with_perlmakehack:--with-perl-lib=%{_prefix}} \
@@ -468,6 +470,9 @@
 %endif
 
 %changelog
+* Fri May 16 2008 Stu Tomlinson <stu@nosnilmot.com>
+- Add "--without nm" support to build without NetworkManager
+
 * Thu Feb 28 2008 Stu Tomlinson <stu@nosnilmot.com>
 - Remove --with-howl options as we no longer support using howl for bonjour