# uncomment to enable bootstrap mode #global bootstrap 1 %if !0%{?bootstrap} #global tests 1 %endif Name: kio-extras Version: 18.04.3 Release: 2.1.TMM%{?dist} Summary: Additional components to increase the functionality of KIO Framework License: GPLv2+ URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz # patch to use libtirpc for RPC, from Cygwin Ports # should be upstreamable, considering that glibc's builtin RPC is obsolete # https://github.com/cygwinports/kf5-kio-extras/blob/master/16.08.3-nfs-libtirpc.patch Patch0: kio-extras-17.12.0-nfs-libtirpc.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: libjpeg-devel BuildRequires: libmtp-devel BuildRequires: libsmbclient-devel BuildRequires: libssh-devel BuildRequires: lzma-devel BuildRequires: OpenEXR-devel BuildRequires: openslp-devel BuildRequires: perl-generators BuildRequires: phonon-qt5-devel BuildRequires: pkgconfig(libtirpc) BuildRequires: pkgconfig(shared-mime-info) BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: taglib-devel > 1.11 %if 0%{?fedora} > 24 # work around possibly missing macro %{!?qt5_qtwebengine_arches:%global qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el} %ifarch %{qt5_qtwebengine_arches} %global htmlthumbnail 1 %endif %endif %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} # helpful for imagethumbnail plugin # Recommends: qt5-qtimageformats %{?_isa} Requires: qt5-qtimageformats %description %{summary}. %if 0%{?htmlthumbnail} %package htmlthumbnail Summary: KIO HTML thumbnailer BuildRequires: qt5-qtwebengine-devel >= 5.7 Requires: %{name}%{?_isa} = %{version}-%{release} %description htmlthumbnail %{summary}. %endif %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %autosetup -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \ %{?tests:-DBUILD_TESTING:BOOL=ON} popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %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 # include *a* copy, others are in mtp/ %license fish/COPYING %{_kf5_libdir}/libkioarchive.so.5* %{_kf5_libdir}/libmolletnetwork5.so.* %dir %{_kf5_plugindir}/kded %{_kf5_plugindir}/kded/filenamesearchmodule.so %{_kf5_plugindir}/kded/networkwatcher.so %{_kf5_plugindir}/kded/recentdocumentsnotifier.so %dir %{_kf5_plugindir}/kio/ %{_kf5_plugindir}/kio/archive.so %{_kf5_plugindir}/kio/bookmarks.so %{_kf5_plugindir}/kio/filenamesearch.so %{_kf5_plugindir}/kio/filter.so %{_kf5_plugindir}/kio/fish.so %{_kf5_plugindir}/kio/info.so %{_kf5_plugindir}/kio/man.so %{_kf5_plugindir}/kio/mtp.so %{_kf5_plugindir}/kio/network.so %{_kf5_plugindir}/kio/nfs.so %{_kf5_plugindir}/kio/recentdocuments.so %{_kf5_plugindir}/kio/settings.so %{_kf5_plugindir}/kio/sftp.so %{_kf5_plugindir}/kio/smb.so %{_kf5_plugindir}/kio/thumbnail.so %{_kf5_qtplugindir}/audiothumbnail.so %{_kf5_qtplugindir}/comicbookthumbnail.so %{_kf5_qtplugindir}/djvuthumbnail.so %{_kf5_qtplugindir}/exrthumbnail.so %{_kf5_qtplugindir}/imagethumbnail.so %{_kf5_qtplugindir}/jpegthumbnail.so %{_kf5_qtplugindir}/kactivitymanagerd_fileitem_linking_plugin.so %{_kf5_qtplugindir}/kfileaudiopreview.so %{_kf5_qtplugindir}/libkio_about.so %{_kf5_qtplugindir}/kio_activities.so %{_kf5_qtplugindir}/kritathumbnail.so %{_kf5_qtplugindir}/libkmanpart.so %{_kf5_qtplugindir}/svgthumbnail.so %{_kf5_qtplugindir}/textthumbnail.so %{_kf5_qtplugindir}/windowsexethumbnail.so %{_kf5_qtplugindir}/windowsimagethumbnail.so %{_datadir}/kio_docfilter/ %{_datadir}/kio_bookmarks/ %dir %{_datadir}/konqsidebartng/ %dir %{_datadir}/konqsidebartng/virtual_folders/ %dir %{_datadir}/konqsidebartng/virtual_folders/remote/ %{_datadir}/konqsidebartng/virtual_folders/remote/virtualfolder_network.desktop %dir %{_datadir}/konqueror/ %dir %{_datadir}/konqueror/dirtree/ %dir %{_datadir}/konqueror/dirtree/remote/ %{_datadir}/konqueror/dirtree/remote/mtp-network.desktop %{_datadir}/konqueror/dirtree/remote/smb-network.desktop %{_datadir}/remoteview/ %{_kf5_datadir}/solid/actions/solid_mtp.desktop %{_kf5_datadir}/kservices5/*.protocol %{_kf5_datadir}/kservices5/*.desktop %{_kf5_datadir}/kservicetypes5/thumbcreator.desktop %{_datadir}/dbus-1/interfaces/kf5_org.kde.network.kioslavenotifier.xml %{_datadir}/mime/packages/kf5_network.xml %{_datadir}/config.kcfg/jpegcreatorsettings5.kcfg %if 0%{?htmlthumbnail} %files htmlthumbnail %{_kf5_qtplugindir}/htmlthumbnail.so %endif %files devel %{_kf5_includedir}/*.h # no soname symlink? --rex #{_kf5_libdir}/libkioarchive.so %{_kf5_libdir}/cmake/KioArchive/ %dir %{_datadir}/kio_info/ # perl deps %{_datadir}/kio_info/kde-info2html* %changelog * Sat Sep 29 2018 Tomas Miljenović - 18.04.3-2.1.TMM - Change 'Recommends: qt5-qtimageformats' to 'Requires: qt5-qtimageformats' * 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