]>
Commit | Line | Data |
---|---|---|
91c8e65b PG |
1 | # TODO: |
2 | # - config should be accesible with some better rights... | |
89b4aed0 | 3 | Summary: Utility for managing WiFi profiles |
2ca62469 | 4 | Summary(pl.UTF-8): Narzędzie do zarządzania profilami WiFi |
89b4aed0 | 5 | Name: wifi-radar |
81d0bdea | 6 | Version: 1.9.9 |
91c8e65b | 7 | Release: 1 |
89b4aed0 PG |
8 | License: GPL v2 |
9 | Group: Networking/Admin | |
61006966 | 10 | Source0: http://wifi-radar.systemimager.org/pub/%{name}-%{version}.tar.bz2 |
81d0bdea | 11 | # Source0-md5: fdcf862da67e0624dcca5d71d12caddf |
89b4aed0 PG |
12 | Source1: %{name}.conf |
13 | Source2: %{name}.desktop | |
14 | Source3: %{name}-128.png | |
15 | Patch0: %{name}-path.diff | |
16 | URL: http://www.bitbuilder.com/wifi_radar/ | |
17 | Requires: dhcpcd | |
18 | Requires: net-tools | |
19 | Requires: python-pygtk-gtk >= 2.4.0 | |
0f9ad19f | 20 | Requires: python-pycairo >= 1.2.2 |
89b4aed0 PG |
21 | Requires: wireless-tools |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles. It | |
27 | enables you to scan for available networks and create profiles for | |
28 | your preferred networks. At boot time, running WiFi Radar will | |
29 | automatically scan for an available preferred network and connect to | |
30 | it. You can drag and drop your preferred networks to arrange the | |
31 | profile priority. | |
32 | ||
f6f364a2 JR |
33 | %description -l pl.UTF-8 |
34 | WiFi Radar to narzędzie do zarządzania profilami połączeń WiFi | |
35 | napisane przy użyciu Pythona/PyGTK2. Umożliwia skanowanie w | |
36 | poszukiwaniu dostępnych sieci i tworzenie dla nich profili. Podczas | |
20b47893 | 37 | uruchamiania komputera WiFi Radar automatycznie przeskanuje w |
f6f364a2 JR |
38 | poszukiwaniu preferowanej sieci i połączy się z nią. Można użyć |
39 | przeciągania aby zorganizować priorytety profili. | |
d960364f | 40 | |
89b4aed0 PG |
41 | %prep |
42 | %setup -q | |
61006966 | 43 | %patch0 -p1 |
89b4aed0 PG |
44 | |
45 | %build | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
81d0bdea | 49 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_desktopdir},%{_pixmapsdir},%{_mandir}/man{1,5}} |
89b4aed0 PG |
50 | |
51 | install wifi-radar wifi-radar.sh $RPM_BUILD_ROOT%{_sbindir} | |
52 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} | |
53 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} | |
81d0bdea TP |
54 | install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir} |
55 | install pixmaps/wifi{-radar.*g,_radar_32x32.png} $RPM_BUILD_ROOT%{_pixmapsdir} | |
56 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
57 | install %{name}.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5 | |
89b4aed0 PG |
58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
81d0bdea | 64 | %doc CHANGE.LOG CREDITS README README.WPA-Mini-HOWTO.txt TODO |
89b4aed0 | 65 | %attr(755,root,root) %{_sbindir}/* |
91c8e65b | 66 | # rights should be changed? taken from SuSE |
89b4aed0 PG |
67 | %attr(600,root,root) %config(noreplace) %{_sysconfdir}/wifi-radar.conf |
68 | %{_desktopdir}/wifi-radar.desktop | |
81d0bdea TP |
69 | %{_pixmapsdir}/*.png |
70 | %{_pixmapsdir}/*.svg | |
71 | %{_mandir}/man1/* | |
72 | %{_mandir}/man5/* |