]> git.pld-linux.org Git - packages/gammu.git/blob - gammu.spec
-enable some features
[packages/gammu.git] / gammu.spec
1 Summary:        Linux/Unix tool suite for Nokia mobile phones
2 Summary(pl):    Linuksowy/Uniksowy zestaw narzêdzi dla telefonów komórkowych Nokia
3 Name:           gammu
4 Version:        0.92.0
5 Release:        1
6 Epoch:          1
7 License:        GPL v2
8 Group:          Applications/Communications
9 Source0:        http://www.mwiacek.com/zips/gsm/%{name}/older/%{name}-%{version}.tar.gz
10 # Source0-md5:  dba30fe8fded818508a065ca10519bf6
11 Patch0:         %{name}-etc_dir.patch
12 URL:            http://www.mwiacek.com/english/gsm/gammu/gammu.html
13 BuildRequires:  autoconf
14 BuildRequires:  bluez-libs-devel
15 Provides:       mygnokii2
16 Obsoletes:      mygnokii2
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Gammu (formerly known as MyGnokii2) is cellular manager for various
21 mobile phones and modems. It currently supports Nokia 3210, 33xx,
22 3410, 3510, 51xx, 5210, 5510, 61xx, 62xx, 63xx, 6510, 7110, 82xx,
23 8310, 9110, and 9210, and AT devices (such as Siemens, Alcatel,
24 WaveCom, IPAQ, and other). It has a command line version with many
25 functions for ringtones, phonebook, SMS, logos, WAP, date/time, alarm,
26 calls, etc. It can also make full backups and restore them.
27
28 %description -l pl
29 Gammu (poprzednio znany jako MyGnokii2) jest narzêdziem do zarz±dzania
30 ró¿nymi telefonami komórkowymi i modemami. Aktualnie obs³uguje Nokie
31 3210, 33xx, 3410, 51xx, 5210, 5510, 61xx, 62xx, 63xx, 6510, 7110,
32 82xx, 8310, 9110 i 3210 oraz urz±dzenia AT (takie jak Siemens,
33 Alcatel, WaveCom, IPAQ i inne). Ma wersjê dzia³aj±c± z linii poleceñ z
34 wieloma funkcjami do dzwonków, ksi±¿ki telefonicznej, SMS-ów, logo,
35 WAP, daty/czasu, budzika, dzwonienia itp. Mo¿e tak¿e wykonywaæ pe³ne
36 kopie zapasowe danych i odtwarzaæ je.
37
38 %prep
39 %setup -q
40 #%patch0 -p1
41
42 %build
43 cd cfg/autoconf
44 %{__autoconf}
45 %configure      \
46         --enable-cb                     \
47         --enable-7110incoming           \
48         --enable-6210calendar           \
49         --enable-fbus                   \
50         --enable-mbus                   \
51         --enable-fbusirda               \
52         --enable-phonetblue             \
53         --enable-fbusdku5               \
54         --enable-fbuspl2303             \
55         --enable-fbusdlr3               \
56         --enable-obexgen                \
57         --enable-mroutergen             \
58         --enable-mrouterblue            \
59         --enable-irdaphonet             \
60         --enable-irdaobex               
61 cd ../..        
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name},%{_sysconfdir}}
67
68 install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
69 install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir}
70 mv -f docs/docs/english/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
71 mv -f docs/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
72 mv -f docs/develop $RPM_BUILD_ROOT%{_examplesdir}/%{name}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc changelog docs/* readme.txt
80 %attr(755,root,root) %{_bindir}/%{name}
81 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gammurc
82 %{_examplesdir}/%{name}
83 %{_mandir}/man1/*.1*
This page took 0.029877 seconds and 3 git commands to generate.