File plasma6-settings.spec of Package plasma6-settings
# spec file for plasma-settings
#
# Copyright (c) 2024 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.
%define kf6_version 6.0.0
%define qt6_version 6.6.0
Name: plasma6-settings
Version: 24.02.0
Release: 0
License: GPL-2.0
Summary: Convergent Plasma Mobile settings application
Url: https://invent.kde.org/plasma-mobile/plasma-settings
Source0: %{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: (kf6-extra-cmake-modules or extra-cmake-modules)
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6KirigamiAddons) >= 0.6
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version}
BuildRequires: cmake(KF6ItemModels)
BuildRequires: cmake(KF6Crash)
Requires: (pulseaudio-module-gsettings if pulseaudio)
Requires: polkit-kde-agent-6
Requires: accountsservice
Provides: plasma-settings = %{version}
%description
Convergent settings application for Plasma Mobile.
Notice that Wi-Fi, mobile broadband and hotspot KConfig
modules are provided separately, by plasma-nm.
%lang_package
%prep
%autosetup -p1
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%find_lang %{name} --all-name
%fdupes %{buildroot}
%files
%license LICENSES/*
%doc README.md
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.kde.mobile.plasmasettings.metainfo.xml
%{_datadir}/plasma-settings
%{_kf6_bindir}/plasma-settings
%{_kf6_sharedir}/applications/org.kde.mobile.plasmasettings.desktop
%{_kf6_sharedir}/icons/hicolor/scalable/apps/org.kde.mobile.plasmasettings.svg
%files lang -f %{name}.lang
%changelog