commit e2b011d2d05ccfa312d33a28c5e0f109a1df2588
Author: Jan Rękorajski <[email protected]>
Date:   Fri Jul 20 11:37:53 2012 +0200

    Disable hal

 synce-vdccm.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/synce-vdccm.spec b/synce-vdccm.spec
index 9092d77..afadb93 100644
--- a/synce-vdccm.spec
+++ b/synce-vdccm.spec
@@ -1,7 +1,10 @@
 # TODO:
+# - remove in favor of synce-core?
 # - update init script
 # - fix Group (Applications/Networking, Applications/System?)
 #
+%bcond_with    hal     # build without HAL support
+
 Summary:       Serial connection daemon for Pocket PC devices
 Summary(pl.UTF-8):     Demon połączenia szeregowego dla urządzeń Pocket PC
 Name:          synce-vdccm
@@ -16,9 +19,9 @@ Patch1:               %{name}-includes.patch
 Patch2:                %{name}-uint16_t.patch
 Patch3:                gcc.patch
 URL:           http://synce.sourceforge.net/
-BuildRequires: dbus-glib-devel >= 0.61
+%{?with_hal:BuildRequires:     dbus-glib-devel >= 0.61}
 BuildRequires: glib2-devel >= 1:2.4
-BuildRequires: hal-devel
+%{?with_hal:BuildRequires:     hal-devel}
 BuildRequires: libstdc++-devel
 BuildRequires: pkgconfig
 BuildRequires: synce-libsynce-devel >= %{version}
@@ -45,7 +48,7 @@ vdccm dołączanego do SynCE-KDE.
 %build
 %configure \
        --with-libsynce=%{_prefix} \
-       --enable-desktop-integration
+       %{?with_hal:--enable-desktop-integration}
 
 %{__make}
 
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to