File tw-updater-plasmoid.spec of Package tw-updater-plasmoid

# spec file for package tw-updater-plasmoid
# Copyright (c) 2019 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

Name:           tw-updater-plasmoid
Version:        1.0.2
Release:        0
Summary:        KDE Plasma Software Updater for openSUSE Tumbleweed
License:        GPL-2.0-or-later
Group:          System/Packages
Source:         tw-updater-plasmoid-%{version}.tar.gz
BuildRequires:  cmake >= 3.0
BuildRequires:  extra-cmake-modules >= 1.3.0
BuildRequires:  knotifications-devel
BuildRequires:  plasma-framework-devel
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5Widgets)
Requires:       zypper
Requires:       screen
Requires:       coreutils
Requires:       grep
Requires:       polkit
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

KDE Plasma Software Updater for openSUSE Tumbleweed using zypper as backend.

%setup -q -n tw-updater-plasmoid-%{version}

%cmake_kf5 -d build

%kf5_makeinstall -C build

%license LICENSE
%dir %{_datadir}/polkit-1/
%dir %{_datadir}/polkit-1/actions/
%dir %{_kf5_qmldir}/org/kde/plasma/private
%dir %{_kf5_plasmadir}/plasmoids/