From fde3ddf4da60ec449a79de4c185bba5d46a471f2 Mon Sep 17 00:00:00 2001 From: kiritakekumi Date: Wed, 28 Jan 2026 13:07:10 +0800 Subject: [PATCH] update --- kf6-kbookmarks/kf6-kbookmarks.spec | 101 ++++++++++++++++ kf6-kcompletion/kf6-kcompletion.spec | 83 +++++++++++++ kf6-kded/kf6-kded.spec | 89 ++++++++++++++ kf6-kiconthemes/kf6-kiconthemes.spec | 124 +++++++++++++++++++ kf6-kitemviews/kf6-kitemviews.spec | 80 +++++++++++++ kf6-kjobwidgets/kf6-kjobwidgets.spec | 125 +++++++++++++++++++ kf6-ktextwidgets/kf6-ktextwidgets.spec | 84 +++++++++++++ kf6-kwallet/kf6-kwallet.spec | 158 +++++++++++++++++++++++++ kf6-solid/kf6-solid.spec | 100 ++++++++++++++++ 9 files changed, 944 insertions(+) create mode 100644 kf6-kbookmarks/kf6-kbookmarks.spec create mode 100644 kf6-kcompletion/kf6-kcompletion.spec create mode 100644 kf6-kded/kf6-kded.spec create mode 100644 kf6-kiconthemes/kf6-kiconthemes.spec create mode 100644 kf6-kitemviews/kf6-kitemviews.spec create mode 100644 kf6-kjobwidgets/kf6-kjobwidgets.spec create mode 100644 kf6-ktextwidgets/kf6-ktextwidgets.spec create mode 100644 kf6-kwallet/kf6-kwallet.spec create mode 100644 kf6-solid/kf6-solid.spec diff --git a/kf6-kbookmarks/kf6-kbookmarks.spec b/kf6-kbookmarks/kf6-kbookmarks.spec new file mode 100644 index 0000000..f4d33e5 --- /dev/null +++ b/kf6-kbookmarks/kf6-kbookmarks.spec @@ -0,0 +1,101 @@ + +%define qt6_version 6.8.0 + +%define rname kbookmarks +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} + +Name: kf6-kbookmarks +Version: 6.20.0 +Release: 0 +Summary: Framework for manipulating bookmarks in XBEL format +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(KF6Config) >= %{_kf6_version} +BuildRequires: cmake(KF6ConfigWidgets) >= %{_kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +BuildRequires: cmake(Qt6Xml) >= %{qt6_version} + +%description +This is a framework for accessing and manipulating bookmarks using +the XBEL format. + +%package -n libKF6Bookmarks6 +Summary: Framework for manipulating bookmarks in XBEL format +Requires: kf6-kbookmarks >= %{version} + +%description -n libKF6Bookmarks6 +This is a framework for accessing and manipulating bookmarks using +the XBEL format. + +%package -n libKF6BookmarksWidgets6 +Summary: Framework for manipulating bookmarks in XBEL format +Requires: kf6-kbookmarks >= %{version} + +%description -n libKF6BookmarksWidgets6 +This is a framework for accessing and manipulating bookmarks using +the XBEL format. + +%package devel +Summary: Development files for kbookmarks, a XBEL format bookmark manipulation framework +Requires: libKF6Bookmarks6 = %{version} +Requires: libKF6BookmarksWidgets6 = %{version} +Requires: cmake(KF6WidgetsAddons) >= %{_kf6_version} +Requires: cmake(Qt6Widgets) >= %{qt6_version} +Requires: cmake(Qt6Xml) >= %{qt6_version} + +%description devel +Development files for kbookmarks, a framework for accessing and +manipulating bookmarks using the XBEL format + +%lang_package -n libKF6Bookmarks6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kbookmarks6 --with-qt --without-mo + +%ldconfig_scriptlets -n libKF6Bookmarks6 +%ldconfig_scriptlets -n libKF6BookmarksWidgets6 + +%files +%{_kf6_debugdir}/kbookmarks.categories +%{_kf6_debugdir}/kbookmarks.renamecategories +%{_kf6_debugdir}/kbookmarkswidgets.categories + +%files -n libKF6Bookmarks6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6Bookmarks.so.* + +%files -n libKF6BookmarksWidgets6 +%{_kf6_libdir}/libKF6BookmarksWidgets.so.* + +%files devel +%{_kf6_libdir}/libKF6Bookmarks.so +%{_kf6_libdir}/libKF6BookmarksWidgets.so +%{_kf6_cmakedir}/KF6Bookmarks/ +%{_kf6_includedir}/KBookmarks/ +%{_kf6_includedir}/KBookmarksWidgets/ + +%files -n libKF6Bookmarks6-lang -f kbookmarks6.lang + +%changelog diff --git a/kf6-kcompletion/kf6-kcompletion.spec b/kf6-kcompletion/kf6-kcompletion.spec new file mode 100644 index 0000000..d769114 --- /dev/null +++ b/kf6-kcompletion/kf6-kcompletion.spec @@ -0,0 +1,83 @@ + +%define qt6_version 6.8.0 + +%define rname kcompletion +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} + +Name: kf6-kcompletion +Version: 6.20.0 +Release: 0 +Summary: Widgets with advanced completion support +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(KF6Codecs) >= %{_kf6_version} +BuildRequires: cmake(KF6Config) >= %{_kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6UiPlugin) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} + +%description +KCompletion provides widgets with advanced completion support as well as a +lower-level completion class which can be used with your own widgets. + +%package -n libKF6Completion6 +Summary: Widgets with advanced completion support +Requires: kf6-kcompletion >= %{version} + +%description -n libKF6Completion6 +KCompletion provides widgets with advanced completion support as well as a +lower-level completion class which can be used with your own widgets. + +%package devel +Summary: Header files for kcompletion, a widget collection with completion support +Requires: libKF6Completion6 = %{version} +Requires: cmake(Qt6Widgets) >= %{qt6_version} + +%description devel +Development files for KCompletion, a widget collection with advanced +completion support as well as a lower-level completion class which +can be used with own widgets. + +%lang_package -n libKF6Completion6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kcompletion6 --with-qt --without-mo + +%ldconfig_scriptlets -n libKF6Completion6 + +%files +%{_kf6_debugdir}/kcompletion.categories + +%files -n libKF6Completion6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6Completion.so.* + +%files devel +%{_kf6_cmakedir}/KF6Completion/ +%{_kf6_includedir}/KCompletion/ +%{_kf6_libdir}/libKF6Completion.so +%{_kf6_plugindir}/designer/kcompletion6widgets.so + +%files -n libKF6Completion6-lang -f kcompletion6.lang + +%changelog diff --git a/kf6-kded/kf6-kded.spec b/kf6-kded/kf6-kded.spec new file mode 100644 index 0000000..f584c79 --- /dev/null +++ b/kf6-kded/kf6-kded.spec @@ -0,0 +1,89 @@ + +%define qt6_version 6.8.0 + +%define rname kded +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} + +Name: kf6-kded +Version: 6.20.0 +Release: 0 +Summary: Central daemon of KDE workspaces +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: systemd-rpm-macros +BuildRequires: cmake(KF6Config) >= %{_kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6Crash) >= %{_kf6_version} +BuildRequires: cmake(KF6DBusAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6DocTools) >= %{_kf6_version} +BuildRequires: cmake(KF6Service) >= %{_kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +# One of the main tasks of kded is to run kconf_update when necessary +Requires: kconf_update6 + +%description +KDED runs in the background and performs a number of small tasks. +Some of these tasks are built in, others are started on demand. + +%package devel +Summary: Central daemon of KDE workspaces: Build Environment +Requires: kf6-kded >= %{version} + +%description devel +KDED runs in the background and performs a number of small tasks. +Some of these tasks are built in, others are started on demand. +Development files. + +%lang_package + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kded6 --with-man --all-name + +%preun +%{systemd_user_preun plasma-kded6.service} + +%post +%ldconfig +%{systemd_user_post plasma-kded6.service} + +%postun +%ldconfig +%{systemd_user_postun plasma-kded6.service} + +%files +%license LICENSES/* +%doc README.md +%doc %lang(en) %{_kf6_mandir}/*/kded6.* +%{_kf6_applicationsdir}/org.kde.kded6.desktop +%{_kf6_bindir}/kded6 +%{_kf6_debugdir}/kded.categories +%{_kf6_debugdir}/kded.renamecategories +%{_kf6_sharedir}/dbus-1/services/org.kde.kded6.service +%{_userunitdir}/plasma-kded6.service + +%files devel +%{_kf6_cmakedir}/KF6KDED/ +%{_kf6_dbusinterfacesdir}/org.kde.kded6.xml + +%files lang -f kded6.lang + +%changelog diff --git a/kf6-kiconthemes/kf6-kiconthemes.spec b/kf6-kiconthemes/kf6-kiconthemes.spec new file mode 100644 index 0000000..8d98882 --- /dev/null +++ b/kf6-kiconthemes/kf6-kiconthemes.spec @@ -0,0 +1,124 @@ + + +%define qt6_version 6.8.0 + +%define rname kiconthemes +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} + +Name: kf6-kiconthemes +Version: 6.20.0 +Release: 0 +Summary: Icon GUI utilities +License: LGPL-2.1-or-later AND GPL-2.0-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: qt6-gui-private-devel >= %{qt6_version} +BuildRequires: cmake(KF6Archive) >= %{_kf6_version} +BuildRequires: cmake(KF6BreezeIcons) >= %{_kf6_version} +BuildRequires: cmake(KF6ColorScheme) >= %{_kf6_version} +BuildRequires: cmake(KF6ConfigWidgets) >= %{_kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6I18n) >= %{_kf6_version} +BuildRequires: cmake(KF6ItemViews) >= %{_kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Qml) >= %{qt6_version} +BuildRequires: cmake(Qt6Quick) >= %{qt6_version} +BuildRequires: cmake(Qt6Svg) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6UiPlugin) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} + +%description +This library contains classes to improve the handling of icons +in applications using the KDE Frameworks. + +%package imports +Summary: QML Imports for kiconthemes + +%description imports +QML Bindings for the kiconthemes framework. + +%package -n libKF6IconThemes6 +Summary: Icon GUI utilities +Requires: kf6-kiconthemes >= %{version} +Recommends: breeze6-icons + +%description -n libKF6IconThemes6 +This library contains classes to improve the handling of icons +in applications using the KDE Frameworks. + +%package -n libKF6IconWidgets6 +Summary: Icon GUI utilities +Requires: kf6-kiconthemes >= %{version} +Recommends: breeze6-icons + +%description -n libKF6IconWidgets6 +This library contains classes to improve the handling of icons +in applications using the KDE Frameworks. + +%package devel +Summary: Icon GUI utilities: Build Environment +Requires: libKF6IconThemes6 = %{version} +Requires: libKF6IconWidgets6 = %{version} +Requires: cmake(Qt6Widgets) >= %{qt6_version} + +%description devel +This library contains classes to improve the handling of icons +in applications using the KDE Frameworks. Development files. + +%lang_package -n libKF6IconThemes6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kiconthemes6 + +%ldconfig_scriptlets -n libKF6IconThemes6 +%ldconfig_scriptlets -n libKF6IconWidgets6 + +%files +%{_kf6_debugdir}/kiconthemes.categories +%{_kf6_debugdir}/kiconthemes.renamecategories +%dir %{_kf6_plugindir}/kiconthemes6/ +%dir %{_kf6_plugindir}/kiconthemes6/iconengines +%{_kf6_plugindir}/kiconthemes6/iconengines/KIconEnginePlugin.so + +%files imports +%{_kf6_qmldir}/org/kde/iconthemes/ + +%files -n libKF6IconThemes6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6IconThemes.so.* + +%files -n libKF6IconWidgets6 +%{_kf6_libdir}/libKF6IconWidgets.so.* + +%files devel +%{_kf6_bindir}/kiconfinder6 +%{_kf6_cmakedir}/KF6IconThemes/ +%{_kf6_includedir}/KIconThemes/ +%{_kf6_includedir}/KIconWidgets/ +%{_kf6_libdir}/libKF6IconThemes.so +%{_kf6_libdir}/libKF6IconWidgets.so +%{_kf6_plugindir}/designer/kiconthemes6widgets.so + +%files -n libKF6IconThemes6-lang -f kiconthemes6.lang + +%changelog diff --git a/kf6-kitemviews/kf6-kitemviews.spec b/kf6-kitemviews/kf6-kitemviews.spec new file mode 100644 index 0000000..027c299 --- /dev/null +++ b/kf6-kitemviews/kf6-kitemviews.spec @@ -0,0 +1,80 @@ + +%define qt6_version 6.8.0 + +%define rname kitemviews +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} +%bcond_without released +Name: kf6-kitemviews +Version: 6.20.0 +Release: 0 +Summary: Set of item views extending the Qt model-view framework +License: LGPL-2.0-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(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6UiPlugin) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} + +%description +KItemViews includes a set of views, which can be used with item models. It +includes views for categorizing lists and to add search filters to flat and +hierarchical lists. + +%package -n libKF6ItemViews6 +Summary: Set of item views extending the Qt model-view framework +Requires: kf6-kitemviews >= %{version} + +%description -n libKF6ItemViews6 +KItemViews includes a set of views, which can be used with item models. It +includes views for categorizing lists and to add search filters to flat and +hierarchical lists. + +%package devel +Summary: Set of item views extending the Qt model-view framework +Requires: libKF6ItemViews6 = %{version} + +%description devel +KItemViews includes a set of views, which can be used with item models. It +includes views for categorizing lists and to add search filters to flat and +hierarchical lists. Development files. + +%lang_package -n libKF6ItemViews6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kitemviews6 --with-qt --without-mo + +%ldconfig_scriptlets -n libKF6ItemViews6 + +%files +%{_kf6_debugdir}/kitemviews.categories + +%files -n libKF6ItemViews6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6ItemViews.so.* + +%files devel +%{_kf6_includedir}/KItemViews/ +%{_kf6_cmakedir}/KF6ItemViews/ +%{_kf6_libdir}/libKF6ItemViews.so +%{_kf6_plugindir}/designer/kitemviews6widgets.so + +%files -n libKF6ItemViews6-lang -f kitemviews6.lang + +%changelog diff --git a/kf6-kjobwidgets/kf6-kjobwidgets.spec b/kf6-kjobwidgets/kf6-kjobwidgets.spec new file mode 100644 index 0000000..c756adb --- /dev/null +++ b/kf6-kjobwidgets/kf6-kjobwidgets.spec @@ -0,0 +1,125 @@ + +%define qt6_version 6.8.0 + +%define rname kjobwidgets + +%bcond_with kde_python_bindings +%if %{with kde_python_bindings} +%global mypython python3 +%global __mypython %{expand:%%__python3} +%global mypython_sitearch %{python3_sitearch} +%endif + +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} + +Name: kf6-kjobwidgets +Version: 6.20.0 +Release: 0 +Summary: Widgets for showing progress of asynchronous jobs +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: pkgconfig +BuildRequires: qt6-gui-private-devel >= %{qt6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6Notifications) >= %{_kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +BuildRequires: pkgconfig(x11) +# SECTION bindings +%if %{with kde_python_bindings} +BuildRequires: python3 >= 3.9 +BuildRequires: python3-devel >= 3.9 +BuildRequires: python3-build +BuildRequires: python3-setuptools +BuildRequires: python3-wheel +BuildRequires: cmake(Shiboken6) +BuildRequires: cmake(PySide6) +BuildRequires: python3-kf6-kcoreaddons >= %{_kf6_version} +%endif +# /SECTION + +%description +KJobWIdgets provides widgets for showing progress of asynchronous jobs. + +%package -n libKF6JobWidgets6 +Summary: Widgets for showing progress of asynchronous jobs +Requires: kf6-kjobwidgets >= %{version} + +%description -n libKF6JobWidgets6 +KJobWIdgets provides widgets for showing progress of asynchronous jobs. + +%package devel +Summary: Widgets for showing progress of asynchronous jobs +Requires: libKF6JobWidgets6 = %{version} +Requires: cmake(KF6CoreAddons) >= %{_kf6_version} +Requires: cmake(Qt6Widgets) >= %{qt6_version} + +%description devel +KJobWIdgets provides widgets for showing progress of asynchronous jobs. +Development files. + +%if %{with kde_python_bindings} +%package -n python3-kf6-kjobwidgets +Summary: Python interface for kf6-kjobwidgets + +%description -n python3-kf6-kjobwidgets +This package provides a python interface for kf6-kjobwidgets. +%endif + +%lang_package -n libKF6JobWidgets6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 \ +%if %{with kde_python_bindings} + -DPython_EXECUTABLE:STRING=%{__mypython} +%else + -DBUILD_PYTHON_BINDINGS=OFF +%endif +%{nil} + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kjobwidgets6 --with-qt --without-mo + +%ldconfig_scriptlets -n libKF6JobWidgets6 + +%files +%{_kf6_debugdir}/kjobwidgets.categories +%{_kf6_debugdir}/kjobwidgets.renamecategories + +%files -n libKF6JobWidgets6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6JobWidgets.so.* + +%files devel +%{_kf6_cmakedir}/KF6JobWidgets/ +%{_kf6_dbusinterfacesdir}/kf6_org.kde.JobView.xml +%{_kf6_dbusinterfacesdir}/kf6_org.kde.JobViewServer.xml +%{_kf6_dbusinterfacesdir}/kf6_org.kde.JobViewV2.xml +%{_kf6_includedir}/KJobWidgets/ +%{_kf6_libdir}/libKF6JobWidgets.so + +%if %{with kde_python_bindings} +%files -n python3-kf6-kjobwidgets +%{mypython_sitearch}/*.so +%endif + +%files -n libKF6JobWidgets6-lang -f kjobwidgets6.lang + +%changelog diff --git a/kf6-ktextwidgets/kf6-ktextwidgets.spec b/kf6-ktextwidgets/kf6-ktextwidgets.spec new file mode 100644 index 0000000..764fe19 --- /dev/null +++ b/kf6-ktextwidgets/kf6-ktextwidgets.spec @@ -0,0 +1,84 @@ + +%define qt6_version 6.8.0 + +%define rname ktextwidgets +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} + +Name: kf6-ktextwidgets +Version: 6.20.0 +Release: 0 +Summary: KDE Text editing widgets +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(KF6Completion) >= %{_kf6_version} +BuildRequires: cmake(KF6Config) >= %{_kf6_version} +BuildRequires: cmake(KF6ConfigWidgets) >= %{_kf6_version} +BuildRequires: cmake(KF6I18n) >= %{_kf6_version} +BuildRequires: cmake(KF6Sonnet) >= %{_kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6TextToSpeech) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6UiPlugin) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} + +%description +KTextWidgets provides widgets for displaying and editing text. It supports +rich text as well as plain text. + +%package -n libKF6TextWidgets6 +Summary: KDE Text editing widgets + +%description -n libKF6TextWidgets6 +KTextWidgets provides widgets for displaying and editing text. It supports +rich text as well as plain text. + +%package devel +Summary: KDE Text editing widgets: Build Environment +Requires: kf6-extra-cmake-modules +Requires: libKF6TextWidgets6 = %{version} +Requires: cmake(KF6I18n) >= %{_kf6_version} +Requires: cmake(KF6Sonnet) >= %{_kf6_version} +Requires: cmake(Qt6Widgets) >= %{qt6_version} + +%description devel +KTextWidgets provides widgets for displaying and editing text. It supports +rich text as well as plain text. Development files. + +%lang_package -n libKF6TextWidgets6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang ktextwidgets6 + +%ldconfig_scriptlets -n libKF6TextWidgets6 + +%files -n libKF6TextWidgets6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6TextWidgets.so.* + +%files devel +%{_kf6_libdir}/libKF6TextWidgets.so +%{_kf6_cmakedir}/KF6TextWidgets/ +%{_kf6_includedir}/KTextWidgets/ +%{_kf6_plugindir}/designer/ktextwidgets6widgets.so + +%files -n libKF6TextWidgets6-lang -f ktextwidgets6.lang + +%changelog diff --git a/kf6-kwallet/kf6-kwallet.spec b/kf6-kwallet/kf6-kwallet.spec new file mode 100644 index 0000000..e692201 --- /dev/null +++ b/kf6-kwallet/kf6-kwallet.spec @@ -0,0 +1,158 @@ + +%define qt6_version 6.8.0 + +%define rname kwallet +# Full KF6 version (e.g. 6.22.0) +%{!?_kf6_version: %global _kf6_version %{version}} + +Name: kf6-kwallet +Version: 6.20.0 +Release: 0 +Summary: Safe desktop-wide storage for passwords +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: libgcrypt-devel >= 1.5.0 +BuildRequires: libgpgmepp-devel +BuildRequires: pkgconfig +BuildRequires: cmake(KF6ColorScheme) >= %{_kf6_version} +BuildRequires: cmake(KF6Config) >= %{_kf6_version} +BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6Crash) >= %{_kf6_version} +BuildRequires: cmake(KF6DBusAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6DocTools) >= %{_kf6_version} +BuildRequires: cmake(KF6I18n) >= %{_kf6_version} +BuildRequires: cmake(KF6Notifications) >= %{_kf6_version} +BuildRequires: cmake(KF6Service) >= %{_kf6_version} +BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version} +BuildRequires: cmake(KF6WindowSystem) >= %{_kf6_version} +BuildRequires: cmake(Qca-qt6) +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +BuildRequires: pkgconfig(libsecret-1) + +%description +This framework contains two main components: +* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces. +* The kwalletd used to safely store the passwords on KDE work spaces. + +%package -n libKF6Wallet6 +Summary: Safe desktop-wide storage for passwords +Requires: kf6-kwallet >= %{version} + +%description -n libKF6Wallet6 +This framework contains two main components: +* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces. +* The kwalletd used to safely store the passwords on KDE work spaces. + +%package -n libKF6WalletBackend6 +Summary: Safe desktop-wide storage for passwords + +%description -n libKF6WalletBackend6 +This framework contains two main components: +* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces. +* The kwalletd used to safely store the passwords on KDE work spaces. + +%package -n kwalletd6 +Summary: Safe desktop-wide storage for passwords +Requires: kf6-kwallet >= %{version} +Recommends: kf6-kwallet-tools +# kwalletd6 ships a compat org.kde.kwalletd5.service file. It needs to replace +# kwalletd5 to keep using plasma5 with KF6-based apps +Provides: kwalletd5 = %{version} +Obsoletes: kwalletd5 < %{version} +Obsoletes: kwalletd5-lang < %{version} + +%description -n kwalletd6 +This framework contains two main components: +* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces. +* The kwalletd used to safely store the passwords on KDE work spaces. + +%package tools +Summary: Safe desktop-wide storage for passwords +Conflicts: kwallet-tools + +%description tools +This framework contains two main components: +* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces. +* The kwalletd used to safely store the passwords on KDE work spaces. + +%package devel +Summary: Safe desktop-wide storage for passwords +Requires: libKF6Wallet6 = %{version} +Requires: cmake(Qt6Gui) >= %{qt6_version} + +%description devel +This framework contains two main components: +* Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces. +* The kwalletd used to safely store the passwords on KDE work spaces. +Development files. + +%lang_package -n kf6-kwallet-tools + +%lang_package -n kwalletd6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang kwalletd6 +%find_lang kwallet6-query + +%ldconfig_scriptlets -n libKF6Wallet6 +%ldconfig_scriptlets -n libKF6WalletBackend6 + +%files +%{_kf6_debugdir}/kwallet.categories +%{_kf6_debugdir}/kwallet.renamecategories + +%files -n kwalletd6 +%{_kf6_applicationsdir}/org.kde.ksecretd.desktop +%{_kf6_bindir}/ksecretd +%{_kf6_bindir}/kwalletd6 +%{_kf6_notificationsdir}/ksecretd.notifyrc +%{_kf6_sharedir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kwallet.service +%{_kf6_sharedir}/dbus-1/services/org.kde.kwalletd5.service +%{_kf6_sharedir}/dbus-1/services/org.kde.kwalletd6.service +%{_kf6_sharedir}/dbus-1/services/org.kde.secretservicecompat.service +%dir %{_kf6_sharedir}/xdg-desktop-portal +%dir %{_kf6_sharedir}/xdg-desktop-portal/portals +%{_kf6_sharedir}/xdg-desktop-portal/portals/kwallet.portal + +%files -n libKF6Wallet6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6Wallet.so.* + +%files -n libKF6WalletBackend6 +%{_kf6_libdir}/libKF6WalletBackend.so.* + +%files tools +%{_kf6_bindir}/kwallet-query +%{_kf6_mandir}/man1/kwallet-query.1%{?ext_man} + +%files devel +%{_kf6_libdir}/libKF6Wallet.so +%{_kf6_cmakedir}/KF6Wallet/ +%{_kf6_includedir}/KWallet/ +%{_kf6_dbusinterfacesdir}/kf6_org.kde.KWallet.xml + +%files -n kwalletd6-lang -f kwalletd6.lang + +%files -n kf6-kwallet-tools-lang -f kwallet6-query.lang + +%changelog diff --git a/kf6-solid/kf6-solid.spec b/kf6-solid/kf6-solid.spec new file mode 100644 index 0000000..4f4b13d --- /dev/null +++ b/kf6-solid/kf6-solid.spec @@ -0,0 +1,100 @@ + +%define qt6_version 6.8.0 + +%define rname solid +%bcond_without released +Name: kf6-solid +Version: 6.20.0 +Release: 0 +Summary: KDE Desktop hardware abstraction +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: bison +BuildRequires: fdupes +BuildRequires: flex +BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version} +BuildRequires: pkgconfig +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Network) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Xml) >= %{qt6_version} +BuildRequires: pkgconfig(libimobiledevice-1.0) +BuildRequires: pkgconfig(libplist-2.0) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(mount) + +%description +Solid is a device integration framework. It provides a way of querying and +interacting with hardware independently of the underlying operating system. + +%package tools +Summary: KDE Desktop hardware abstraction + +%description tools +Solid is a device integration framework. It provides a way of querying and +interacting with hardware independently of the underlying operating system. +CLI utilities. + +%package -n libKF6Solid6 +Summary: KDE Desktop hardware abstraction +Requires: kf6-solid >= %{version} +Recommends: kf6-solid-tools = %{version} +Recommends: media-player-info +Recommends: udisks2 + +%description -n libKF6Solid6 +Solid is a device integration framework. It provides a way of querying and +interacting with hardware independently of the underlying operating system. + +%package devel +Summary: KDE Desktop hardware abstraction: Build Environment +Requires: libKF6Solid6 = %{version} +Requires: cmake(Qt6Core) >= %{qt6_version} + +%description devel +Solid is a device integration framework. It provides a way of querying and +interacting with hardware independently of the underlying operating system. +Development files. + +%lang_package -n libKF6Solid6 + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang solid6 --with-qt --without-mo + +%ldconfig_scriptlets -n libKF6Solid6 + +%files -n libKF6Solid6-lang -f solid6.lang + +%files +%{_kf6_debugdir}/solid.categories +%{_kf6_debugdir}/solid.renamecategories + +%files tools +%{_kf6_bindir}/solid-hardware6 + +%files -n libKF6Solid6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6Solid.so.* + +%files devel +%{_kf6_includedir}/Solid/ +%{_kf6_cmakedir}/KF6Solid/ +%{_kf6_libdir}/libKF6Solid.so + +%changelog