X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gammu.spec;h=ce680e0b801fc9f2dbf704c8d7c9e37ae20ab139;hb=7a98b528e0f0de7a9b1d007687c9e38084b62114;hp=5647c21c6740ac060a404fc667a8dba5590e1747;hpb=a683d7d8a95fbcffd3c40524b91b3258d6718d26;p=packages%2Fgammu.git diff --git a/gammu.spec b/gammu.spec index 5647c21..ce680e0 100644 --- a/gammu.spec +++ b/gammu.spec @@ -1,15 +1,17 @@ Summary: Linux/Unix tool suite for Nokia mobile phones Summary(pl): Linuksowy/Uniksowy zestaw narzêdzi dla telefonów komórkowych Nokia Name: gammu -Version: 0.64 -Release: 2 +Version: 0.99.0 +Release: 0.1 Epoch: 1 License: GPL v2 Group: Applications/Communications -Source0: http://www.mwiacek.com/english/zips/%{name}.tar.gz -URL: http://www.mwiacek.com/english/gsm/gammu/gammu.html +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/gsm/soft/gammu.html BuildRequires: autoconf -BuildRequires: automake +BuildRequires: bluez-libs-devel Provides: mygnokii2 Obsoletes: mygnokii2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -34,24 +36,40 @@ WAP, daty/czasu, budzika, dzwonienia itp. Mo kopie zapasowe danych i odtwarzaæ je. %prep -%setup -q -n %{name} +%setup -q +#%patch0 -p1 %build -cd cfg/autoconf/ +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 rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_prefix}/src/examples/%{name},%{_sysconfdir}} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name},%{_sysconfdir}} install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir} install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir} mv -f docs/docs/english/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 mv -f docs/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name} -mv -f docs/default $RPM_BUILD_ROOT%{_examplesdir}/%{name} +mv -f docs/develop $RPM_BUILD_ROOT%{_examplesdir}/%{name} %clean rm -rf $RPM_BUILD_ROOT @@ -60,6 +78,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc changelog docs/* readme.txt %attr(755,root,root) %{_bindir}/%{name} -%config(noreplace) %{_sysconfdir}/gammurc +%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gammurc %{_examplesdir}/%{name} %{_mandir}/man1/*.1*