Author: shadzik                      Date: Fri Apr  6 22:03:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add bcond --with gammu
- add patch2

---- Files affected:
SPECS:
   kmobiletools.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/kmobiletools.spec
diff -u SPECS/kmobiletools.spec:1.19 SPECS/kmobiletools.spec:1.20
--- SPECS/kmobiletools.spec:1.19        Fri Apr  6 23:31:58 2007
+++ SPECS/kmobiletools.spec     Sat Apr  7 00:03:34 2007
@@ -3,6 +3,8 @@
 # Conditional build:
 %bcond_without kdebluetooth    # don't build kdebluetooth integration
 %bcond_without obexftp         # don't build FileSystem integration
+%bcond_with    gammu           # build gammu integration
+
 #
 %define                _beta beta2
 
@@ -18,9 +20,11 @@
 # Source0-md5: b7f193f8fff0a92008dd536f9facc383
 Patch0:                %{name}-desktop.patch
 Patch1:                kde-ac260-lt.patch
+Patch2:                %{name}-gammu.patch
 URL:           http://www.kmobiletools.org/
 BuildRequires: autoconf
 BuildRequires: automake
+%{?with_gammu:BuildRequires:   gammu-devel}
 %{?with_kdebluetooth:BuildRequires:    kdebluetooth-devel}
 BuildRequires: kdelibs-devel
 BuildRequires: kdepim-devel
@@ -41,6 +45,9 @@
 %setup -q -n %{name}-%{version}-%{_beta}
 %patch0 -p0
 %patch1 -p1
+%if %{with gammu}
+%patch2 -p0
+%endif
 
 %build
 %{__make} -f admin/Makefile.common cvs
@@ -49,6 +56,7 @@
        --enable-libsuffix=64 \
 %endif
        --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+       --%{?with_gammu:en}%{!?with_gammu:dis}able-gammu \
        --enable-kontact-plugin \
        --disable-rpath \
        --with-qt-libraries=%{_libdir}
@@ -104,6 +112,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2007/04/06 22:03:34  shadzik
+- add bcond --with gammu
+- add patch2
+
 Revision 1.19  2007/04/06 21:31:58  qboosh
 - bcond header
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kmobiletools.spec?r1=1.19&r2=1.20&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to