diff --git a/0001-Give-the-kuriikwsfiltereng_private-a-VERSION-and-SOV.patch b/0001-Give-the-kuriikwsfiltereng_private-a-VERSION-and-SOV.patch new file mode 100644 index 0000000000000000000000000000000000000000..6f1529a5bac4bc35b53b06616b95cad7e937cbda --- /dev/null +++ b/0001-Give-the-kuriikwsfiltereng_private-a-VERSION-and-SOV.patch @@ -0,0 +1,30 @@ +From 0cc287336b32e601e70b26d60d9335abde538a18 Mon Sep 17 00:00:00 2001 +From: Adam Williamson +Date: Mon, 16 Oct 2023 17:57:16 -0700 +Subject: [PATCH] Give the kuriikwsfiltereng_private a VERSION and SOVERSION + (#26) + +Signed-off-by: Adam Williamson +--- + src/urifilters/ikws/CMakeLists.txt | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/urifilters/ikws/CMakeLists.txt b/src/urifilters/ikws/CMakeLists.txt +index 7d42584c3..393588993 100644 +--- a/src/urifilters/ikws/CMakeLists.txt ++++ b/src/urifilters/ikws/CMakeLists.txt +@@ -1,6 +1,11 @@ + add_subdirectory(searchproviders) + + add_library(kuriikwsfiltereng_private kuriikwsfiltereng.cpp searchprovider.cpp searchproviderregistry.cpp) ++set_target_properties(kuriikwsfiltereng_private PROPERTIES ++ VERSION ${KIO_VERSION} ++ SOVERSION ${KIO_SOVERSION} ++ EXPORT_NAME kuriikwsfiltereng_private ++) + generate_export_header(kuriikwsfiltereng_private) # We need this to be a shared lib, because otherwise we have duplicate Q_GLOBAL_STATICs + target_link_libraries(kuriikwsfiltereng_private PUBLIC KF6::KIOGui) + install(TARGETS kuriikwsfiltereng_private ${KF_INSTALL_TARGETS_DEFAULT_ARGS}) +-- +2.41.0 + diff --git a/kf6-kio.spec b/kf6-kio.spec new file mode 100644 index 0000000000000000000000000000000000000000..f09e43548bc10d7e6ad7cb84d224df9fd06c3310 --- /dev/null +++ b/kf6-kio.spec @@ -0,0 +1,219 @@ +%global framework kio + +Name: kf6-%{framework} +Version: 6.14.0 +Release: 1 +Summary: KDE Frameworks 6 Tier 3 solution for filesystem abstraction + +License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND MIT +URL: https://invent.kde.org/frameworks/%{framework} + +Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz +Source1: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz.sig + +# https://invent.kde.org/frameworks/kio/-/issues/26 +# I'm not sending this upstream because I'm not sure it's really +# exactly what upstream will want, but it solves the practical +# issue for us for now +Patch0: 0001-Give-the-kuriikwsfiltereng_private-a-VERSION-and-SOV.patch + +BuildRequires: extra-cmake-modules +BuildRequires: gcc-c++ +BuildRequires: kf6-rpm-macros +BuildRequires: cmake +BuildRequires: kf6-karchive-devel +BuildRequires: kf6-kcrash-devel +BuildRequires: kf6-solid-devel +BuildRequires: switcheroo-control +BuildRequires: kf6-kcolorscheme-devel +BuildRequires: kf6-kbookmarks-devel +BuildRequires: kf6-kconfig-devel +BuildRequires: kf6-kcoreaddons-devel +BuildRequires: kf6-kdbusaddons-devel +BuildRequires: kf6-kdoctools-devel +BuildRequires: kf6-kguiaddons-devel +BuildRequires: kf6-ki18n-devel +BuildRequires: kf6-kservice-devel +BuildRequires: qt6-qtbase-private-devel +BuildRequires: kf6-kbookmarks-devel +BuildRequires: kf6-kcompletion-devel +BuildRequires: kf6-kconfigwidgets-devel +BuildRequires: kf6-kiconthemes-devel +BuildRequires: kf6-kitemviews-devel +BuildRequires: kf6-kjobwidgets +BuildRequires: kf6-kjobwidgets-devel +BuildRequires: kf6-kwindowsystem-devel +BuildRequires: kf6-knotifications-devel +BuildRequires: kf6-kwallet-devel +BuildRequires: kf6-kwidgetsaddons-devel +BuildRequires: kf6-kxmlgui-devel + +BuildRequires: libacl-devel +%if !0%{?flatpak} +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +%endif +BuildRequires: pkgconfig(blkid) +BuildRequires: pkgconfig(mount) +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: zlib-devel + +BuildRequires: qt6-qtbase-devel +BuildRequires: cmake(Qt6UiPlugin) +BuildRequires: cmake(Qt6Qml) + +BuildRequires: kf6-kded-devel +BuildRequires: cmake(Qt6Core5Compat) + +# Requires: %{name}-core%{?_isa} = %{version}-%{release} +# Requires: %{name}-widgets%{?_isa} = %{version}-%{release} +# Requires: %{name}-file-widgets%{?_isa} = %{version}-%{release} +# Requires: %{name}-gui%{?_isa} = %{version}-%{release} + +Requires: kf6-kded + +%description +KDE Frameworks 6 Tier 3 solution for filesystem abstraction + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +Requires: kf6-kbookmarks-devel +Requires: kf6-kcompletion +Requires: kf6-kconfig +Requires: kf6-kcoreaddons +Requires: kf6-kitemviews +Requires: kf6-kjobwidgets +Requires: kf6-kservice +Requires: kf6-solid +Requires: kf6-kxmlgui +Requires: kf6-kwindowsystem +Requires: qt6-qtbase-devel +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package doc +Summary: Documentation files for %{name} +# Requires: %{name}-core = %{version}-%{release} +BuildArch: noarch +%description doc +Documentation for %{name}. + +%package core +Summary: Core components of the KIO Framework +%{?kf6_kinit_requires} +# Requires: %{name}-core-libs%{?_isa} = %{version}-%{release} +# Requires: %{name}-doc = %{version}-%{release} +Requires: kf6-filesystem +Recommends: switcheroo-control +%description core +KIOCore library provides core non-GUI components for working with KIO. + +%package core-libs +Summary: Runtime libraries for KIO Core +# Requires: %{name}-core%{?_isa} = %{version}-%{release} +%description core-libs +%{summary}. + +%package widgets +Summary: Widgets for KIO Framework +## org.kde.klauncher6 service referenced from : widgets/krun.cpp +## included here for completeness, even those -core already has a dependency. +%{?kf6_kinit_requires} +# Requires: %{name}-core%{?_isa} = %{version}-%{release} +%description widgets +KIOWidgets contains classes that provide generic job control, progress +reporting, etc. + +%package widgets-libs +Summary: Runtime libraries for KIO Widgets library +# Requires: %{name}-widgets%{?_isa} = %{version}-%{release} +%description widgets-libs +%{summary}. + +%package file-widgets +Summary: Widgets for file-handling for KIO Framework +# Requires: %{name}-widgets%{?_isa} = %{version}-%{release} +%description file-widgets +The KIOFileWidgets library provides the file selection dialog and +its components. + +%package gui +Summary: Gui components for the KIO Framework +# Requires: %{name}-core%{?_isa} = %{version}-%{release} +%description gui +%{summary}. + +%package qch-doc +Summary: Developer Documentation files for %{name} +BuildArch: noarch +%description qch-doc +Developer Documentation files for %{name} for use with KDevelop or QtCreator. + + +%prep +%autosetup -n %{framework}-%{version} -p1 + + +%build +%cmake_kf6 +%cmake_build + + +%install +%cmake_install +%find_lang %{name} --all-name --with-man --with-html + +%files +%license LICENSES/*.txt +%doc README.md + +%files core +%{_kf6_libexecdir}/kioexec +%{_kf6_libexecdir}/kiod6 +%{_kf6_libexecdir}/kioworker +%{_kf6_bindir}/ktelnetservice6 +%{_kf6_bindir}/ktrash6 +%{_kf6_plugindir}/kio/ +%{_kf6_plugindir}/kded/ +%{_kf6_plugindir}/kiod/ +%{_kf6_plugindir}/kio_dnd/ +%{_kf6_datadir}/kf6/searchproviders/*.desktop +%{_kf6_datadir}/applications/*.desktop +%{_datadir}/dbus-1/services/org.kde.*.service +%{_kf6_datadir}/qlogging-categories6/*categories + +%files core-libs +%{_kf6_libdir}/libKF6KIOCore.so.* + +%files doc -f %{name}.lang + +%files gui +%{_kf6_libdir}/libKF6KIOGui.so.* + +%files widgets +%dir %{_kf6_plugindir}/urifilters/ +%{_kf6_plugindir}/urifilters/*.so +%{_kf6_libdir}/libkuriikwsfiltereng_private.so.* + +%files widgets-libs +%{_kf6_libdir}/libKF6KIOWidgets.so.* + +%files file-widgets +%{_kf6_libdir}/libKF6KIOFileWidgets.so.* + +%files devel +%{_kf6_includedir}/* +%{_kf6_libdir}/*.so +%{_kf6_libdir}/cmake/KF6KIO/ +%{_kf6_datadir}/kdevappwizard/templates/kioworker6.tar.bz2 +%{_kf6_qtplugindir}/designer/kio6widgets.so +%{_qt6_docdir}/*.tags + +%files qch-doc +%{_qt6_docdir}/*.qch + +%changelog +* Wed Jun 11 2025 yangfeng - 6.14.0-1 +- Initial release for OpenEuler diff --git a/kf6-kio.yaml b/kf6-kio.yaml new file mode 100644 index 0000000000000000000000000000000000000000..190c171686c945104fb7a1e6e16b9bec20909064 --- /dev/null +++ b/kf6-kio.yaml @@ -0,0 +1,5 @@ +version_control: github +src_repo: KDE/kio +tag_prefix: "^v" +separator: "." + diff --git a/kio-6.14.0.tar.xz b/kio-6.14.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..47d3439637b20f31c7e4914a3b118469dc537a60 Binary files /dev/null and b/kio-6.14.0.tar.xz differ diff --git a/kio-6.14.0.tar.xz.sig b/kio-6.14.0.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000..d78c727e2843cf29c37b6cfb9c22af07571adff8 --- /dev/null +++ b/kio-6.14.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCaB5rNgAKCRAsjfWHptSq +wfQ6AP0eGFFfkij0Xq6nZ8o1Q2zKx+aFOYJDsyIMsfFndTKhMgD+L4ltauhtqR67 +Ad6dVJftyxu2pHTxvZosMhbD4CcnGw8= +=jsHr +-----END PGP SIGNATURE-----