7eba710
Name:             knemo
31be383
Version:          0.7.3
b700bd2
Release:          5%{?dist}
7eba710
Summary:          A KDE network monitoring tool
7eba710
Group:            Applications/Internet
033f529
License:          GPLv2+
7eba710
URL:              http://extragear.kde.org/apps/knemo/
aef34c9
Source0:          http://kde-apps.org/CONTENT/content-files/12956-%{name}-%{version}.tar.bz2
7eba710
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7eba710
BuildRequires:    cmake desktop-file-utils gettext
3ec38c0
BuildRequires:    kdelibs4-devel wireless-tools-devel libnl-devel
7eba710
af885dc
%{?_kde4_version:Requires: kdelibs4%{?_isa} >= %{_kde4_version}}
c74f465
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}
d3f0a51
%{cmake_kde4} -DLEGACY_TRAY_ICON=true ..
7eba710
popd
7eba710
7eba710
make %{?_smp_mflags} -C %{_target_platform}
7eba710
7eba710
%install
3ec38c0
rm -rf %{buildroot}
7eba710
3ec38c0
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
3ec38c0
%check
3ec38c0
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
3ec38c0
7eba710
7eba710
%post
3ec38c0
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
7eba710
7eba710
%postun
3ec38c0
if [ $1 -eq 0 ] ; then
3ec38c0
  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
3ec38c0
  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
3ec38c0
fi
3ec38c0
3ec38c0
%posttrans
3ec38c0
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
3ec38c0
3ec38c0
%clean
3ec38c0
rm -rf %{buildroot}
3ec38c0
7eba710
7eba710
%files -f %{name}.lang
7eba710
%defattr(-,root,root,-)
c74f465
%doc AUTHORS ChangeLog COPYING README
3ec38c0
%{_kde4_bindir}/%{name}
7eba710
%{_kde4_libdir}/kde4/kcm_knemo.so
3ec38c0
%{_kde4_appsdir}/%{name}
c74f465
%{_kde4_appsdir}/kconf_update/%{name}*
3ec38c0
%{_kde4_datadir}/applications/kde4/%{name}.desktop
7eba710
%{_kde4_datadir}/kde4/services/kcm_knemo.desktop
3ec38c0
%{_kde4_datadir}/autostart/%{name}.desktop
3ec38c0
%{_kde4_iconsdir}/hicolor/*/apps/%{name}*
3ec38c0
%{_kde4_iconsdir}/hicolor/22x22/status/%{name}*
7eba710
7eba710
%changelog
b700bd2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-5
b700bd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b700bd2
d60dec0
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.7.3-4
d60dec0
- Perl 5.18 rebuild
d60dec0
d5701fa
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-3
d5701fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d5701fa
a16186e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-2
a16186e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a16186e
31be383
* Fri Jan  6 2012 Alexey Kurov <nucleo@fedoraproject.org> - 0.7.3-1
31be383
- KNemo 0.7.3
15d2389
003bd6c
* Thu Mar 31 2011 Alexey Kurov <nucleo@fedoraproject.org> - 0.7.1-1
003bd6c
- KNemo 0.7.1
003bd6c
9d0fa06
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
9d0fa06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9d0fa06
af885dc
* Mon Dec  6 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.7.0-1
af885dc
- KNemo 0.7.0
af885dc
c74f465
* Fri Sep  3 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.80-1
c74f465
- KNemo 0.7.0 beta1
c74f465
- Requires: kdelibs4
c74f465
5ee2942
* Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.3-1
5ee2942
- update to 0.6.3
5ee2942
d3f0a51
* Sat Apr 10 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.2-2
d3f0a51
- disabled new KStatusNotifierItem for now (kde#226650)
d3f0a51
bb05cdf
* Fri Apr  9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.2-1
bb05cdf
- update to 0.6.2
bb05cdf
5b0aaa3
* Mon Jan 18 2010 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.1-2
aef34c9
- update to 0.6.1
aef34c9
92a3b0c
* Fri Dec  4 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.6.0-1
92a3b0c
- update to 0.6.0
92a3b0c
684ee5d
* Thu Nov 19 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-2
684ee5d
- rebuild (qt-4.6.0-rc1, fc13+)
684ee5d
3ec38c0
* Fri Nov  6 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.5.80-1
3ec38c0
- update to 0.5.80 (0.6.0 beta1)
3ec38c0
- drop xdg-utils references
3ec38c0
- removed Requires net-tools wireless-tools
3ec38c0
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.