Name: wicd Version: 1.6.2.2 Release: 5mamba Summary: An open source wired and wireless network manager Group: Graphical Desktop/Applications/Networking Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://wicd.sourceforge.net/ Source: http://switch.dl.sourceforge.net/sourceforge/wicd/wicd-%{version}.tar.gz Source1: wicd-initscript Source2: wicd-manager-settings.conf Patch0: %{name}-1.6.2.2-workaround_urwid_API_change.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END BuildRequires: python-dbus BuildRequires: urwid BuildRequires: pm-utils %if "%{stage1}" != "1" BuildRequires: kdelibs4-devel %endif Requires: urwid Requires: python-dbus Requires: pm-utils Requires: net-tools Requires: python-wpactrl Requires: python-iwscan Requires: iproute Requires: dhcpclient Requires: ethtool %if "%{stage1}" != "1" Requires: notification-daemon %endif Requires: dbus Requires: pygobject BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Wicd is an open source wired and wireless network manager for Linux which aims to provide a simple interface to connect to networks with a wide variety of settings. Some of Wicd's features include: 1. Ability to connect to wired and wireless networks 2. Profiles for each wireless network and wired network 3. Many encryption schemes, some of which include WEP/WPA/WPA2 (and you can add your own) 4. Remains compatible with wireless-tools 5. Tray icon showing network activity and signal strength %prep %setup -q %patch0 -p1 sed -i "s|\"kde-config\"|\"kde3-config\"|" setup.py %build %{__python} setup.py configure --distro=redhat %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ --prefix=%{_prefix} \ --root=%{buildroot} install -D -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/wicd install -D -m0755 %{SOURCE2} %{buildroot}%{_sysconfdir}/wicd/manager-settings.conf %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post if [ $1 -eq 1 ]; then # new install service wicd start /sbin/chkconfig --add wicd elif [ $1 -gt 1 ]; then #upgrade service wicd restart fi exit 0 %preun # erase if [ $1 -eq 0 ]; then /sbin/chkconfig --del wicd service wicd stop fi exit 0 %files -f %{name}.lang %defattr(-,root,root) %{_initrddir}/wicd %{_sysconfdir}/acpi/resume.d/80-wicd-connect.sh %{_sysconfdir}/acpi/suspend.d/50-wicd-suspend.sh %{_sysconfdir}/dbus-1/system.d/wicd.conf %config(noreplace) %{_sysconfdir}/wicd/manager-settings.conf #%{_sysconfdir}/wicd/encryption/wicd.conf %{_sysconfdir}/wicd/encryption/templates/* %{_sysconfdir}/xdg/autostart/wicd-tray.desktop %{_bindir}/wicd-client %{_bindir}/wicd-curses %{_libdir}/pm-utils/sleep.d/55wicd %{_libdir}/wicd/*.py %{_libdir}/wicd/backends/be-external.py %{_libdir}/wicd/backends/be-ioctl.py %{_sbindir}/wicd %{_datadir}/applications/wicd.desktop %if "%{stage1}" != "1" %{_kde4_autostartdir}/wicd-tray.desktop %endif %{_docdir}/wicd/* %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/scalable/apps/wicd-client.svg %{_datadir}/pixmaps/wicd/*.png %{_datadir}/pixmaps/wicd/wired-gui.svg %{_datadir}/wicd/wicd.glade %dir /var/lib/wicd/configurations %dir /var/log/wicd /var/lib/wicd/WHEREAREMYFILES #%dir /var/run/wicd %{python_sitearch}/wicd/*.py %{python_sitearch}/wicd/*.pyc %{python_sitearch}/Wicd-%{version}-py*.egg-info %{_mandir}/man1/wicd-client.1.gz %{_mandir}/man5/wicd*.5.gz %{_mandir}/man8/wicd.8.gz %{_mandir}/man8/wicd-curses.8.gz %doc AUTHORS CHANGES LICENSE README %changelog * Tue Feb 08 2011 Silvan Calarco 1.6.2.2-5mamba - change requirement from dhcpcd to dhcpclient * Thu Feb 18 2010 Silvan Calarco 1.6.2.2-4mamba - added requirement for notification-daemon * Mon Feb 08 2010 Silvan Calarco 1.6.2.2-3mamba - added patch to make wicd-curses work with recent urwid * Thu Oct 29 2009 Silvan Calarco 1.6.2.2-2mamba - added default configuation file manager-settings.conf * Sat Sep 05 2009 Automatic Build System 1.6.2.2-1mamba - automatic update to 1.6.2.2 by autodist * Fri Aug 28 2009 Automatic Build System 1.6.2.1-1mamba - automatic update to 1.6.2.1 by autodist * Mon Aug 10 2009 Silvan Calarco 1.6.2-3mamba - added requirements for dhcpcd, iproute and ethtool - fixed initscript output * Sat Aug 01 2009 Silvan Calarco 1.6.2-2mamba - added requirement for urwid for curses console interface - added other requirements and build requirements * Tue Jul 07 2009 Automatic Build System 1.6.2-1mamba - automatic update to 1.6.2 by autodist * Sun Jun 21 2009 Automatic Build System 1.6.1-1mamba - automatic update to 1.6.1 by autodist * Wed Jun 10 2009 Automatic Build System 1.6.0-1mamba - automatic update to 1.6.0 by autodist * Tue May 05 2009 Silvan Calarco 1.5.9-2mamba - fixed chkconfig support in initscript * Tue May 05 2009 Silvan Calarco 1.5.9-1mamba - package created by autospec