2 # - config should be accesible with some better rights...
4 # - there is some GNOME/PAM integration described at http://wifi-radar.systemimager.org/
5 # - there are %{name}.{conf,desktop} files in tarball too
6 Summary: Utility for managing WiFi profiles
7 Summary(pl.UTF-8): Narzędzie do zarządzania profilami WiFi
12 Group: Networking/Admin
13 Source0: http://download.berlios.de/wifi-radar/%{name}-%{version}.tar.bz2
14 # Source0-md5: f68e0f63fd3b03cd4b669f1c06734303
16 Source2: %{name}.desktop
17 Source3: %{name}-128.png
18 URL: http://wifi-radar.systemimager.org/
21 Requires: python-pycairo >= 1.2.2
22 Requires: python-pygtk-gtk >= 2.4.0
23 Requires: wireless-tools
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles. It
29 enables you to scan for available networks and create profiles for
30 your preferred networks. At boot time, running WiFi Radar will
31 automatically scan for an available preferred network and connect to
32 it. You can drag and drop your preferred networks to arrange the
35 %description -l pl.UTF-8
36 WiFi Radar to narzędzie do zarządzania profilami połączeń WiFi
37 napisane przy użyciu Pythona/PyGTK2. Umożliwia skanowanie w
38 poszukiwaniu dostępnych sieci i tworzenie dla nich profili. Podczas
39 uruchamiania komputera WiFi Radar automatycznie przeskanuje w
40 poszukiwaniu preferowanej sieci i połączy się z nią. Można użyć
41 przeciągania aby zorganizować priorytety profili.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_sysconfdir},%{_desktopdir},%{_pixmapsdir},%{_mandir}/man{1,5}}
52 install wifi-radar $RPM_BUILD_ROOT%{_sbindir}
53 install wifi-radar.sh $RPM_BUILD_ROOT%{_bindir}
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
56 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
57 install pixmaps/wifi{-radar.*g,_radar_32x32.png} $RPM_BUILD_ROOT%{_pixmapsdir}
58 install man/man1/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
59 install man/man5/%{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_sbindir}/wifi-radar
68 %attr(755,root,root) %{_bindir}/wifi-radar.sh
69 # rights should be changed? taken from SuSE
70 %attr(600,root,root) %config(noreplace) %{_sysconfdir}/wifi-radar.conf
71 %{_desktopdir}/wifi-radar.desktop
74 %{_mandir}/man1/wifi-radar.1*
75 %{_mandir}/man5/wifi-radar.conf.5*