File plasma5-pk-updates.spec of Package plasma5-pk-updates
#
# spec file for package plasma5-pk-updates
#
# Copyright (c) 2022 SUSE LLC
#
# 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: plasma5-pk-updates
Version: 0.3.2+git145
Release: 0
Summary: Software Update Manager for Plasma
License: GPL-3.0-or-later
URL: https://www.kde.org/
Source: plasma-pk-updates-%{version}.tar.xz
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5Plasma)
BuildRequires: cmake(KF5Solid)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(packagekitqt5)
BuildRequires: extra-cmake-modules
Requires: PackageKit
%description
Plasma applet for software updates using PackageKit.
%lang_package
%prep
%autosetup -p1 -n plasma-pk-updates-%{version}
echo "ki18n_install(po)" >> CMakeLists.txt
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%find_lang pkupdates plasma-pk-updates.lang
%find_lang plasma_applet_org.kde.plasma.pkupdates plasma-pk-updates.lang
%files lang -f plasma-pk-updates.lang
%files
%license LICENSE
%{_kf5_appstreamdir}/org.kde.plasma.pkupdates.appdata.xml
%{_kf5_notifydir}/plasma_pk_updates.notifyrc
%dir %{_kf5_plasmadir}/plasmoids
%{_kf5_plasmadir}/plasmoids/org.kde.plasma.pkupdates/
%dir %{_kf5_qmldir}/org
%dir %{_kf5_qmldir}/org/kde
%dir %{_kf5_qmldir}/org/kde/plasma
%{_kf5_qmldir}/org/kde/plasma/PackageKit/
%{_kf5_servicesdir}/plasma-applet-org.kde.plasma.pkupdates.desktop
%changelog