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