File ukui-system-monitor.spec of Package ukui-system-monitor

#
# spec file for package ukui-system-monitor
#
# Copyright (c) 2020 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/
#

Name:           ukui-system-monitor
Version:        1.0.3
Release:        0
License:        GPL-3.0+
Summary:        UKUI System Monitor
Url:            https://github.com/ukui/ukui-system-monitor
Group:          System/GUI/Other
Source0:        https://github.com/ukui/ukui-system-monitor/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  libqt5-linguist
BuildRequires:  kwindowsystem-devel
BuildRequires:  pkgconfig(dconf)
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Network)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5PrintSupport)
BuildRequires:  pkgconfig(Qt5X11Extras)
BuildRequires:  pkgconfig(Qt5Concurrent)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(gsettings-qt)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(libsystemd)
BuildRequires:  pkgconfig(libgtop-2.0)
BuildRequires:  pkgconfig(libpcap)
BuildRequires:  hicolor-icon-theme
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
UKUI System Monitor allows you to graphically view and manipulate the running
processes, It also provides an overview of the resources (such as CPU and
memory) and File Systems on your system.

%lang_package

%prep
%setup -q

%build
%qmake5

%install
%qmake5_install

%fdupes %{buildroot}

%files
%defattr(-,root,root)
%doc README.md
%license COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/glib-2.0/schemas/org.ukui.system-monitor.menu.gschema.xml
%{_datadir}/icons/hicolor/%{name}.png

%files lang

%changelog

openSUSE Build Service is sponsored by