1 Summary: Linux/Unix tool suite for Nokia mobile phones
2 Summary(pl): Linuksowy/uniksowy zestaw narzêdzi dla telefonów komórkowych Nokia
8 Group: Applications/Communications
9 Source0: http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/%{name}-%{version}.tar.gz
10 # Source0-md5: f8d0b2c6cc045891b6d8f0021246a464
11 Patch0: %{name}-etc_dir.patch
12 Patch1: %{name}-no_nss.patch
13 Patch2: %{name}-sparc-speeds.patch
14 URL: http://www.gammu.net/
15 BuildRequires: autoconf
16 BuildRequires: bluez-libs-devel
17 BuildRequires: mysql-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.
46 cp -f version cfg/autoconf/VERSION
47 mv docs/docs/english/gammu.1 .
56 --enable-7110incoming \
57 --enable-6210calendar \
58 --with-localedir=%{_datadir}/%{name}
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version},%{_datadir}/%{name}}
65 %{__make} installlocales installlibonly \
66 DESTDIR=$RPM_BUILD_ROOT \
68 INSTALL_LIB_DIR=%{_libdir} \
69 INSTALL_MAN_DIR=%{_mandir}/man1 \
72 install -D gammu.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
73 install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir}
74 cp -r docs/{examples,develop} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
76 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
77 # anybody feels like developing gammu-based apps?
78 rm -rf $RPM_BUILD_ROOT{%{_includedir},%{_libdir}/{*.{so,a},pkgconfig}}
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 %doc changelog docs/docs/english/gammu.txt other/bash readme.txt
89 %doc %lang(it) docs/docs/italian
90 %attr(755,root,root) %{_bindir}/%{name}
91 %attr(755,root,root) %{_libdir}/*.so.*
92 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gammurc
93 %dir %{_datadir}/%{name}
94 %lang(cs) %{_datadir}/gammu/gammu_cs.txt
95 %lang(de) %{_datadir}/gammu/gammu_de.txt
96 %lang(es) %{_datadir}/gammu/gammu_es.txt
97 %lang(it) %{_datadir}/gammu/gammu_it.txt
98 %lang(pl) %{_datadir}/gammu/gammu_pl.txt
99 %lang(ru) %{_datadir}/gammu/gammu_ru.txt
100 %{_datadir}/gammu/gammu_us.txt
101 %{_examplesdir}/%{name}-%{version}