wifi-radar/wifi-radar.spec

62 lines
1.8 KiB
RPMSpec

Name: wifi-radar
Version: 2.0.s08
Release: 1mamba
Summary: A Python/PyGTK2 utility for managing WiFi profiles
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://wifi-radar.systemimager.org
Source: http://downloads.sourceforge.net/project/wifi-radar.berlios/wifi-radar-%{version}.tar.bz2
License: GPL
Requires: pygtk
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles.
It enables you to scan for available networks and create profiles for your preferred networks.
At boot time, running WiFi Radar will automatically scan for an available preferred network and connect to it.
You can drag and drop your preferred networks to arrange the profile priority.
%prep
%setup -q
sed -ie "s,gksudo -S ,,;s,^TryExec.*,," %{name}.desktop
cat >> %{name}.desktop << EOF
X-KDE-RootOnly=true
X-KDE-SubstituteUID=true
X-KDE-Username=root
EOF
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall \
pixmapsdir=%{buildroot}%{_datadir}/pixmaps \
appsdir=%{buildroot}%{_datadir}/applications \
initdir=$(pwd)
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.*
%{_mandir}/man1/*
%{_mandir}/man5/*
%doc LICENSE.GPL
%changelog
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 2.0.s08-1mamba
- update to 2.0.s08
* Tue Sep 16 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.9-1mamba
- update to 1.9.9
* Tue Jun 26 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.9.8-1mamba
- package created by autospec