4 Summary: Linux/Unix tool suite for Nokia mobile phones
5 Summary(pl): Linuksowy/Uniksowy zestaw narzêdzi dla telefonów komórkowych Nokia
7 Version: %{major}.%{minor}
11 Group: Applications/Communications
12 Source0: http://www.mwiacek.com/english/zips/%{name}/%{name}-%{major}%{minor}.tar.gz
13 # Source0-md5: faf6f43638271adddf8fef6448d8b03a
14 Patch0: %{name}-etc_dir.patch
15 URL: http://www.mwiacek.com/english/gsm/gammu/gammu.html
16 BuildRequires: autoconf
17 BuildRequires: bluez-libs-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Gammu (formerly known as MyGnokii2) is cellular manager for various
24 mobile phones and modems. It currently supports Nokia 3210, 33xx,
25 3410, 3510, 51xx, 5210, 5510, 61xx, 62xx, 63xx, 6510, 7110, 82xx,
26 8310, 9110, and 9210, and AT devices (such as Siemens, Alcatel,
27 WaveCom, IPAQ, and other). It has a command line version with many
28 functions for ringtones, phonebook, SMS, logos, WAP, date/time, alarm,
29 calls, etc. It can also make full backups and restore them.
32 Gammu (poprzednio znany jako MyGnokii2) jest narzêdziem do zarz±dzania
33 ró¿nymi telefonami komórkowymi i modemami. Aktualnie obs³uguje Nokie
34 3210, 33xx, 3410, 51xx, 5210, 5510, 61xx, 62xx, 63xx, 6510, 7110,
35 82xx, 8310, 9110 i 3210 oraz urz±dzenia AT (takie jak Siemens,
36 Alcatel, WaveCom, IPAQ i inne). Ma wersjê dzia³aj±c± z linii poleceñ z
37 wieloma funkcjami do dzwonków, ksi±¿ki telefonicznej, SMS-ów, logo,
38 WAP, daty/czasu, budzika, dzwonienia itp. Mo¿e tak¿e wykonywaæ pe³ne
39 kopie zapasowe danych i odtwarzaæ je.
42 %setup -q -n %{name}-%{major}%{minor}
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name},%{_sysconfdir}}
56 install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
57 install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir}
58 mv -f docs/docs/english/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
59 mv -f docs/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
60 mv -f docs/develop $RPM_BUILD_ROOT%{_examplesdir}/%{name}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc changelog docs/* readme.txt
68 %attr(755,root,root) %{_bindir}/%{name}
69 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gammurc
70 %{_examplesdir}/%{name}