-%define major 0
-%define minor 85
-
+# TODO:
+# - build shared version (simple make shared make error that -fPIC is needed)
Summary: Linux/Unix tool suite for Nokia mobile phones
-Summary(pl): Linuksowy/Uniksowy zestaw narzêdzi dla telefonów komórkowych Nokia
+Summary(pl): Linuksowy/uniksowy zestaw narzêdzi dla telefonów komórkowych Nokia
Name: gammu
-Version: %{major}.%{minor}
-Release: 1
+Version: 0.99.0
+Release: 0.2
Epoch: 1
License: GPL v2
Group: Applications/Communications
-Source0: http://www.mwiacek.com/zips/gsm/%{name}/older/%{name}-%{major}%{minor}.tar.gz
-# Source0-md5: 9e275a3d8f1e691816aa8e8ed695b71f
+Source0: http://www.mwiacek.com/zips/gsm/gammu/stable/0_9x/%{name}-%{version}.tar.gz
+# Source0-md5: e7e2c1366bc4ee4d4e0ddb0f56bd2772
Patch0: %{name}-etc_dir.patch
-URL: http://www.mwiacek.com/english/gsm/gammu/gammu.html
+Patch1: %{name}-no_nss.patch
+URL: http://www.mwiacek.com/gsm/soft/gammu.html
BuildRequires: autoconf
BuildRequires: bluez-libs-devel
Provides: mygnokii2
kopie zapasowe danych i odtwarzaæ je.
%prep
-%setup -q -n %{name}-%{major}%{minor}
-%patch0 -p1
+%setup -q
+#%patch0 -p1
+%patch1
%build
cd cfg/autoconf
%{__autoconf}
-%configure
-cd ../..
+%configure \
+ --enable-cb \
+ --enable-7110incoming \
+ --enable-6210calendar \
+ --enable-fbus \
+ --enable-mbus \
+ --enable-fbusirda \
+ --enable-phonetblue \
+ --enable-fbusdku5 \
+ --enable-fbuspl2303 \
+ --enable-fbusdlr3 \
+ --enable-obexgen \
+ --enable-mroutergen \
+ --enable-mrouterblue \
+ --enable-irdaphonet \
+ --enable-irdaobex
+cd ../..
%{__make}
%install