summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshadzik2007-04-06 21:26:54 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitc161c26b5f8514fbf64d7deb9dc01414b6b4dd64 (patch)
tree8ec6e7631f4194f797ddf17ff97da2ad788b53c7
parentbbe7b76529991a15f35ef940b1c61bbfa2afbaba (diff)
downloadkmobiletools-c161c26b5f8514fbf64d7deb9dc01414b6b4dd64.zip
kmobiletools-c161c26b5f8514fbf64d7deb9dc01414b6b4dd64.tar.gz
- add 2 bconds
Changed files: kmobiletools.spec -> 1.17
-rw-r--r--kmobiletools.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/kmobiletools.spec b/kmobiletools.spec
index a48e0f3..204f231 100644
--- a/kmobiletools.spec
+++ b/kmobiletools.spec
@@ -1,4 +1,7 @@
+%bcond_without kdebluetooth # don't build kdebluetooth integration
+%bcond_without obexftp # don't build FileSystem integration
+
%define _beta beta2
Summary: Make your mobile phone communicate with your PC
@@ -14,9 +17,10 @@ Source0: http://download.berlios.de/kmobiletools/%{name}-%{version}-%{_beta}.tar
Patch0: %{name}-desktop.patch
Patch1: kde-ac260-lt.patch
URL: http://www.kmobiletools.org/
-BuildRequires: kdebluetooth-devel
+%{?with_kdebluetooth:BuildRequires: kdebluetooth-devel}
BuildRequires: kdelibs-devel
BuildRequires: kdepim-devel
+%{?with_obexftp:BuildRequires: obexftp-devel}
BuildRequires: rpmbuild(macros) >= 1.129
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)