7eba710
Name:             knemo
e8b6e25
Version:          0.7.7
468772c
Release:          14.20170520git%{?dist}
7eba710
Summary:          A KDE network monitoring tool
033f529
License:          GPLv2+
7eba710
URL:              http://extragear.kde.org/apps/knemo/
726eb8a
# git clone -b frameworks git://anongit.kde.org/knemo.git
726eb8a
Source0:          knemo-20170520git.tar.xz
726eb8a
# Source0:          http://kde-apps.org/CONTENT/content-files/12956-%{name}-%{version}.tar.xz
5252d8d
Patch0:           knemo-FTBFS-qmap.patch
ff3d975
BuildRequires:    desktop-file-utils
726eb8a
BuildRequires:    extra-cmake-modules
ff3d975
BuildRequires:    gettext
ff3d975
BuildRequires:    libnl3-devel
ff3d975
BuildRequires:    wireless-tools-devel
726eb8a
BuildRequires:    cmake(KF5KCMUtils)
726eb8a
BuildRequires:    cmake(KF5KDELibs4Support)
726eb8a
BuildRequires:    cmake(KF5NotifyConfig)
726eb8a
BuildRequires:    cmake(KF5Notifications)
726eb8a
BuildRequires:    cmake(KF5GlobalAccel)
726eb8a
BuildRequires:    cmake(KF5Plasma)
726eb8a
BuildRequires:    cmake(KF5SysGuard)
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
726eb8a
%setup -q -n knemo-20170520git
3291f1f
%patch0 -p1
7eba710
7eba710
%build
7eba710
mkdir -p %{_target_platform}
7eba710
pushd %{_target_platform}
726eb8a
%{cmake_kf5} ..
7eba710
popd
7eba710
7eba710
make %{?_smp_mflags} -C %{_target_platform}
7eba710
7eba710
%install
3ec38c0
make install DESTDIR=%{buildroot} -C %{_target_platform}
7eba710
726eb8a
#find_lang %{name}
726eb8a
#find_lang kcm_%{name}
726eb8a
#cat kcm_%{name}.lang >> %{name}.lang
7eba710
3ec38c0
%check
726eb8a
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/%{name}.desktop
726eb8a
726eb8a
726eb8a
726eb8a
#files -f %{name}.lang
726eb8a
%files
726eb8a
%license COPYING
726eb8a
%doc AUTHORS ChangeLog README
726eb8a
%{_kf5_bindir}/%{name}
726eb8a
%{_qt5_plugindir}/kcm_knemo.so
726eb8a
%{_kf5_sysconfdir}/xdg/autostart/knemo.desktop
726eb8a
%{_kf5_datadir}/%{name}
726eb8a
%{_kf5_datadir}/plasma/desktoptheme/*/icons/knemo.svgz
726eb8a
%{_kf5_datadir}/applications/%{name}.desktop
726eb8a
%{_kf5_datadir}/kservices5/kcm_knemo.desktop
726eb8a
%{_kf5_datadir}/knotifications5/knemo.notifyrc
726eb8a
%{_kf5_datadir}/kconf_update/knemo*
726eb8a
%{_kf5_datadir}/icons/hicolor/*/apps/%{name}*
726eb8a
%{_kf5_datadir}/icons/hicolor/*/status/%{name}*
726eb8a
%{_kf5_datadir}/icons/breeze-dark/status/panel/%{name}*
726eb8a
%{_kf5_datadir}/icons/breeze/status/panel/%{name}*
726eb8a
%{_kf5_datadir}/icons/oxygen/scalable/status/%{name}*
7eba710
7eba710
%changelog
468772c
* Sat Jun 27 2020 Alexey Kurov <nucleo@fedoraproject.org> - 0.7.7-14.20170520git
468772c
- Rebuilt for libksysguard 5.19
468772c
5252d8d
* Mon Feb 17 2020 Than Ngo <than@redhat.com> - 0.7.7-13.20170520git
5252d8d
- Fixed FTBFS
5252d8d
558b77f
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-12.20170520git
558b77f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
558b77f
573a215
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-11.20170520git
573a215
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
573a215
e13ee50
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-10.20170520git
e13ee50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e13ee50
f5e491c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-9.20170520git
f5e491c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f5e491c
726eb8a
* Sat Jun 23 2018 Alexey Kurov <nucleo@fedoraproject.org> - 0.7.7-8.20170520git
726eb8a
- frameworks git 20170520 snapshot
726eb8a
2e820d0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-7
2e820d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2e820d0
3d7f8ef
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.7-6
3d7f8ef
- Remove obsolete scriptlets
3d7f8ef
894870f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-5
894870f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
894870f
417c57f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-4
417c57f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
417c57f
54190b7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-3
54190b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
54190b7
796a5ad
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-2
796a5ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
796a5ad
e8b6e25
* Sat Aug 22 2015 Alexey Kurov <nucleo@fedoraproject.org> - 0.7.7-1
e8b6e25
- KNemo 0.7.7
e8b6e25
85a8dae
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-4
85a8dae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
85a8dae
d653fd5
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-3
d653fd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d653fd5
4999166
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
4999166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4999166
ff3d975
* Thu Nov 28 2013 Alexey Kurov <nucleo@fedoraproject.org> - 0.7.6-1
ff3d975
- KNemo 0.7.6
ff3d975
- switch to libnl3 (#1035831)
ff3d975
- spec file cleanup
ff3d975
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.