# uncomment to enable bootstrap mode #global bootstrap 1 %if !0%{?bootstrap} #global tests 1 %endif Name: kio-extras Version: 22.12.1 Release: 2%{?dist} Summary: Additional components to increase the functionality of KIO Framework License: GPLv2+ URL: https://invent.kde.org/network/%{name} %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz ## upstramable patches # Don't eat up memory attempting to create thumbnail of huge images # https://bugs.kde.org/show_bug.cgi?id=420173 Patch1001: kio-extras_largeimages.patch ## upstream patches # filter plugin provides %global __provides_exclude_from ^(%{_kf5_qtplugindir}/.*\\.so)$ BuildRequires: bzip2-devel BuildRequires: exiv2-devel BuildRequires: gperf BuildRequires: extra-cmake-modules BuildRequires: kf5-kactivities-devel BuildRequires: kf5-karchive-devel BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kconfigwidgets-devel BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-kdbusaddons-devel BuildRequires: kf5-kdelibs4support-devel BuildRequires: kf5-kdnssd-devel BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-khtml-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-kio-devel BuildRequires: kf5-kpty-devel BuildRequires: kf5-rpm-macros BuildRequires: kf5-solid-devel BuildRequires: cmake(KF5SyntaxHighlighting) BuildRequires: cmake(KF5ActivitiesStats) BuildRequires: cmake(KDSoap) >= 1.9 BuildRequires: libjpeg-devel BuildRequires: libmtp-devel BuildRequires: libsmbclient-devel BuildRequires: libssh-devel %if 0%{?fedora} > 33 # As of 2.5.x openexr is cmake based. BuildRequires: cmake(OpenEXR) %else BuildRequires: OpenEXR-devel %endif BuildRequires: openslp-devel BuildRequires: perl-generators BuildRequires: phonon-qt5-devel BuildRequires: pkgconfig(libtirpc) BuildRequires: pkgconfig(shared-mime-info) BuildRequires: pkgconfig(xcursor) BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: taglib-devel > 1.11 BuildRequires: zlib-devel %if 0%{?tests} BuildRequires: dbus-x11 BuildRequires: time BuildRequires: xorg-x11-server-Xvfb %endif # translations moved here Conflicts: kde-l10n < 17.03 # short-lived subpkg, locale conflicts fixed in kio_mtp instead Obsoletes: kio-extras-mtp-common < 5.2.2-3 Obsoletes: kde-runtime-docs < 5.0.0-1 # when went noarch Obsoletes: kio-extras-doc < 5.8.0-2 # moved to main pkg Obsoletes: kio-extras-docs < 17.03 Provides: kio-extras-docs = %{version}-%{release} # -htmlthumbnail removed Obsoletes: kio-extras-htmlthumbnail < 18.08.3 # helpful for imagethumbnail plugin Recommends: qt5-qtimageformats%{?_isa} # .exe/.ico previews, will limit dep to only if wine-core is installed for now -- rdieter Recommends: (icoutils if wine-core) # when -info was split out Obsoletes: kio-extras < 19.04.1-1 %description %{summary}. %package info Summary: Info kioslave # when -info was split out Obsoletes: kio-extras < 19.04.1-1 %description info Kioslave for reading info pages. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %autosetup -p1 %build %cmake_kf5 \ -DLIBSSH_LIBRARIES="$(pkg-config --libs libssh)" \ %{?tests:-DBUILD_TESTING:BOOL=ON} %cmake_build %install %cmake_install %find_lang %{name} --all-name --with-html %check %if 0%{?tests} export CTEST_OUTPUT_ON_FAILURE=1 xvfb-run -a dbus-launch --exit-with-session \ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 10" ||: %endif %ldconfig_scriptlets %files -f %{name}.lang %dir %{_datadir}/konqueror/ %dir %{_datadir}/konqueror/dirtree/ %dir %{_datadir}/konqueror/dirtree/remote/ %dir %{_kf5_plugindir}/kded %dir %{_kf5_plugindir}/kio/ %dir %{_kf5_plugindir}/kiod/ %license LICENSES/* %{_datadir}/config.kcfg/jpegcreatorsettings5.kcfg %{_datadir}/dbus-1/services/org.kde.kmtpd5.service %{_datadir}/kio_bookmarks/ %{_datadir}/kio_docfilter/ %{_datadir}/konqueror/dirtree/remote/mtp-network.desktop %{_datadir}/konqueror/dirtree/remote/smb-network.desktop %{_datadir}/mime/packages/org.kde.kio.smb.xml %{_datadir}/remoteview/ %{_kf5_datadir}/kservices5/*.desktop %{_kf5_datadir}/kservicetypes5/thumbcreator.desktop %{_kf5_datadir}/qlogging-categories5/%{name}* %{_kf5_datadir}/solid/actions/solid_mtp.desktop %{_kf5_libdir}/libkioarchive.so.5* %{_kf5_libexecdir}/smbnotifier %{_kf5_plugindir}/kded/filenamesearchmodule.so %{_kf5_plugindir}/kded/recentdocumentsnotifier.so %{_kf5_plugindir}/kded/smbwatcher.so %{_kf5_plugindir}/kfileitemaction/kactivitymanagerd_fileitem_linking_plugin.so %{_kf5_plugindir}/kfileitemaction/forgetfileitemaction.so %{_kf5_plugindir}/kio/about.so %{_kf5_plugindir}/kio/activities.so %{_kf5_plugindir}/kio/archive.so %{_kf5_plugindir}/kio/bookmarks.so %{_kf5_plugindir}/kio/filter.so %{_kf5_plugindir}/kio/fish.so %{_kf5_plugindir}/kio/kio_filenamesearch.so %{_kf5_plugindir}/kio/man.so %{_kf5_plugindir}/kio/mtp.so %{_kf5_plugindir}/kio/nfs.so %{_kf5_plugindir}/kio/recentdocuments.so %{_kf5_plugindir}/kio/recentlyused.so %{_kf5_plugindir}/kio/sftp.so %{_kf5_plugindir}/kio/smb.so %{_kf5_plugindir}/kio/thumbnail.so %{_kf5_plugindir}/kiod/kmtpd.so %{_kf5_plugindir}/thumbcreator/*.so %{_kf5_qtplugindir}/kfileaudiopreview.so %files info %{_kf5_plugindir}/kio/info.so # perl deps, but required at runtime for the info kioslave to actually work: %dir %{_datadir}/kio_info/ %{_datadir}/kio_info/kde-info2html* %files devel %{_kf5_includedir}/*.h # no soname symlink? --rex #{_kf5_libdir}/libkioarchive.so %{_kf5_libdir}/cmake/KioArchive/ %changelog * Thu Jan 19 2023 Fedora Release Engineering - 22.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jan 04 2023 Justin Zobel - 22.12.1-1 - Update to 22.12.1 * Mon Dec 19 2022 Marc Deop - 22.12.0-1 - 22.12.0 * Fri Nov 04 2022 Marc Deop i Argemí (Private) - 22.08.3-1 - 22.08.3 * Fri Oct 14 2022 Marc Deop - 22.08.2-1 - 22.08.2 * Thu Sep 08 2022 Marc Deop - 22.08.1-1 - 22.08.1 * Fri Aug 19 2022 Marc Deop - 22.08.0-1 - 22.08.0 * Thu Jul 21 2022 Fedora Release Engineering - 22.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 18 2022 Than Ngo - 22.04.3-1 - 22.04.3 * Thu May 12 2022 Justin Zobel - 22.04.1-1 - Update to 22.04.1 * Mon May 09 2022 Justin Zobel - 22.04.0-1 - Update to 22.04.0 * Wed Mar 02 2022 Marc Deop - 21.12.3-1 - 21.12.3 * Wed Feb 23 2022 Rex Dieter - 21.12.2-3 - Recommends: (icoutils if wine-core) * Wed Feb 23 2022 Rex Dieter - 21.12.2-2 - Recommends: (icoutils if wine) * Fri Feb 04 2022 Rex Dieter - 21.12.2-1 - 21.12.2 * Thu Jan 20 2022 Fedora Release Engineering - 21.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 07 2022 Adam Williamson - 21.12.2-1 - Rebuild for kdsoap soname bump * Thu Jan 06 2022 Rex Dieter - 21.12.1-1 - 21.12.1 * Mon Dec 27 2021 Rex Dieter - 21.12.0-1 - 21.12.0 * Tue Nov 02 2021 Rex Dieter - 21.08.3-1 - 21.08.3 * Thu Oct 21 2021 Rex Dieter - 21.08.2-1 - 21.08.2 * Sun Aug 22 2021 Richard Shaw - 21.04.3-2 - Rebuild for OpenEXR/Imath 3.1. * Wed Jul 28 2021 Rex Dieter - 21.04.3-1 - 21.04.3 * Thu Jul 22 2021 Fedora Release Engineering - 21.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 10 2021 Rex Dieter - 21.04.2-1 - 21.04.2 * Tue May 11 2021 Rex Dieter - 21.04.1-1 - 21.04.1 * Mon Apr 19 2021 Rex Dieter - 21.04.0-1 - 21.04.0 * Wed Mar 31 2021 Jonathan Wakely - 20.12.3-2 - Rebuilt for removed libstdc++ symbols (#1937698) * Wed Mar 03 2021 Rex Dieter - 20.12.3-1 - 20.12.3 * Thu Feb 04 2021 Rex Dieter - 20.12.2-1 - 20.12.2 * Tue Jan 26 2021 Fedora Release Engineering - 20.08.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 01 2021 Richard Shaw - 20.08.3-3 - Rebuild for OpenEXR 2.5.3. * Tue Dec 29 2020 Rex Dieter - 20.08.3-2 - rebuild (kdsoap) - update URL - .spec cosmetics * Fri Nov 6 15:19:21 CST 2020 Rex Dieter - 20.08.3-1 - 20.08.3 * Tue Sep 15 2020 Rex Dieter - 20.08.1-1 - 20.08.1 * Tue Aug 18 2020 Rex Dieter - 20.08.0-1 - 20.08.0 * Tue Jul 28 2020 Fedora Release Engineering - 20.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Rex Dieter - 20.04.3-1 - 20.04.3 * Fri Jun 12 2020 Rex Dieter - 20.04.2-1 - 20.04.2 * Wed May 27 2020 Rex Dieter - 20.04.1-1 - 20.04.1 * Sat May 02 2020 Rex Dieter - 20.04.0-1 - 20.04.0 - fix Recommends: qtimageformts dep * Fri Apr 17 2020 Sandro Mani - 19.12.3-2 - Add patch to skip huge images in thumbnailer * Sat Mar 07 2020 Rex Dieter - 19.12.3-1 - 19.12.3 * Tue Feb 04 2020 Rex Dieter - 19.12.2-1 - 19.12.2 * Wed Jan 29 2020 Fedora Release Engineering - 19.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 13 2020 Rex Dieter - 19.12.1-1 - 19.12.1 * Tue Nov 12 2019 Rex Dieter - 19.08.3-1 - 19.08.3 - hack around cmake/libssh bogosity (sftp kioslave FTBFS) * Thu Oct 17 2019 Rex Dieter - 19.08.2-1 - 19.08.2 * Fri Oct 04 2019 Rex Dieter - 19.08.1-1 - 19.08.1 * Thu Jul 25 2019 Fedora Release Engineering - 19.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 12 2019 Rex Dieter - 19.04.3-1 - 19.04.3 * Tue Jun 04 2019 Rex Dieter - 19.04.2-1 - 19.04.2 * Wed May 08 2019 Rex Dieter - 19.04.1-1 - 19.04.1 - -info subpkg (#1697318) * Thu Apr 11 2019 Richard Shaw - 18.12.3-3 - Rebuild for OpenEXR 2.3.0. * Tue Apr 09 2019 Kevin Kofler - 18.12.3-2 - move kio_info/kde-info2html perl script back to the main package (#1697318) * Fri Mar 08 2019 Rex Dieter - 18.12.3-1 - 18.12.3 * Tue Feb 05 2019 Rex Dieter - 18.12.2-1 - 18.12.2 * Fri Feb 01 2019 Fedora Release Engineering - 18.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 08 2019 Rex Dieter - 18.12.1-1 - 18.12.1 * Mon Jan 07 2019 Rex Dieter - 18.12.0-2 - drop BR: lzma-devel, seems no longer needed or used * Sun Dec 16 2018 Rex Dieter - 18.12.0-1 - 18.12.0 * Tue Nov 13 2018 Rex Dieter - 18.08.3-1 - 18.08.3 - drop -htmlthumbnail: CVE-2018-19120 kio-extras: HTML Thumbnailer automatic remote file access (#1649421) * Wed Oct 17 2018 Rex Dieter - 18.08.2-2 - pull in upstream crash fix, use %%make_build * Wed Oct 10 2018 Rex Dieter - 18.08.2-1 - 18.08.2 * Mon Oct 01 2018 Rex Dieter - 18.08.1-1 - 18.08.1 * Tue Aug 21 2018 Rex Dieter - 18.04.3-2 - move kio_info/kde-info2html perl script to -devel * Fri Jul 13 2018 Rex Dieter - 18.04.3-1 - 18.04.3 * Fri Jul 13 2018 Fedora Release Engineering - 18.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 06 2018 Rex Dieter - 18.04.2-1 - 18.04.2 * Wed May 09 2018 Rex Dieter - 18.04.1-1 - 18.04.1 * Thu Apr 19 2018 Rex Dieter - 18.04.0-1 - 18.04.0 * Mon Apr 02 2018 Rex Dieter - 17.12.3-1 - 17.12.3 - %%check: skip tests, seem to be hanging despite setting 10s timeout - use %%ldconfig_scriptlets * Thu Feb 08 2018 Rex Dieter - 17.12.2-1 - 17.12.2 * Wed Feb 07 2018 Fedora Release Engineering - 17.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Rex Dieter - 17.12.1-1 - 17.12.1 * Wed Jan 10 2018 Kevin Kofler - 17.12.0-2 - Build against libtirpc (#1532944), patch from Cygwin Ports * Thu Dec 28 2017 Rex Dieter - 17.12.0-1 - 17.12.0 * Mon Nov 06 2017 Rex Dieter - 17.08.2-2 - pull in smb-related upstream fixes * Wed Oct 11 2017 Rex Dieter - 17.08.2-1 - 17.08.2 * Thu Sep 28 2017 Rex Dieter - 17.08.1-1 - 17.08.1 * Thu Aug 03 2017 Rex Dieter - 17.04.3-1 - 17.04.3 * Thu Aug 03 2017 Fedora Release Engineering - 17.04.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 17.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 15 2017 Rex Dieter - 17.04.2-1 - 17.04.2 * Sun Jun 04 2017 Rex Dieter - 17.04.1-1 - 17.04.1, move -docs content to main pkg * Tue May 02 2017 Rex Dieter - 16.12.3-2 - rebuild (exiv2) * Thu Mar 09 2017 Rex Dieter - 16.12.3-1 - 16.12.3 * Thu Feb 09 2017 Rex Dieter - 16.12.2-1 - 16.12.2 * Wed Jan 11 2017 Rex Dieter - 16.12.1-2 - -htmlthumbnail subpkg * Tue Jan 10 2017 Rex Dieter - 16.12.1-1 - 16.12.1 * Mon Jan 02 2017 Rex Dieter - 16.08.3-2 - filter plugin provides * Mon Dec 05 2016 Rex Dieter - 16.08.3-1 - 16.08.3 * Thu Oct 13 2016 Rex Dieter - 16.08.2-1 - 16.08.2 * Wed Sep 07 2016 Rex Dieter - 16.08.1-1 - 16.08.1 * Sat Aug 13 2016 Rex Dieter - 16.08.0-1 - 16.08.0 * Fri Aug 12 2016 Rex Dieter - 16.07.90-2 - Recommends: qt5-qtimageformats (#1366585) * Sat Aug 06 2016 Rex Dieter - 16.07.90-1 - 16.07.90 * Sun Jul 31 2016 Rex Dieter - 16.07.80-1 - 16.07.80 * Sat Jul 09 2016 Rex Dieter - 16.04.3-1 - 16.04.3 * Sun Jun 12 2016 Rex Dieter - 16.04.2-1 - 16.04.2 * Sun May 08 2016 Rex Dieter - 16.04.1-1 - 16.04.1 * Fri Apr 29 2016 Rex Dieter - 16.04.0-2 - support bootstrap/tests * Tue Apr 19 2016 Rex Dieter - 16.04.0-1 - 16.04.0 * Tue Mar 15 2016 Rex Dieter - 15.12.3-1 - 15.12.3 * Mon Feb 15 2016 Rex Dieter - 15.12.2-1 - 15.12.2 * Thu Feb 04 2016 Fedora Release Engineering - 15.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 10 2016 Rex Dieter - 15.12.1-1 - 15.12.1 * Tue Dec 22 2015 Rex Dieter - 15.12.0-1 - 15.12.0 * Thu Dec 03 2015 Rex Dieter - 15.08.3-1 - 15.08.3 * Thu Dec 03 2015 Rex Dieter 15.08.1-2 - .spec cosmetics, update URL, use %%license * Sat Sep 12 2015 Rex Dieter - 15.08.1-1 - 15.08.1 * Thu Aug 20 2015 Than Ngo - 15.08.0-1 - 15.08.0 * Thu Jun 25 2015 Daniel Vrátil - 5.3.2-1 - Plasma 5.3.2 * Wed Jun 24 2015 Rex Dieter - 5.3.1-3 - rebuild (exiv2) * Wed Jun 17 2015 Fedora Release Engineering - 5.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 26 2015 Daniel Vrátil - 5.3.1-1 - Plasma 5.3.1 * Mon Apr 27 2015 Daniel Vrátil - 5.3.0-1 - Plasma 5.3.0 * Fri Apr 24 2015 Daniel Vrátil - 5.2.95-2 - BR libsmbclient-devel * Wed Apr 22 2015 Daniel Vrátil - 5.2.95-1 - Plasma 5.2.95 * Wed Apr 08 2015 Rex Dieter 5.2.2-5 - drop Conflicts: kio_mtp (no longer needed with renamed catalog) * Tue Apr 07 2015 Rex Dieter 5.2.2-4 - temporarily adjust kio_mtp catalog until kde4 updates hit stable * Tue Apr 07 2015 Rex Dieter 5.2.2-3 - drop mtp-common subpkg * Fri Apr 03 2015 Rex Dieter - 5.2.2-2 - drop Obsoletes/Provides: kio_mtp (#1208601) - add mimetype scriptlets - s/libjpeg-turbo-devel/libjpeg-devel/ - minor .spec cleanup - doc: noarch - BR: libmtp-devel * Fri Mar 20 2015 Daniel Vrátil - 5.2.2-1 - Plasma 5.2.2 * Fri Feb 27 2015 Daniel Vrátil - 5.2.1-2 - Rebuild (GCC 5) * Tue Feb 24 2015 Daniel Vrátil - 5.2.1-1 - Plasma 5.2.1 * Thu Jan 29 2015 Daniel Vrátil - 5.2.0-2 - Obsoletes/Provides kio_mtp * Mon Jan 26 2015 Daniel Vrátil - 5.2.0-1 - Plasma 5.2.0 * Mon Jan 12 2015 Daniel Vrátil - 5.1.95-1.beta - Plasma 5.1.95 Beta * Wed Dec 17 2014 Daniel Vrátil - 5.1.2-2 - Plasma 5.1.2 * Fri Nov 07 2014 Daniel Vrátil - 5.1.1-1 - Plasma 5.1.1 * Tue Oct 14 2014 Daniel Vrátil - 5.1.0.1-1 - Plasma 5.1.0.1 * Thu Oct 09 2014 Daniel Vrátil - 5.1.0-1 - Plasma 5.1.0 * Tue Sep 16 2014 Daniel Vrátil - 5.0.2-1 - Plasma 5.0.2 * Sun Aug 10 2014 Daniel Vrátil - 5.0.1-1 - Plasma 5.0.1 * Tue Jul 29 2014 Daniel Vrátil - 5.0.0-2 - Split -docs to improve coinstallability with KDE 4 * Wed Jul 16 2014 Daniel Vrátil - 5.0.0-1 - Plasma 5.0.0 * Wed May 14 2014 Daniel Vrátil - 4.90.1-1.20140514gitf7a2bbe - Initial version