2014-05-20 14:22:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package kio-extras5
|
|
|
|
#
|
2023-03-02 15:21:10 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-05-20 14:22:36 +02: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-11-25 00:44:48 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-05-20 14:22:36 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:56:45 +02:00
|
|
|
|
2024-03-05 15:20:38 +01:00
|
|
|
%define rname kio-extras-kf5
|
2022-01-06 13:44:44 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:44:48 +01:00
|
|
|
Name: kio-extras5
|
2024-04-14 13:10:25 +02:00
|
|
|
Version: 24.02.2
|
2018-11-25 00:44:48 +01:00
|
|
|
Release: 0
|
2017-07-08 14:29:44 +02:00
|
|
|
Summary: Additional KIO slaves for KDE applications
|
2018-11-25 00:44:48 +01:00
|
|
|
License: GPL-2.0-or-later
|
2019-08-15 16:00:43 +02:00
|
|
|
URL: https://www.kde.org
|
2023-08-24 12:28:36 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:44 +01:00
|
|
|
%if %{with released}
|
2023-08-24 12:28:36 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 15:30:59 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2023-11-28 14:48:48 +01:00
|
|
|
# OpenEXR on Leap is incompatible with C++17
|
2021-04-19 15:30:59 +02:00
|
|
|
%if 0%{?suse_version} > 1500
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: OpenEXR-devel
|
2021-04-19 15:30:59 +02:00
|
|
|
%endif
|
2016-12-03 16:10:33 +01:00
|
|
|
BuildRequires: flac-devel
|
2023-08-18 08:25:25 +02:00
|
|
|
%if 0%{?suse_version} == 1500
|
2024-01-31 20:58:31 +01:00
|
|
|
BuildRequires: gcc13-c++
|
|
|
|
BuildRequires: gcc13-PIE
|
2023-08-18 08:25:25 +02:00
|
|
|
%endif
|
2023-12-15 22:30:46 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2017-05-24 07:30:30 +02:00
|
|
|
BuildRequires: gperf
|
2020-03-28 14:57:42 +01:00
|
|
|
BuildRequires: kdsoap-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libmtp-devel
|
|
|
|
BuildRequires: libssh-devel
|
|
|
|
BuildRequires: libtag-devel
|
|
|
|
BuildRequires: pkgconfig
|
2019-11-29 12:39:43 +01:00
|
|
|
BuildRequires: cmake(KF5Activities)
|
2020-02-12 21:44:47 +01:00
|
|
|
BuildRequires: cmake(KF5ActivitiesStats)
|
2019-11-29 12:39:43 +01:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DNSSD)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2023-11-28 14:44:01 +01:00
|
|
|
BuildRequires: cmake(KF5KExiv2)
|
2020-09-20 12:11:26 +02:00
|
|
|
BuildRequires: cmake(KF5GuiAddons)
|
2019-11-29 12:39:43 +01:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Pty)
|
|
|
|
BuildRequires: cmake(KF5Solid)
|
|
|
|
BuildRequires: cmake(KF5SyntaxHighlighting)
|
2020-03-28 14:57:42 +01:00
|
|
|
BuildRequires: cmake(Phonon4Qt5)
|
2021-03-28 09:27:16 +02:00
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
2019-11-29 12:39:43 +01:00
|
|
|
BuildRequires: cmake(Qt5Sql)
|
2021-03-28 09:27:16 +02:00
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2023-11-28 14:44:01 +01:00
|
|
|
BuildRequires: pkgconfig(libimobiledevice-1.0)
|
|
|
|
BuildRequires: pkgconfig(libplist-2.0)
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: pkgconfig(bzip2)
|
|
|
|
BuildRequires: pkgconfig(smbclient)
|
2024-03-16 22:31:08 +01:00
|
|
|
# Provides previews for video files
|
|
|
|
Recommends: ffmpegthumbs-kf5
|
2016-12-03 16:10:33 +01:00
|
|
|
Recommends: kimageformats
|
2014-08-16 15:42:34 +02:00
|
|
|
# we want some imageformats in
|
|
|
|
Recommends: libqt5-qtimageformats
|
2014-06-10 14:37:12 +02:00
|
|
|
Provides: kfileaudiopreview = 4.100.0
|
2017-07-08 14:32:11 +02:00
|
|
|
Obsoletes: kfileaudiopreview < 4.100.0
|
2018-11-25 00:44:48 +01:00
|
|
|
Provides: kde-odf-thumbnail = %{version}
|
|
|
|
Obsoletes: kde-odf-thumbnail < %{version}
|
2024-03-05 15:20:38 +01:00
|
|
|
# Some common files moved to the KF6 version
|
|
|
|
Requires: kio-extras >= %{version}
|
2014-05-20 14:22:36 +02:00
|
|
|
|
|
|
|
%description
|
2017-08-12 00:56:45 +02:00
|
|
|
Additional KIO-slaves for KDE applications.
|
2014-05-20 14:22:36 +02:00
|
|
|
|
2017-08-06 00:56:10 +02:00
|
|
|
%package -n libkioarchive5
|
|
|
|
Summary: The archiver base class library
|
|
|
|
|
|
|
|
%description -n libkioarchive5
|
2017-08-18 18:11:18 +02:00
|
|
|
The archiver base class, used by specific archive formats, is made
|
|
|
|
available as a library in its own right so that support for other
|
|
|
|
archive formats can be built outside the kio-extras source tree.
|
2017-08-06 00:56:10 +02:00
|
|
|
|
|
|
|
%package -n libkioarchive-devel
|
|
|
|
Summary: Development package for libkioarchive5
|
|
|
|
Requires: libkioarchive5 = %{version}
|
|
|
|
|
|
|
|
%description -n libkioarchive-devel
|
|
|
|
This is the development package for libkioarchive
|
|
|
|
|
2017-04-15 15:28:23 +02:00
|
|
|
%lang_package
|
|
|
|
|
2014-05-20 14:22:36 +02:00
|
|
|
%prep
|
2021-04-19 15:30:59 +02:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2014-05-20 14:22:36 +02:00
|
|
|
|
|
|
|
%build
|
2023-08-18 08:25:25 +02:00
|
|
|
%if 0%{?suse_version} == 1500
|
2024-01-31 20:58:31 +01:00
|
|
|
export CXX=g++-13
|
2023-08-18 08:25:25 +02:00
|
|
|
%endif
|
|
|
|
|
2022-11-17 23:58:24 +01:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
|
|
|
%cmake_build
|
2014-05-20 14:22:36 +02:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:58:24 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%{kf5_find_lang}
|
|
|
|
%{kf5_find_htmldocs}
|
2014-06-10 14:37:12 +02:00
|
|
|
|
2023-03-02 15:21:10 +01:00
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets -n libkioarchive5
|
2017-08-06 00:56:10 +02:00
|
|
|
|
2014-05-20 14:22:36 +02:00
|
|
|
%files
|
2021-07-27 11:35:48 +02:00
|
|
|
%license LICENSES/*
|
2022-06-19 08:41:42 +02:00
|
|
|
%doc %lang(en) %{_datadir}/doc/HTML/en/kioslave5
|
2021-04-19 15:30:59 +02:00
|
|
|
%{_kf5_debugdir}/kio-extras.categories
|
2021-07-27 11:35:48 +02:00
|
|
|
%{_kf5_debugdir}/kio-extras.renamecategories
|
2021-04-19 15:30:59 +02:00
|
|
|
%{_kf5_libexecdir}/smbnotifier
|
2023-11-28 14:44:01 +01:00
|
|
|
%dir %{_kf5_plugindir}/kf5/
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kded
|
|
|
|
%{_kf5_plugindir}/kf5/kded/filenamesearchmodule.so
|
|
|
|
%{_kf5_plugindir}/kf5/kded/recentdocumentsnotifier.so
|
|
|
|
%{_kf5_plugindir}/kf5/kded/smbwatcher.so
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kfileitemaction
|
|
|
|
%{_kf5_plugindir}/kf5/kfileitemaction/forgetfileitemaction.so
|
|
|
|
%{_kf5_plugindir}/kf5/kfileitemaction/kactivitymanagerd_fileitem_linking_plugin.so
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kio
|
|
|
|
%{_kf5_plugindir}/kf5/kio/activities.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/afc.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/archive.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/filter.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/fish.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/info.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/kio_filenamesearch.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/man.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/mtp.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/recentdocuments.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/recentlyused.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/sftp.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/smb.so
|
|
|
|
%{_kf5_plugindir}/kf5/kio/thumbnail.so
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kiod
|
|
|
|
%{_kf5_plugindir}/kf5/kiod/kmtpd.so
|
|
|
|
%dir %{_kf5_plugindir}/kf5/thumbcreator
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/audiothumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/comicbookthumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/djvuthumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/ebookthumbnail.so
|
2023-11-28 14:48:48 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
2023-11-28 14:44:01 +01:00
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/exrthumbnail.so
|
2023-11-28 14:48:48 +01:00
|
|
|
%endif
|
2023-11-28 14:44:01 +01:00
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/imagethumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/jpegthumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/kraorathumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/opendocumentthumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/svgthumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/textthumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/windowsexethumbnail.so
|
|
|
|
%{_kf5_plugindir}/kf5/thumbcreator/windowsimagethumbnail.so
|
|
|
|
%{_kf5_plugindir}/kfileaudiopreview.so
|
2014-05-20 14:22:36 +02:00
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_servicetypesdir}/
|
|
|
|
|
2017-08-06 00:56:10 +02:00
|
|
|
%files -n libkioarchive-devel
|
2023-08-18 08:25:25 +02:00
|
|
|
%{_includedir}/KioArchive/
|
2017-08-06 00:56:10 +02:00
|
|
|
%{_libdir}/cmake/KioArchive/
|
|
|
|
|
|
|
|
%files -n libkioarchive5
|
2021-07-27 11:35:48 +02:00
|
|
|
%license LICENSES/*
|
2017-08-06 00:56:10 +02:00
|
|
|
%{_libdir}/libkioarchive.so.5*
|
|
|
|
|
2017-04-15 15:28:23 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2014-05-20 14:22:36 +02:00
|
|
|
%changelog
|