]> git.pld-linux.org Git - packages/bluemote.git/blob - bluemote.spec
New by Bartosz Świątek <swiatek informatik.hu-berlin.de>.
[packages/bluemote.git] / bluemote.spec
1
2 Summary:        Bluemote - a remote controller for your PC via bluetooth
3 Summary(pl):    Bluemote - pilot dla komputera via bluetooth
4 Name:           bluemote
5 Version:        2.0
6 Release:        1
7 License:        GPL
8 Group:          Applications
9 Source0:        http://www.geocities.com/saravkrish/progs/bluemote/%{name}.%{version}.tar.gz
10 # Source0-md5:  69ab4eafb839a3f22fca2832fbba60f6
11 URL:            http://www.geocities.com/saravkrish/progs/bluemote/
12 Requires:       bluez-utils
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Bluemote is a program meant to extend your Bluetooth enabled T610 (and
17 most other Sony Ericsson) as a remote for your PC.
18
19 %description -l pl
20 Bluemote to program, który zamieni wyposa¿ony w Bluetooth telefon T610
21 (i wiêkszo¶æ innych telefonów Sony Ericsson) w pilota dla komputera.
22
23 %prep
24 %setup -q -n %{name}
25
26 %build
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
32 install bluemote $RPM_BUILD_ROOT%{_bindir}/bluemoteapp
33 install bluemote-example.cfg $RPM_BUILD_ROOT%{_datadir}/%{name}/bluemote.cfg
34
35 cat > $RPM_BUILD_ROOT%{_bindir}/bluemote <<EOF
36 #!/bin/sh
37 [ -e ~/.bluemote.cfg ] ||
38     /bin/cp -a %{_datadir}/%{name}/bluemote.cfg ~/.bluemote.cfg
39
40 exec %{_bindir}/bluemoteapp
41
42 EOF
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHOR README config.txt
50 %attr(755,root,root) %{_bindir}/bluemoteapp
51 %attr(755,root,root) %{_bindir}/bluemote
52 %{_datadir}/%{name}/bluemote.cfg
This page took 0.081391 seconds and 3 git commands to generate.