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