]> git.pld-linux.org Git - packages/gammu.git/blob - gammu.spec
- s/home_etc/etc_dir/
[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:        3
6 Epoch:          1
7 License:        GPL v2
8 Group:          Applications/Communications
9 Source0:        http://www.mwiacek.com/english/zips/%{name}.tar.gz
10 Patch0:         %{name}-etc_dir.patch
11 URL:            http://www.mwiacek.com/english/gsm/gammu/gammu.html
12 BuildRequires:  autoconf
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 %patch0 -p1
39
40 %build
41 cd cfg/autoconf
42 %{__autoconf}
43 %configure
44 cd ../..
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_prefix}/src/examples/%{name},%{_sysconfdir}}
50
51 install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
52 install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir}
53 mv -f docs/docs/english/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
54 mv -f docs/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
55 mv -f docs/default $RPM_BUILD_ROOT%{_examplesdir}/%{name}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc changelog docs/* readme.txt
63 %attr(755,root,root) %{_bindir}/%{name}
64 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gammurc
65 %{_examplesdir}/%{name}
66 %{_mandir}/man1/*.1*
This page took 0.098852 seconds and 3 git commands to generate.