2014-02-07 22:43:14 +01:00
|
|
|
#
|
|
|
|
# spec file for package kio
|
|
|
|
#
|
2023-07-08 16:49:49 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2014-02-07 22:43:14 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-09-14 15:48:56 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-02-07 22:43:14 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-04-08 16:35:57 +02:00
|
|
|
%define _tar_path 5.103
|
2018-01-12 08:51:24 +01:00
|
|
|
# Full KF5 version (e.g. 5.33.0)
|
|
|
|
%{!?_kf5_version: %global _kf5_version %{version}}
|
|
|
|
# Last major and minor KF5 version (e.g. 5.33)
|
2018-07-17 10:58:01 +02:00
|
|
|
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2022-01-09 11:15:05 +01:00
|
|
|
%bcond_without released
|
2018-08-20 14:58:42 +02:00
|
|
|
Name: kio
|
2023-07-08 16:49:49 +02:00
|
|
|
Version: 5.108.0
|
2018-08-20 14:58:42 +02:00
|
|
|
Release: 0
|
2018-01-12 08:51:24 +01:00
|
|
|
Summary: Network transparent access to files and data
|
2018-03-14 14:00:38 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2018-10-16 14:25:31 +02:00
|
|
|
URL: https://www.kde.org
|
2021-11-12 13:20:56 +01:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-01-09 11:15:05 +01:00
|
|
|
%if %{with released}
|
2021-11-12 13:20:56 +01:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2019-08-11 23:07:21 +02:00
|
|
|
Source2: frameworks.keyring
|
|
|
|
%endif
|
2018-01-12 08:51:24 +01:00
|
|
|
# PATCH-FIX-OPENSUSE kio_help-fallback-to-kde4-docs.patch -- allow kio_help to see into kde4 documentation, needed especially for khelpcenter5
|
2021-01-09 13:18:51 +01:00
|
|
|
Patch0: kio_help-fallback-to-kde4-docs.patch
|
2017-09-13 14:44:05 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: fdupes
|
2022-01-09 11:15:05 +01:00
|
|
|
# gcc7 is too old for std::transform_reduce
|
|
|
|
%if 0%{?suse_version} == 1500
|
2023-06-20 19:31:36 +02:00
|
|
|
BuildRequires: gcc10-c++
|
2023-07-08 16:49:49 +02:00
|
|
|
BuildRequires: gcc10-PIE
|
2022-01-09 11:15:05 +01:00
|
|
|
%endif
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
BuildRequires: libattr-devel
|
2018-08-20 14:58:42 +02:00
|
|
|
BuildRequires: pkgconfig
|
2019-09-13 09:45:08 +02:00
|
|
|
BuildRequires: cmake(KF5Archive) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5Bookmarks) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5Completion) >= %{_kf5_bugfix_version}
|
2022-03-12 11:26:27 +01:00
|
|
|
BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version}
|
2019-09-13 09:45:08 +02:00
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5Crash) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5GuiAddons) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5ItemViews) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5JobWidgets) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5Notifications) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5Service) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5Solid) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5TextWidgets) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5Wallet) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= %{_kf5_bugfix_version}
|
2021-05-09 09:41:59 +02:00
|
|
|
BuildRequires: cmake(Qt5Concurrent) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Network) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5UiPlugin) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.15.0
|
|
|
|
BuildRequires: cmake(Qt5Xml) >= 5.15.0
|
2021-08-14 18:52:23 +02:00
|
|
|
BuildRequires: pkgconfig(mount)
|
2021-08-23 22:15:43 +02:00
|
|
|
BuildRequires: pkgconfig(openssl)
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-04-05 13:47:37 +02:00
|
|
|
Requires: %{name}-core = %{version}
|
2020-05-18 11:39:54 +02:00
|
|
|
Requires: kded >= %{_kf5_bugfix_version}
|
2018-08-20 14:58:42 +02:00
|
|
|
# KIO/FileDialog uses klauncher directly, but we can't add Requires, as that would introduce dep cycle
|
|
|
|
Recommends: kinit
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%description
|
2014-02-11 03:39:35 +01:00
|
|
|
This framework implements almost all the file management functions you
|
|
|
|
will ever need. In fact, the KDE file manager (Dolphin) and the KDE
|
|
|
|
file dialog also uses this to provide its network-enabled file management.
|
2014-02-07 22:43:14 +01:00
|
|
|
|
2015-04-05 13:47:37 +02:00
|
|
|
%package core
|
|
|
|
Summary: Network transparent access to files and data
|
2019-08-11 23:07:21 +02:00
|
|
|
|
2019-08-07 14:44:12 +02:00
|
|
|
# core subpackage created with 5.9.0
|
2015-04-05 13:47:37 +02:00
|
|
|
Conflicts: kio <= 5.8.0
|
|
|
|
|
|
|
|
%description core
|
|
|
|
This framework implements almost all the file management functions you
|
|
|
|
will ever need. In fact, the KDE file manager (Dolphin) and the KDE
|
|
|
|
file dialog also uses this to provide its network-enabled file management.
|
|
|
|
KIO core libraries, ioslave and daemons.
|
|
|
|
|
2014-02-07 22:43:14 +01:00
|
|
|
%package devel
|
2014-02-11 03:39:35 +01:00
|
|
|
Summary: Network transparent access to files and data
|
2014-02-07 22:43:14 +01:00
|
|
|
Requires: %{name} = %{version}
|
2015-04-05 13:47:37 +02:00
|
|
|
Requires: %{name}-core = %{version}
|
2014-02-07 22:43:14 +01:00
|
|
|
Requires: extra-cmake-modules
|
2019-09-13 09:45:08 +02:00
|
|
|
Requires: cmake(KF5Bookmarks) >= %{_kf5_bugfix_version}
|
|
|
|
Requires: cmake(KF5Completion) >= %{_kf5_bugfix_version}
|
|
|
|
Requires: cmake(KF5Config) >= %{_kf5_bugfix_version}
|
|
|
|
Requires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version}
|
|
|
|
Requires: cmake(KF5ItemViews) >= %{_kf5_bugfix_version}
|
|
|
|
Requires: cmake(KF5JobWidgets) >= %{_kf5_bugfix_version}
|
|
|
|
Requires: cmake(KF5Service) >= %{_kf5_bugfix_version}
|
|
|
|
Requires: cmake(KF5Solid) >= %{_kf5_bugfix_version}
|
2020-04-11 18:21:49 +02:00
|
|
|
Requires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version}
|
2019-09-13 09:45:08 +02:00
|
|
|
Requires: cmake(KF5XmlGui) >= %{_kf5_bugfix_version}
|
2021-05-09 09:41:59 +02:00
|
|
|
Requires: cmake(Qt5Concurrent) >= 5.15.0
|
|
|
|
Requires: cmake(Qt5DBus) >= 5.15.0
|
|
|
|
Requires: cmake(Qt5Network) >= 5.15.0
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%description devel
|
2014-02-11 03:39:35 +01:00
|
|
|
This framework implements almost all the file management functions you
|
|
|
|
will ever need. In fact, the KDE file manager (Dolphin) and the KDE
|
|
|
|
file dialog also uses this to provide its network-enabled file management.
|
|
|
|
Development files.
|
2014-02-07 22:43:14 +01:00
|
|
|
|
2014-06-01 21:57:12 +02:00
|
|
|
%lang_package
|
2018-08-20 14:58:42 +02:00
|
|
|
|
2014-02-07 22:43:14 +01:00
|
|
|
%prep
|
2021-04-10 15:36:22 +02:00
|
|
|
%autosetup -p1
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%build
|
2021-08-27 10:34:46 +02:00
|
|
|
%ifarch ppc64
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
%endif
|
|
|
|
|
2022-01-09 11:15:05 +01:00
|
|
|
%if 0%{?suse_version} == 1500
|
|
|
|
export CXX=g++-10
|
|
|
|
%endif
|
|
|
|
|
2022-10-08 19:27:56 +02:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
|
2021-05-09 09:41:59 +02:00
|
|
|
%cmake_build
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%install
|
2021-05-09 09:41:59 +02:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%fdupes %{buildroot}
|
2014-02-07 22:43:14 +01:00
|
|
|
|
2022-10-08 19:27:56 +02:00
|
|
|
%find_lang kio --with-man --all-name
|
2018-08-20 14:58:42 +02:00
|
|
|
%{kf5_find_htmldocs}
|
2015-04-05 13:47:37 +02:00
|
|
|
|
2023-02-12 10:53:02 +01:00
|
|
|
%ldconfig_scriptlets core
|
|
|
|
%ldconfig_scriptlets
|
2014-02-07 22:43:14 +01:00
|
|
|
|
2022-10-08 19:27:56 +02:00
|
|
|
%files lang -f kio.lang
|
2014-06-01 21:54:34 +02:00
|
|
|
|
2015-04-05 13:47:37 +02:00
|
|
|
%files core
|
2018-07-17 10:58:01 +02:00
|
|
|
%doc README*
|
2020-09-11 08:33:12 +02:00
|
|
|
%license LICENSES/*
|
2015-04-05 13:47:37 +02:00
|
|
|
%dir %{_kf5_plugindir}/kf5
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kio
|
2019-09-13 09:45:08 +02:00
|
|
|
%dir %{_kf5_plugindir}/kf5/kiod
|
|
|
|
%dir %{_kf5_sharedir}/kconf_update/
|
|
|
|
%{_kf5_applicationsdir}/ktelnetservice5.desktop
|
2022-03-12 11:26:27 +01:00
|
|
|
%{_kf5_applicationsdir}/kcm_trash.desktop
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_bindir}/ktelnetservice5
|
|
|
|
%{_kf5_bindir}/ktrash5
|
|
|
|
%{_kf5_configdir}/accept-languages.codes
|
|
|
|
%{_kf5_debugdir}/kio.categories
|
2020-08-09 09:39:44 +02:00
|
|
|
%{_kf5_debugdir}/*.renamecategories
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_libdir}/libKF5KIOCore.so.*
|
|
|
|
%{_kf5_libdir}/libKF5KIONTLM.so.*
|
|
|
|
%{_kf5_libexecdir}/kio_http_cache_cleaner
|
|
|
|
%{_kf5_libexecdir}/kiod5
|
|
|
|
%{_kf5_plugindir}/kcm_trash.so
|
2021-08-14 18:52:23 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_file.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_ftp.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_ghelp.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_help.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_http.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_trash.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_remote.so
|
|
|
|
%{_kf5_plugindir}/kf5/kiod/kssld.so
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kiod/kssld.so
|
|
|
|
%{_kf5_servicesdir}/http_cache_cleaner.desktop
|
|
|
|
%{_kf5_servicesdir}/kcmtrash.desktop
|
2015-04-05 13:47:37 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kiod5.service
|
2017-05-15 20:19:47 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kioexecd.service
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kssld5.service
|
2018-06-14 00:11:24 +02:00
|
|
|
%{_kf5_sharedir}/kconf_update/filepicker.upd
|
2015-04-05 13:47:37 +02:00
|
|
|
|
2014-02-07 22:43:14 +01:00
|
|
|
%files
|
2019-09-13 09:45:08 +02:00
|
|
|
%dir %{_kf5_htmldir}
|
|
|
|
%dir %{_kf5_htmldir}/en
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kded
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/*/
|
|
|
|
%doc %lang(en) %{_kf5_mandir}/*/kcookiejar5.*
|
2014-02-07 22:43:14 +01:00
|
|
|
%{_kf5_bindir}/kcookiejar5
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_configdir}/kshorturifilterrc
|
2014-05-04 03:36:11 +02:00
|
|
|
%{_kf5_datadir}/kcookiejar/
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_libdir}/libKF5KIOFileWidgets.so.*
|
|
|
|
%{_kf5_libdir}/libKF5KIOGui.so.*
|
|
|
|
%{_kf5_libdir}/libKF5KIOWidgets.so.*
|
2014-03-29 13:40:01 +01:00
|
|
|
%{_kf5_libexecdir}/kioexec
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_libexecdir}/kioslave5
|
|
|
|
%{_kf5_libexecdir}/kpac_dhcp_helper
|
2014-05-04 03:36:11 +02:00
|
|
|
%{_kf5_notifydir}/proxyscout.notifyrc
|
2015-04-05 13:47:37 +02:00
|
|
|
%{_kf5_plugindir}/kcm_webshortcuts.so
|
|
|
|
%{_kf5_plugindir}/kf5/kded/kcookiejar.so
|
|
|
|
%{_kf5_plugindir}/kf5/kded/proxyscout.so
|
2017-03-20 16:53:51 +01:00
|
|
|
%{_kf5_plugindir}/kf5/kded/remotenotifier.so
|
2017-05-15 20:19:47 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kiod/kioexecd.so
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kiod/kpasswdserver.so
|
2015-04-05 13:47:37 +02:00
|
|
|
%{_kf5_plugindir}/kf5/urifilters/
|
2021-08-14 18:52:23 +02:00
|
|
|
%{_kf5_plugindir}/kcm_proxy.so
|
2022-06-12 17:01:25 +02:00
|
|
|
%dir %{_kf5_plugindir}/plasma/
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/systemsettings/
|
|
|
|
%dir %{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_netpref.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_proxy.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_cookies.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_webshortcuts.so
|
|
|
|
%{_kf5_plugindir}/plasma/kcms/systemsettings/kcm_smb.so
|
2021-08-23 22:15:43 +02:00
|
|
|
%dir %{_kf5_plugindir}/designer
|
|
|
|
%{_kf5_plugindir}/designer/kio5widgets.so
|
2015-04-05 13:47:37 +02:00
|
|
|
%{_kf5_servicesdir}/cookies.desktop
|
|
|
|
%{_kf5_servicesdir}/netpref.desktop
|
|
|
|
%{_kf5_servicesdir}/proxy.desktop
|
|
|
|
%{_kf5_servicesdir}/searchproviders/
|
|
|
|
%{_kf5_servicesdir}/smb.desktop
|
|
|
|
%{_kf5_servicesdir}/webshortcuts.desktop
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_servicetypesdir}/
|
2016-02-06 19:04:27 +01:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kcookiejar5.service
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.kpasswdserver.service
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%files devel
|
2022-10-08 19:27:56 +02:00
|
|
|
%dir %{_kf5_sharedir}/kdevappwizard
|
|
|
|
%dir %{_kf5_sharedir}/kdevappwizard/templates
|
2015-11-08 18:02:06 +01:00
|
|
|
%{_kf5_bindir}/protocoltojson
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KCookieServer.xml
|
2014-02-07 22:43:14 +01:00
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KDirNotify.xml
|
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KPasswdServer.xml
|
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KSlaveLauncher.xml
|
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.kio.FileUndoManager.xml
|
2022-10-08 19:27:56 +02:00
|
|
|
%{_kf5_sharedir}/kdevappwizard/templates/kioworker.tar.bz2
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_includedir}/
|
|
|
|
%{_kf5_libdir}/cmake/KF5KIO/
|
|
|
|
%{_kf5_libdir}/libKF5KIOCore.so
|
|
|
|
%{_kf5_libdir}/libKF5KIOFileWidgets.so
|
|
|
|
%{_kf5_libdir}/libKF5KIOGui.so
|
|
|
|
%{_kf5_libdir}/libKF5KIONTLM.so
|
|
|
|
%{_kf5_libdir}/libKF5KIOWidgets.so
|
2014-02-07 22:43:14 +01:00
|
|
|
%{_kf5_mkspecsdir}/qt_KIOCore.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_KIOFileWidgets.pri
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_mkspecsdir}/qt_KIOGui.pri
|
2014-02-07 22:43:14 +01:00
|
|
|
%{_kf5_mkspecsdir}/qt_KIOWidgets.pri
|
2019-09-13 09:45:08 +02:00
|
|
|
%{_kf5_mkspecsdir}/qt_KNTLM.pri
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%changelog
|