File plasmoid-simplemonitor.spec of Package plasmoid-simplemonitor

#
# spec file for package plasmoid-simplemonitor
#
# Copyright (c) 2018 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 https://bugs.opensuse.org/
#


Name:           plasmoid-simplemonitor
Version:        0.6
Release:        0
Summary:        A simple plasma System Monitor
License:        GPL-3.0-only
Group:          System/GUI/KDE
URL:            https://www.opendesktop.org/p/1173509/
Source0:        https://github.com/dhabyx/plasma-simpleMonitor/archive/v0.6/%{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  cmake(KF5Plasma)
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildArch:      noarch

%description
A simple monitor for plasma, completely written in QML and Javascript.

%prep
%setup -q -n plasma-simpleMonitor-%{version}

%build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release  -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../

%install
cd build
%make_install
%fdupes -s %{buildroot}

%files
%license COPYING
%doc README.md
%dir %{_kf5_sharedir}/plasma/plasmoids
%{_kf5_appstreamdir}/*
%{_kf5_servicesdir}/*
%{_kf5_sharedir}/plasma/plasmoids/org.kde.simpleMonitor
%{_datadir}/locale/*/LC_MESSAGES/plasma_applet_org.kde.simpleMonitor.mo

%changelog

openSUSE Build Service is sponsored by