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