7eba710
Name:             knemo
ae2319d
Version:          0.6.0
5171e71
Release:          1%{?dist}
7eba710
Summary:          A KDE network monitoring tool
7eba710
Group:            Applications/Internet
033f529
License:          GPLv2+
7eba710
URL:              http://extragear.kde.org/apps/knemo/
033f529
Source0:          http://kde-apps.org/CONTENT/content-files/12956-%{name}-%{version}.tar.gz
7eba710
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7eba710
BuildRequires:    cmake desktop-file-utils gettext
5171e71
BuildRequires:    kdelibs4-devel wireless-tools-devel libnl-devel
7eba710
7eba710
%description
7eba710
KNemo displays for every network interface an icon in the systray. Tooltips
7eba710
and an info dialog provide further information about the interface. Passive
7eba710
popups inform about interface changes. A traffic plotter is also integrated.
7eba710
It polls the network interface status every second using the ifconfig, route
7eba710
and iwconfig tools.
7eba710
7eba710
%prep
7eba710
%setup -q
7eba710
7eba710
%build
7eba710
mkdir -p %{_target_platform}
7eba710
pushd %{_target_platform}
7eba710
%{cmake_kde4} ..
7eba710
popd
7eba710
7eba710
make %{?_smp_mflags} -C %{_target_platform}
7eba710
7eba710
%install
5171e71
rm -rf %{buildroot}
7eba710
5171e71
make install DESTDIR=%{buildroot} -C %{_target_platform}
7eba710
7eba710
%find_lang %{name}
7eba710
%find_lang kcm_%{name}
7eba710
cat kcm_%{name}.lang >> %{name}.lang
7eba710
5171e71
%check
5171e71
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
5171e71
7eba710
7eba710
%post
5171e71
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
7eba710
7eba710
%postun
5171e71
if [ $1 -eq 0 ] ; then
5171e71
  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
5171e71
  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
5171e71
fi
5171e71
5171e71
%posttrans
5171e71
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
5171e71
5171e71
%clean
5171e71
rm -rf %{buildroot}
5171e71
7eba710
7eba710
%files -f %{name}.lang
7eba710
%defattr(-,root,root,-)
7eba710
%doc AUTHORS ChangeLog COPYING README TODO
5171e71
%{_kde4_bindir}/%{name}
7eba710
%{_kde4_libdir}/kde4/kcm_knemo.so
5171e71
%{_kde4_appsdir}/%{name}
5171e71
%{_kde4_datadir}/applications/kde4/%{name}.desktop
7eba710
%{_kde4_datadir}/kde4/services/kcm_knemo.desktop
5171e71
%{_kde4_datadir}/autostart/%{name}.desktop
5171e71
%{_kde4_iconsdir}/hicolor/*/apps/%{name}*
5171e71
%{_kde4_iconsdir}/hicolor/22x22/status/%{name}*
7eba710
7eba710
%changelog
ae2319d
* Fri Dec  4 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.0-1
ae2319d
- update to 0.6.0
ae2319d
ae2319d
* Thu Nov 19 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-2
ae2319d
- rebuild (qt-4.6.0-rc1, fc13+)
ae2319d
5171e71
* Fri Nov  6 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-1
5171e71
- update to 0.5.80 (0.6.0 beta1)
5171e71
- drop xdg-utils references
5171e71
- removed Requires net-tools wireless-tools
5171e71
5893411
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
5893411
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5893411
033f529
* Wed Apr  1 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.2-1
033f529
- Update to version 0.5.2
033f529
- Fixed spec License and URL fields
033f529
be37337
* Tue Mar 17 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.1-5
7eba710
- Upstream update from git.mehercule.net
7eba710
f69af8e
* Thu Mar  5 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.1-1
7eba710
- Update to version 0.5.1
7eba710
f69af8e
* Wed Feb 25 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.0-3
7eba710
- Update to version 0.5.0 for KDE4
7eba710
7eba710
* Tue Apr 17 2007 Francois Aucamp <faucamp@csir.co.za> - 0.4.7-1
7eba710
- Update to version 0.4.7
7eba710
- Removed unnecessary desktop-file-install statements (KDE-specific desktop
7eba710
  files)
7eba710
- Removed desktop file patch - desktop file "Keywords" keys used internally
7eba710
  by KDE
7eba710
- Added "OnlyShowIn=KDE" to kcm desktop file
7eba710
- Removed unnecessary BuildRequires: qt-devel desktop-file-utils
7eba710
- Simplified %%post and %%postun scriplets
7eba710
- Use RPM_BUILD_ROOT variable format consistently
7eba710
7eba710
* Wed Sep 13 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.3-2
7eba710
- Rebuilt for FC6
7eba710
7eba710
* Sun Aug  6 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.3-1
7eba710
- New upstream version
7eba710
7eba710
* Mon Jun 26 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.2-1
7eba710
- Upstream update
7eba710
- Fixes crashing when you click in panel icon (bz #196576)
7eba710
- ifconfig and iwconfig are now in both Requires and
7eba710
  BuildRequires (it checks while building too)
7eba710
7eba710
* Tue Jun 13 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.1-2
7eba710
- ifconfig and iwconfig are now in Requires section instead
7eba710
  of BuildRequires. They are runtime dependencies. Thanks to
7eba710
  Kevin Kofler for pointing this.
7eba710
7eba710
* Mon Jun 12 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.1-1
7eba710
- Upstream update
7eba710
7eba710
* Tue May 30 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-4
7eba710
- Created BuildRequires for the ifconfig and iwconfig commands,
7eba710
  as knemo utilizes it for monitoring.
7eba710
- Removed addition of categories in desktop-file-install command
7eba710
7eba710
* Thu May 25 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-3
7eba710
- Removed vendor option from desktop-file-install (no renaming)
7eba710
7eba710
* Sat May 20 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-2
7eba710
- Installed .desktop files now use desktop-file-install
7eba710
7eba710
* Sat May 20 2006 Hugo Cisneiros <hugo@devin.com.br> 0.4.0-1
7eba710
- Initial RPM release.