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