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