This commit is contained in:
2026-01-28 17:14:16 +08:00
parent f6c497b7ac
commit 3acd3e86ec
4 changed files with 115 additions and 11 deletions

2
1.md
View File

@@ -111,7 +111,7 @@
Part1:(该部分均未上传)
- [ ] kf6-kcoreaddons 已构建通过
- [ ] kf6-knotifications 缺包
- [ ] kf6-knotifications 已构建通过
- [ ] kf6-ki18n 已构建通过
- [ ] kf6-kconfig 已构建通过
- [ ] kf6-kdbusaddons 已构建通过

View File

@@ -0,0 +1,110 @@
%define qt6_version 6.8.0
%define rname frameworkintegration
# Full KF6 version (e.g. 6.22.0)
%{!?_kf6_version: %global _kf6_version %{version}}
%bcond_without released
Name: kf6-frameworkintegration
Version: 6.20.0
Release: 0
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
License: LGPL-2.1-or-later
URL: https://www.kde.org
Source: https://ftp.ntu.edu.tw/pub/kde/stable/frameworks/6.20/%{rname}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
BuildRequires: cmake(AppStreamQt) >= 1.0
BuildRequires: cmake(KF6ColorScheme) >= %{_kf6_version}
BuildRequires: cmake(KF6Config) >= %{_kf6_version}
BuildRequires: cmake(KF6I18n) >= %{_kf6_version}
BuildRequires: cmake(KF6IconThemes) >= %{_kf6_version}
BuildRequires: cmake(KF6NewStuff) >= %{_kf6_version}
BuildRequires: cmake(KF6Notifications) >= %{_kf6_version}
BuildRequires: cmake(KF6Package) >= %{_kf6_version}
BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: cmake(packagekitqt6)
BuildRequires: qt6-tools
BuildRequires: qt6-doctools
BuildRequires: qt6-linguist
%description
Framework Integration is a set of plugins responsible for better
integration of Qt applications when running on a
KDE Plasma workspace.
Applications do not need to link to this directly.
%package -n libKF6Style6
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
%description -n libKF6Style6
Framework Integration is a set of plugins responsible for better
integration of Qt applications when running on a
KDE Plasma workspace.
Applications do not need to link to this directly.
%package plugin
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
Requires: plasma6-integration-plugin
%description plugin
Framework Integration is a set of plugins responsible for better
integration of Qt applications when running on a
KDE Plasma workspace.
Applications do not need to link to this directly.
%package devel
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
Requires: libKF6Style6 = %{version}
Requires: cmake(KF6ColorScheme) >= %{_kf6_version}
Requires: cmake(KF6IconThemes) >= %{_kf6_version}
Requires: cmake(KF6WidgetsAddons) >= %{_kf6_version}
%description devel
Framework Integration is a set of plugins responsible for better
integration of Qt applications when running on a
KDE Plasma workspace.
Applications do not need to link to this directly. Development files
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%fdupes %{buildroot}
%ldconfig_scriptlets -n libKF6Style6
%files -n libKF6Style6
%license LICENSES/*
%doc README.md
%{_kf6_libdir}/libKF6Style.so.*
%files plugin
%dir %{_kf6_libexecdir}/kpackagehandlers
%{_kf6_libexecdir}/kpackagehandlers/appstreamhandler
%{_kf6_libexecdir}/kpackagehandlers/knshandler
%{_kf6_notificationsdir}/plasma_workspace.notifyrc
%{_kf6_plugindir}/kf6/FrameworkIntegrationPlugin.so
%files devel
%{_kf6_cmakedir}/KF6FrameworkIntegration/
%{_kf6_includedir}/FrameworkIntegration/
%{_kf6_includedir}/KStyle/
%{_kf6_libdir}/libKF6Style.so
%changelog

View File

@@ -9,7 +9,7 @@
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
%bcond_without released
%ifnarch %ix86 %arm ppc64 ppc64le s390x
# QtWebEngine is required if the openconnect plugin is built
%bcond_without openconnect
@@ -21,10 +21,7 @@ Summary: Plasma applet written in QML for managing network connections
License: (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
URL: https://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
BuildRequires: fdupes
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: pkgconfig

View File

@@ -8,7 +8,7 @@
%{!?_plasma6_bugfix: %global _plasma6_bugfix %{version}}
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
%bcond_without released
Name: plasma6-pa
Version: 6.5.2
Release: 0
@@ -16,10 +16,7 @@ Summary: The Plasma6 Volume Manager
License: GPL-2.0-or-later
URL: https://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: pkgconfig
BuildRequires: cmake(KF6Config) >= %{kf6_version}