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