File kiss6.spec of Package kiss6
#
# spec file for package kiss6
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 Shawn W Dunn <sfalken@opensuse.org>
#
# 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/
#
%global kf6_version 6.19.0
%global qt6_version 6.10.0
%global rname kiss
%global orgname org.kde.initialsystemsetup
%global fullname kde-initial-system-setup
Name: kiss6
Version: 0.1.0
Release: 0
Summary: Initial System Setup for KDE Plasma
License: GPL-2.0-or-later
URL: https://invent.kde.org/plasma/%{rname}
Source: %{rname}-%{version}.tar.xz
BuildRequires: cracklib-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: plasma6-desktop
BuildRequires: systemd-rpm-macros
BuildRequires: cmake(KF6Auth) >= %{kf6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6Package) >= %{kf6_version}
BuildRequires: cmake(KF6Screen)
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(LibKWorkspace)
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version}
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
Requires: plasma6-desktop
%description
Initial System Setup Wizard for the KDE Plasma Desktop
%lang_package
%prep
%autosetup -n %{rname}-%{version} -p1
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%fdupes %{buildroot}
%find_lang %{orgname}
rm -fv %{buildroot}%{_kf6_libdir}/libcomponentspluginplugin.a
%files -f %{orgname}.lang
%license LICENSES/*
%{_libexecdir}/%{fullname}*
%{_kf6_libexecdir}/kauth/%{fullname}*
%{_kf6_qmldir}/org/kde/initialsystemsetup/
%{_kf6_plugindir}/kf6/packagestructure/kde_initialsystemsetup.so
%{_datadir}/plasma/packages/%{orgname}.*/
%{_unitdir}/%{fullname}*
%{_sysusersdir}/%{fullname}*
%{_tmpfilesdir}/%{fullname}*
%{_datadir}/dbus-1/*/%{orgname}.*
%{_datadir}/polkit-1/actions/%{orgname}.*
%{_datadir}/polkit-1/rules.d/%{fullname}*
%{_datadir}/qlogging-categories6/initialsystemsetup.categories
%{_datadir}/%{fullname}
%changelog