]> git.pld-linux.org Git - packages/gammu.git/blob - gammu.spec
7b2df1eb5800c858d8d42c287d013f0aae716c0d
[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:        0.99.0
7 Release:        0.2
8 Epoch:          1
9 License:        GPL v2
10 Group:          Applications/Communications
11 Source0:        http://www.mwiacek.com/zips/gsm/gammu/stable/0_9x/%{name}-%{version}.tar.gz
12 # Source0-md5:  e7e2c1366bc4ee4d4e0ddb0f56bd2772
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 Provides:       mygnokii2
19 Obsoletes:      mygnokii2
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
30
31 %description -l pl
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.
40
41 %prep
42 %setup -q
43 #%patch0 -p1
44 %patch1
45
46 %build
47 cd cfg/autoconf
48 %{__autoconf}
49 %configure      \
50         --enable-cb                     \
51         --enable-7110incoming           \
52         --enable-6210calendar           
53 cd ../..        
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name},%{_sysconfdir}}
59
60 install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
61 install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir}
62 mv -f docs/docs/english/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
63 mv -f docs/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
64 mv -f docs/develop $RPM_BUILD_ROOT%{_examplesdir}/%{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc changelog docs/* readme.txt
72 %attr(755,root,root) %{_bindir}/%{name}
73 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gammurc
74 %{_examplesdir}/%{name}
75 %{_mandir}/man1/*.1*
This page took 0.055665 seconds and 2 git commands to generate.