Name: ksysguard Version: 5.6.1 Release: 1%{?dist} Summary: KDE Process Management application License: GPLv2 URL: https://quickgit.kde.org/?p=%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz %global majmin_ver %(echo %{version} | cut -d. -f1,2) BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtscript-devel BuildRequires: qt5-qtwebkit-devel BuildRequires: kf5-rpm-macros BuildRequires: extra-cmake-modules BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kitemviews-devel BuildRequires: kf5-knewstuff-devel BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-kdelibs4support-devel BuildRequires: kf5-kdoctools-devel BuildRequires: libksysguard-devel >= %{majmin_ver} BuildRequires: lm_sensors-devel BuildRequires: desktop-file-utils Requires: kf5-filesystem Requires: ksysguardd = %{version}-%{release} %description %{summary}. %package -n ksysguardd Summary: Performance monitor daemon %description -n ksysguardd %{summary}. %prep %autosetup %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang ksysguard5 --with-qt --with-kde --all-name %check desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.ksysguard.desktop %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f ksysguard5.lang %license COPYING COPYING.DOC %doc README %{_bindir}/ksysguard %{_kf5_libdir}/libkdeinit5_ksysguard.so %{_datadir}/ksysguard %config %{_sysconfdir}/xdg/ksysguard.knsrc %{_datadir}/applications/org.kde.ksysguard.desktop ## TODO: %%lang'ify %{_docdir}/HTML/*/ksysguard %{_datadir}/icons/hicolor/*/apps/*.png %{_kf5_datadir}/knotifications5/ksysguard.notifyrc %{_kf5_datadir}/kxmlgui5/ksysguard %files -n ksysguardd %{_bindir}/ksysguardd %config %{_sysconfdir}/ksysguarddrc %changelog * Fri Apr 08 2016 Rex Dieter - 5.6.1-1 - 5.6.1 * Tue Mar 01 2016 Daniel Vrátil - 5.5.5-1 - Plasma 5.5.5 * Thu Feb 04 2016 Fedora Release Engineering - 5.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 27 2016 Daniel Vrátil - 5.5.4-1 - Plasma 5.5.4 * Thu Jan 07 2016 Daniel Vrátil - 5.5.3-1 - Plasma 5.5.3 * Thu Dec 31 2015 Rex Dieter 5.5.2-2 - .spec cosmetics, use %%majmin_ver for plasma-related deps, update URL * Thu Dec 31 2015 Rex Dieter - 5.5.2-1 - 5.5.2 * Fri Dec 18 2015 Daniel Vrátil - 5.5.1-1 - Plasma 5.5.1 * Thu Dec 03 2015 Daniel Vrátil - 5.5.0-1 - Plasma 5.5.0 * Wed Nov 25 2015 Daniel Vrátil - 5.4.95-1 - Plasma 5.4.95 * Thu Nov 05 2015 Daniel Vrátil - 5.4.3-1 - Plasma 5.4.3 * Thu Oct 01 2015 Rex Dieter - 5.4.2-1 - 5.4.2 * Wed Sep 09 2015 Rex Dieter - 5.4.1-1 - 5.4.1 * Fri Aug 21 2015 Daniel Vrátil - 5.4.0-1 - Plasma 5.4.0 * Thu Aug 13 2015 Daniel Vrátil - 5.3.95-1 - Plasma 5.3.95 * Thu Jun 25 2015 Daniel Vrátil - 5.3.2-1 - Plasma 5.3.2 * Wed Jun 17 2015 Fedora Release Engineering - 5.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 26 2015 Daniel Vrátil - 5.3.1-1 - Plasma 5.3.1 * Mon Apr 27 2015 Daniel Vrátil - 5.3.0-1 - Plasma 5.3.0 * Wed Apr 22 2015 Daniel Vrátil - 5.2.95-1 - Plasma 5.2.95 * Fri Mar 20 2015 Daniel Vrátil - 5.2.2-1 - Plasma 5.2.2 * Fri Feb 27 2015 Daniel Vrátil - 5.2.1-2 - Rebuild (GCC 5) * Tue Feb 24 2015 Daniel Vrátil - 5.2.1-1 - Plasma 5.2.1 * Mon Feb 09 2015 Daniel Vrátil - 5.2.0-2 - ksysguardd subpackage (originally requested in #426543) * Mon Jan 26 2015 Daniel Vrátil - 5.2.0-1 - Plasma 5.2.0 * Mon Jan 12 2015 Daniel Vrátil - 5.1.95-1.beta - Plasma 5.1.95 Beta * Mon Jan 05 2015 Jan Grulich - 5.1.1-2 - Fixed license Used make install instead of make_install macro Removed unnecessary scriptlets and added scriptlets for icon cache Added desktop file validation * Wed Dec 17 2014 Daniel Vrátil - 5.1.2-2 - Plasma 5.1.2 * Fri Nov 07 2014 Daniel Vrátil - 5.1.1-1 - Plasma 5.1.1 * Tue Oct 14 2014 Daniel Vrátil - 5.1.0.1-1 - Plasma 5.1.0.1 * Thu Oct 09 2014 Daniel Vrátil - 5.1.0-1 - Plasma 5.1.0 * Tue Sep 16 2014 Daniel Vrátil - 5.0.2-1 - Plasma 5.0.2 * Sun Aug 10 2014 Daniel Vrátil - 5.0.1-1 - Plasma 5.0.1 * Wed Jul 16 2014 Daniel Vrátil - 5.0.0-1 - Plasma 5.0.0 * Thu May 15 2014 Daniel Vrátil - 4.90.1-1.20140515gitf7a2bbe - Intial snapshot