%define kdedir %(echo `kde-config --prefix`) %define qtver %(echo `rpm -q --queryformat '%{VERSION}' libqt`) %define kdever %(echo `rpm -q --queryformat '%{VERSION}' kdelibs`) Name: knemo Version: 0.7.7 Release: 1mamba Summary: A KDE network monitoring tool Group: Graphical Desktop/Applications/Networking Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://extragear.kde.org/apps/knemo/ Source0: http://kde-apps.org/CONTENT/content-files/12956-knemo-%{version}.tar.xz Source1: knemo-knemorc Patch0: %{name}-0.4.8-kded_autoload.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: kdelibs4-devel BuildRequires: libgcc BuildRequires: libiw-devel BuildRequires: libnl-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel BuildRequires: net-tools BuildRequires: wireless_tools ## AUTOBUILDREQ-END BuildRequires: libiw-devel >= 30.pre9-1mamba BuildRequires: kdelibs-devel BuildRequires: doxygen BuildRequires: gettext-devel BuildRequires: graphviz BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libqt-devel BuildRequires: libnl-devel BuildRequires: libxml2-utils BuildRequires: libz-devel BuildRequires: net-tools BuildRequires: perl BuildRequires: wireless_tools >= 27 Requires: net-tools Requires: wireless_tools >= 27 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KNemo offers a network monitor similar to the one found in Windows. For every network interface it displays an icon in the systray. Features include: * support for ethernet (including wireless) and ppp connections * the icon shows incoming/outgoing traffic * hiding of icon when the interface is not available * hiding of icon when the interface does not exist * automatic detection of wireless extensions for ethernet interfaces * left-clicking on an icon displays a status dialog * middle-clicking on an icon displays a traffic plotter * configuration via context menu or control center module * customizable tooltip for quick access to often needed information * custom entries in the context menu * automatic detection of available interfaces * support for notifications via sound and passive popups * support for different iconsets for every interface %prep %setup -q #%patch0 -p1 %build export KDEDIR=%{kdedir} %cmake_kde4 %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall install -D -m 0644 %{S:1} \ %{buildroot}%{_kde4_configdir}/knemorc #%{find_lang} kcm_knemo #%{find_lang} knemod #cat kcm_knemo.lang knemod.lang > %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files #-f %{name}.lang %defattr(-,root,root) %{_kde4_bindir}/knemo %{_kde4_libdir}/kde4/kcm_knemo.so %{_kde4_servicesdir}/kcm_knemo.desktop %{_kde4_datadir}/knemo %{_kde4_configdir}/knemorc %{_kde4_icondir}/hicolor/* %{_kde4_xdgappsdir}/knemo.desktop %{_kde4_autostartdir}/knemo.desktop %{_kde4_localedir}/*/LC_MESSAGES/kcm_knemo.mo %{_kde4_localedir}/*/LC_MESSAGES/knemo.mo %{_kde4_kconfupdatedir}/knemo-*.pl %{_kde4_kconfupdatedir}/knemo.upd %doc AUTHORS COPYING #ChangeLog README %changelog * Wed Oct 07 2015 Silvan Calarco 0.7.7-1mamba - update to 0.7.7 * Wed Aug 19 2015 Silvan Calarco 0.7.6-2mamba - rebuilt by autoport with build requirements: libiw-devel>=30.pre9-1mamba * Tue Jan 29 2013 Automatic Build System 0.7.6-1mamba - automatic version update by autodist * Tue May 18 2010 gil 0.6.2-1mamba - update to 0.6.2 * Tue Apr 28 2009 Silvan Calarco 0.5.2-3mamba - knemorc: use 'monitor' icon for ethernet devices * Sun Apr 26 2009 Silvan Calarco 0.5.2-2mamba - default configuration updated to fix icons and set Sys as default backend * Fri Apr 24 2009 Silvan Calarco 0.5.2-1mamba - update to 0.5.2 * Mon Oct 20 2008 Silvan Calarco 0.4.8-4mamba - knemorc: add ra*, rausb* and ath* wireless interfaces support * Fri Jan 04 2008 Silvan Calarco 0.4.8-3mamba - enable autoload of service * Sat Sep 29 2007 Silvan Calarco 0.4.8-2mamba - default knemorc updated to start it automaticaly for non-root users * Mon Jul 16 2007 Silvan Calarco 0.4.8-1mamba - update to 0.4.8 * Thu Apr 05 2007 Davide Madrisan 0.4.7-1mamba - update to version 0.4.7 by autospec - added build requirements for xorg7 and for needed devel packages * Fri Oct 13 2006 Davide Madrisan 0.4.6-1qilnx - update to version 0.4.6 by autospec * Mon Jun 26 2006 Davide Madrisan 0.4.1-2qilnx - fixed kde bug 129046 (division by zero crash) * Tue Jun 13 2006 Davide Madrisan 0.4.1-1qilnx - update to version 0.4.1 by autospec - fixed package group - use %%find_lang macro do collect locales * Tue Mar 29 2005 Silvan Calarco 0.3.1-2qilnx - added default configuration file * Wed Mar 16 2005 Silvan Calarco 0.3.1-1qilnx - package created by autospec