Dan Vrátil 85f9444
Name:           ksysguard
3f4c6f3
Version: 5.4.3
Rex Dieter 40d97f3
Release: 1%{?dist}
Dan Vrátil 85f9444
Summary:        KDE Process Management application
Dan Vrátil 85f9444
Dan Vrátil 85f9444
License:        GPLv2
Dan Vrátil 85f9444
URL:            https://projects.kde.org/projects/kde/workspace/ksysguard
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 85f9444
%if %{revision} >= 50
Dan Vrátil 85f9444
%global stable unstable
Dan Vrátil 85f9444
%else
Dan Vrátil 85f9444
%global stable stable
Dan Vrátil 85f9444
%endif
Dan Vrátil 85f9444
Source0:        http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
Dan Vrátil 85f9444
Dan Vrátil 85f9444
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 85f9444
BuildRequires:  qt5-qtscript-devel
Dan Vrátil 85f9444
Dan Vrátil 85f9444
BuildRequires:  kf5-rpm-macros
Dan Vrátil 85f9444
BuildRequires:  extra-cmake-modules
Dan Vrátil 85f9444
Dan Vrátil 85f9444
BuildRequires:  kf5-kcoreaddons-devel
Dan Vrátil 85f9444
BuildRequires:  kf5-ki18n-devel
Dan Vrátil 85f9444
BuildRequires:  kf5-kitemviews-devel
Dan Vrátil 85f9444
BuildRequires:  kf5-knewstuff-devel
Dan Vrátil 85f9444
BuildRequires:  kf5-kconfig-devel
Dan Vrátil 85f9444
BuildRequires:  kf5-kiconthemes-devel
Dan Vrátil 85f9444
BuildRequires:  kf5-kdelibs4support-devel
Dan Vrátil 85f9444
BuildRequires:  kf5-kdoctools-devel
Dan Vrátil 85f9444
Dan Vrátil 78b98d8
BuildRequires:  libksysguard-devel
Dan Vrátil 78b98d8
Dan Vrátil 85f9444
BuildRequires:  lm_sensors-devel
Dan Vrátil 85f9444
BuildRequires:  desktop-file-utils
Dan Vrátil 85f9444
Dan Vrátil 85f9444
Requires:       kf5-filesystem
Dan Vrátil 85f9444
Dan Vrátil bc520de
Requires:       ksysguardd = %{version}-%{release}
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%description
Dan Vrátil 85f9444
%{summary}.
Dan Vrátil 85f9444
Dan Vrátil bc520de
%package -n    ksysguardd
Dan Vrátil bc520de
Summary: Performance monitor daemon
Dan Vrátil bc520de
%description -n ksysguardd
Dan Vrátil bc520de
%{summary}.
Dan Vrátil bc520de
Dan Vrátil 85f9444
%prep
Dan Vrátil 85f9444
%setup -q -n %{name}-%{version}
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%build
Dan Vrátil 85f9444
Dan Vrátil 85f9444
mkdir -p %{_target_platform}
Dan Vrátil 85f9444
pushd %{_target_platform}
Dan Vrátil 85f9444
%{cmake_kf5} ..
Dan Vrátil 85f9444
popd
Dan Vrátil 85f9444
Dan Vrátil 85f9444
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%install
Dan Vrátil 85f9444
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil 85f9444
%find_lang ksysguard5 --with-qt --with-kde --all-name
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%check
Dan Vrátil 85f9444
desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.ksysguard.desktop
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%post
Dan Vrátil 85f9444
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%postun
Dan Vrátil 85f9444
if [ $1 -eq 0 ] ; then
Dan Vrátil 85f9444
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Dan Vrátil 85f9444
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Dan Vrátil 85f9444
fi
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%posttrans
Dan Vrátil 85f9444
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Dan Vrátil 85f9444
Dan Vrátil 85f9444
%files -f ksysguard5.lang
Dan Vrátil 85f9444
%doc COPYING COPYING.DOC README
Dan Vrátil 85f9444
%{_bindir}/ksysguard
Dan Vrátil 85f9444
%{_kf5_libdir}/libkdeinit5_ksysguard.so
Dan Vrátil 85f9444
%{_datadir}/ksysguard
Dan Vrátil 85f9444
%config %{_sysconfdir}/xdg/ksysguard.knsrc
Dan Vrátil 85f9444
%{_datadir}/applications/org.kde.ksysguard.desktop
Dan Vrátil a609e8a
%{_docdir}/HTML/*/ksysguard
Dan Vrátil 85f9444
%{_datadir}/icons/hicolor/*/apps/*.png
Dan Vrátil 85f9444
%{_kf5_datadir}/knotifications5/ksysguard.notifyrc
Dan Vrátil 85f9444
%{_kf5_datadir}/kxmlgui5/ksysguard
Dan Vrátil 85f9444
Dan Vrátil bc520de
%files -n ksysguardd
Dan Vrátil bc520de
%{_bindir}/ksysguardd
Dan Vrátil bc520de
%config %{_sysconfdir}/ksysguarddrc
Dan Vrátil bc520de
Dan Vrátil bc520de
Dan Vrátil 85f9444
%changelog
3f4c6f3
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
3f4c6f3
- Plasma 5.4.3
3f4c6f3
Rex Dieter 40d97f3
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-1
Rex Dieter 40d97f3
- 5.4.2
Rex Dieter 40d97f3
Rex Dieter cc1a804
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
Rex Dieter cc1a804
- 5.4.1
Rex Dieter cc1a804
Dan Vrátil d34b067
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil d34b067
- Plasma 5.4.0
Dan Vrátil d34b067
Dan Vrátil d34b067
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
Dan Vrátil d34b067
- Plasma 5.3.95
Dan Vrátil d34b067
Dan Vrátil c6cb4db
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
Dan Vrátil c6cb4db
- Plasma 5.3.2
Dan Vrátil c6cb4db
30465e2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
30465e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
30465e2
Dan Vrátil 477af1e
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
Dan Vrátil 477af1e
- Plasma 5.3.1
Dan Vrátil 477af1e
Dan Vrátil 08ec19c
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 08ec19c
- Plasma 5.3.0
Dan Vrátil 08ec19c
Dan Vrátil 32598fd
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
Dan Vrátil 32598fd
- Plasma 5.2.95
Dan Vrátil 32598fd
Dan Vrátil fde0b29
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
Dan Vrátil fde0b29
- Plasma 5.2.2
Dan Vrátil fde0b29
Dan Vrátil bc30eee
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
Dan Vrátil bc30eee
- Rebuild (GCC 5)
Dan Vrátil bc30eee
Dan Vrátil 1d5dcfe
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
Dan Vrátil 1d5dcfe
- Plasma 5.2.1
Dan Vrátil 1d5dcfe
Dan Vrátil bc520de
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-2
Dan Vrátil bc520de
- ksysguardd subpackage (originally requested in #426543)
Dan Vrátil bc520de
Dan Vrátil b10c81b
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil b10c81b
- Plasma 5.2.0
Dan Vrátil b10c81b
Dan Vrátil 85f9444
* Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta
Dan Vrátil 85f9444
- Plasma 5.1.95 Beta
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Mon Jan 05 2015 Jan Grulich <jgrulich@redhat.com> - 5.1.1-2
Dan Vrátil 85f9444
- Fixed license
Dan Vrátil 85f9444
  Used make install instead of make_install macro
Dan Vrátil 85f9444
  Removed unnecessary scriptlets and added scriptlets for icon cache
Dan Vrátil 85f9444
  Added desktop file validation
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Wed Dec 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2
Dan Vrátil 85f9444
- Plasma 5.1.2
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Fri Nov 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1
Dan Vrátil 85f9444
- Plasma 5.1.1
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Tue Oct 14 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0.1-1
Dan Vrátil 85f9444
- Plasma 5.1.0.1
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Thu Oct 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 85f9444
- Plasma 5.1.0
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Tue Sep 16 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.2-1
Dan Vrátil 85f9444
- Plasma 5.0.2
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Sun Aug 10 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.1-1
Dan Vrátil 85f9444
- Plasma 5.0.1
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Wed Jul 16 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 85f9444
- Plasma 5.0.0
Dan Vrátil 85f9444
Dan Vrátil 85f9444
* Thu May 15 2014 Daniel Vrátil <dvratil@redhat.com> - 4.90.1-1.20140515gitf7a2bbe
Dan Vrátil 85f9444
- Intial snapshot