# # spec file for package libksysguard5 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_without lang Name: libksysguard5 Version: 5.4.2 Release: 0 Summary: Task management and system monitoring library License: GPL-2.0+ Group: Development/Libraries/C and C++ Url: http://www.kde.org Source: libksysguard-%{version}.tar.xz Source1: baselibs.conf Source99: %{name}-rpmlintrc BuildRequires: extra-cmake-modules >= 0.0.9 BuildRequires: gcc-c++ BuildRequires: kauth-devel BuildRequires: kcompletion-devel BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel BuildRequires: kcoreaddons-devel BuildRequires: kf5-filesystem BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kservice-devel BuildRequires: kwidgetsaddons-devel BuildRequires: kwindowsystem-devel BuildRequires: plasma-framework-devel BuildRequires: xz BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0 BuildRequires: pkgconfig(Qt5Script) >= 5.4.0 BuildRequires: pkgconfig(Qt5WebKitWidgets) >= 5.4.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0 BuildRequires: pkgconfig(Qt5X11Extras) >= 5.4.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xres) BuildRequires: pkgconfig(zlib) %if %{with lang} Recommends: %{name}-lang %endif #BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Task management and system monitoring library. %package devel Summary: Task management and system monitoring library -- devel files Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: kconfig-devel Requires: ki18n-devel Requires: kiconthemes-devel Requires: pkgconfig(Qt5Core) >= 5.4.0 Requires: pkgconfig(Qt5Network) >= 5.4.0 Requires: pkgconfig(Qt5Widgets) >= 5.4.0 Conflicts: kdebase4-workspace-devel %description devel Task management and system monitoring library. This package contains development files. %package helper Summary: Task management and system monitoring library -- helper files Group: Development/Libraries/C and C++ Conflicts: kdebase4-workspace < 5.3.0 %description helper Task management and system monitoring library. This package contains helper files for actions that require elevated privileges. %lang_package %prep %setup -q -n libksysguard-%{version} %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %make_jobs %install %kf5_makeinstall -C build %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING* %{_kf5_libdir}/libksgrd.so.* %{_kf5_libdir}/liblsofui.so.* %{_kf5_libdir}/libksignalplotter.so.* %{_kf5_libdir}/libprocesscore.so.* %{_kf5_libdir}/libprocessui.so.* %{_kf5_sharedir}/ksysguard/ %files helper %defattr(-,root,root) %doc COPYING* %{_kf5_sysconfdir}/dbus-1/system.d/org.kde.ksysguard.processlisthelper.conf %{_kf5_libdir}/libexec/ %{_kf5_sharedir}/dbus-1/system-services/org.kde.ksysguard.processlisthelper.service %{_kf5_sharedir}/polkit-1/actions/org.kde.ksysguard.processlisthelper.policy %files devel %defattr(-,root,root) %doc COPYING* %{_includedir}/ksysguard/ %{_kf5_libdir}/cmake/KF5SysGuard/ %{_kf5_libdir}/libksgrd.so %{_kf5_libdir}/liblsofui.so %{_kf5_libdir}/libksignalplotter.so %{_kf5_libdir}/libprocesscore.so %{_kf5_libdir}/libprocessui.so %if %{with lang} %files lang %defattr(-,root,root) %{_kf5_localedir}/ %endif %changelog