2016-12-03 15:10:58 +01:00
|
|
|
#
|
|
|
|
# spec file for package konqueror
|
|
|
|
#
|
2017-04-12 20:44:58 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-12-03 15:10:58 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-04-15 15:28:35 +02:00
|
|
|
%bcond_without lang
|
|
|
|
|
2016-12-03 15:10:58 +01:00
|
|
|
Name: konqueror
|
2017-08-05 20:52:16 +02:00
|
|
|
Version: 17.07.90
|
2016-12-03 15:10:58 +01:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.26.0
|
2017-03-26 09:21:24 +02:00
|
|
|
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
|
2016-12-03 15:10:58 +01:00
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2016-12-08 14:56:16 +01:00
|
|
|
# It can only build on the same platforms as Qt Webengine
|
|
|
|
ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64
|
2016-12-03 15:10:58 +01:00
|
|
|
Summary: KDE Konqueror Libraries
|
2017-06-09 14:32:22 +02:00
|
|
|
# Note for legal: konqueror-17.04.2/webenginepart/autotests/webengine_testutils.h is Qt commercial OR GPL-3.0
|
|
|
|
# but it is neither built nor installed in our package.
|
2016-12-03 15:10:58 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kactivities5-devel >= 5.7.0
|
|
|
|
BuildRequires: karchive-devel >= 5.7.0
|
|
|
|
BuildRequires: kcmutils-devel >= 5.7.0
|
|
|
|
BuildRequires: kcrash-devel >= 5.7.0
|
|
|
|
BuildRequires: kded-devel >= 5.7.0
|
|
|
|
BuildRequires: kdelibs4support-devel >= 5.7.0
|
|
|
|
BuildRequires: kdesu-devel >= 5.7.0
|
|
|
|
BuildRequires: kdoctools-devel >= 5.7.0
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: khtml-devel >= 5.7.0
|
|
|
|
BuildRequires: kparts-devel >= 5.7.0
|
|
|
|
BuildRequires: libtidy-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Script) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5WebEngine) >= 5.6.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
|
2017-08-06 01:34:39 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2017-07-07 13:49:08 +02:00
|
|
|
Recommends: dolphin-part
|
2016-12-13 21:55:17 +01:00
|
|
|
Recommends: kwebkitpart
|
2016-12-03 15:10:58 +01:00
|
|
|
Obsoletes: kde-baseapps5-libkonq < %{version}
|
|
|
|
Provides: kde-baseapps5-libkonq = %{version}
|
|
|
|
Obsoletes: kde-baseapps-libkonq < %{version}
|
|
|
|
Provides: kde-baseapps-libkonq = %{version}
|
|
|
|
Obsoletes: %{name}-libkonq < %{version}
|
|
|
|
Provides: %{name}-libkonq = %{version}
|
|
|
|
Obsoletes: kdebase4-libkonq
|
2017-03-26 09:21:24 +02:00
|
|
|
Obsoletes: libKF5Konq6 < 17.04
|
|
|
|
Provides: libKF5Konq6 = 17.04
|
2017-04-20 10:49:35 +02:00
|
|
|
Recommends: %{name}-lang
|
2016-12-03 15:10:58 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the libraries used by file managers as Konqueror.
|
|
|
|
|
|
|
|
%package -n webenginepart
|
|
|
|
Summary: KDE Konqueror Libraries
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description -n webenginepart
|
|
|
|
This package contains a HTML rendering engine for Konqueror that is based on QtWebEngine.
|
|
|
|
|
|
|
|
%package -n konqueror-plugins
|
|
|
|
Summary: KDE File Manager and Browser
|
|
|
|
Group: Productivity/Networking/Web/Browsers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Conflicts: konqueror-plugins
|
|
|
|
Obsoletes: fsview5 < %{version}
|
|
|
|
Provides: fsview5 = %{version}
|
|
|
|
Obsoletes: konqueror5-plugins < %{version}
|
|
|
|
Provides: konqueror5-plugins = %{version}
|
|
|
|
|
|
|
|
%description -n konqueror-plugins
|
|
|
|
These plugins extend the functionality of Konqueror.
|
|
|
|
|
2017-03-26 09:21:24 +02:00
|
|
|
%package devel
|
2016-12-03 15:10:58 +01:00
|
|
|
Summary: KDE Base Libraries
|
2017-03-26 09:21:24 +02:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Obsoletes: kdebase4-devel
|
2016-12-03 15:10:58 +01:00
|
|
|
# FIXME 4.x variants of DBus interfaces need to go to devel package
|
|
|
|
Obsoletes: kde-baseapps5-devel < %{version}
|
|
|
|
Provides: kde-baseapps5-devel = %{version}
|
|
|
|
Obsoletes: kde-baseapps-devel < %{version}
|
|
|
|
Provides: kde-baseapps-devel = %{version}
|
2017-03-26 09:21:24 +02:00
|
|
|
Obsoletes: libkonq-devel < %{version}
|
|
|
|
Provides: libkonq-devel = %{version}
|
2016-12-03 15:10:58 +01:00
|
|
|
|
2017-03-26 09:21:24 +02:00
|
|
|
%description devel
|
|
|
|
Development package for the konqueror libraries.
|
2016-12-03 15:10:58 +01:00
|
|
|
|
2017-04-15 15:28:35 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%lang_package
|
|
|
|
%endif
|
|
|
|
|
2016-12-03 15:10:58 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/css|${CMAKE_CURRENT_SOURCE_DIR}/css ${CMAKE_BINARY_DIR}|g' settings/konqhtml/CMakeLists.txt
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:28:35 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%kf5_find_htmldocs
|
|
|
|
%endif
|
2016-12-03 15:10:58 +01:00
|
|
|
|
|
|
|
find %{buildroot} -type f -name '*filenamesearch*' -exec rm -fv {} ';'
|
|
|
|
# Needed by various other scripts, but disabled in git
|
|
|
|
cp sidebar/default_entries/home.desktop %{buildroot}%{_kf5_applicationsdir}/Home.desktop
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2017-03-26 09:21:24 +02:00
|
|
|
|
2016-12-03 15:10:58 +01:00
|
|
|
%post -n konqueror-plugins -p /sbin/ldconfig
|
|
|
|
%postun -n konqueror-plugins -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-08-06 01:34:39 +02:00
|
|
|
%doc AUTHORS COPYING*
|
|
|
|
%dir %{_kf5_appstreamdir}
|
2016-12-03 15:10:58 +01:00
|
|
|
%dir %{_kf5_configkcfgdir}
|
2017-08-06 01:34:39 +02:00
|
|
|
%dir %{_kf5_datadir}
|
2016-12-03 15:10:58 +01:00
|
|
|
%dir %{_kf5_plugindir}
|
2017-08-06 01:34:39 +02:00
|
|
|
%dir %{_kf5_servicesdir}
|
|
|
|
%dir %{_kf5_servicetypesdir}
|
2016-12-03 15:10:58 +01:00
|
|
|
%dir %{_kf5_sharedir}/kcontrol
|
2017-08-06 01:34:39 +02:00
|
|
|
%dir %{_kf5_sharedir}/kcontrol/pics
|
|
|
|
%dir %{_kf5_sharedir}/khtml
|
|
|
|
%dir %{_kf5_sharedir}/khtml/kpartplugins
|
|
|
|
%dir %{_kf5_sharedir}/kwebkitpart
|
|
|
|
%dir %{_kf5_sharedir}/kwebkitpart/kpartplugins
|
|
|
|
%{_datadir}/kcmcss/
|
|
|
|
%{_kf5_applicationsdir}/Home.desktop
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_applicationsdir}/kfmclient.desktop
|
2017-03-26 09:21:24 +02:00
|
|
|
%{_kf5_applicationsdir}/kfmclient_dir.desktop
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_applicationsdir}/kfmclient_html.desktop
|
|
|
|
%{_kf5_applicationsdir}/kfmclient_war.desktop
|
|
|
|
%{_kf5_applicationsdir}/konqbrowser.desktop
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.konqueror.appdata.xml
|
|
|
|
%{_kf5_bindir}/kfmclient
|
|
|
|
%{_kf5_bindir}/konqueror
|
2017-08-06 01:42:05 +02:00
|
|
|
%{_kf5_configdir}/konqueror.categories
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_configdir}/autostart/konqy_preload.desktop
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_configkcfgdir}/konqueror.kcfg
|
|
|
|
%{_kf5_datadir}/kbookmark/
|
2017-04-15 15:28:35 +02:00
|
|
|
%{_kf5_htmldir}/en
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/konqueror.*
|
|
|
|
%{_kf5_libdir}/libKF5Konq.so.*
|
|
|
|
%{_kf5_libdir}/libkdeinit5_kfmclient.so
|
|
|
|
%{_kf5_libdir}/libkdeinit5_konqueror.so
|
|
|
|
%{_kf5_libdir}/libkonquerorprivate.so.*
|
|
|
|
%{_kf5_plugindir}/kcm_bookmarks.so
|
|
|
|
%{_kf5_plugindir}/kcm_konq.so
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_plugindir}/kcm_konqhtml.so
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_plugindir}/kcm_performance.so
|
|
|
|
%{_kf5_plugindir}/konq_aboutpage.so
|
|
|
|
%{_kf5_servicesdir}/bookmarks.desktop
|
|
|
|
%{_kf5_servicesdir}/filebehavior.desktop
|
|
|
|
%{_kf5_servicesdir}/kcmkonqyperformance.desktop
|
|
|
|
%{_kf5_servicesdir}/kcmperformance.desktop
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_servicesdir}/khtml_*.desktop
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_servicesdir}/konq_aboutpage.desktop
|
|
|
|
%{_kf5_servicesdir}/org.kde.konqueror.desktop
|
|
|
|
%{_kf5_servicetypesdir}/konqaboutpage.desktop
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/org.kde.Konqueror.Main.xml
|
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/org.kde.Konqueror.MainWindow.xml
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_sharedir}/kcontrol/pics/onlyone.png
|
|
|
|
%{_kf5_sharedir}/kcontrol/pics/overlapping.png
|
|
|
|
%{_kf5_sharedir}/konqueror/
|
2016-12-03 15:10:58 +01:00
|
|
|
|
|
|
|
%files -n webenginepart
|
|
|
|
%defattr(-,root,root)
|
2017-08-06 01:34:39 +02:00
|
|
|
%doc COPYING*
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_libdir}/libkwebenginepartlib.so
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/webengine.*
|
|
|
|
%{_kf5_kxmlguidir}/webenginepart/
|
|
|
|
%{_kf5_plugindir}/kf5/
|
|
|
|
%{_kf5_servicesdir}/webenginepart.desktop
|
|
|
|
|
|
|
|
%files -n konqueror-plugins
|
|
|
|
%defattr(-,root,root)
|
2017-08-06 01:34:39 +02:00
|
|
|
%doc COPYING*
|
|
|
|
%dir %{_kf5_sharedir}/dolphinpart
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_bindir}/fsview
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_configdir}/translaterc
|
|
|
|
%{_kf5_configkcfgdir}/validators.kcfg
|
|
|
|
%{_kf5_iconsdir}/*/*/actions/babelfish.*
|
|
|
|
%{_kf5_iconsdir}/*/*/actions/cssvalidator.png
|
|
|
|
%{_kf5_iconsdir}/*/*/actions/htmlvalidator.*
|
|
|
|
%{_kf5_iconsdir}/*/*/actions/imagegallery.png
|
|
|
|
%{_kf5_iconsdir}/*/*/actions/validators.*
|
|
|
|
%{_kf5_iconsdir}/*/*/actions/webarchiver.png
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/fsview.png
|
|
|
|
%{_kf5_plugindir}/akregatorkonqfeedicon.so
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_plugindir}/autorefresh.so
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_plugindir}/babelfishplugin.so
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_plugindir}/dirfilterplugin.so
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_plugindir}/domtreeviewerplugin.so
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_plugindir}/fsviewpart.so
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_plugindir}/khtmlsettingsplugin.so
|
|
|
|
%{_kf5_plugindir}/kimgallery.so
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_plugindir}/konq_shellcmdplugin.so
|
|
|
|
%{_kf5_plugindir}/minitoolsplugin.so
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_plugindir}/rellinksplugin.so
|
|
|
|
%{_kf5_plugindir}/searchbarplugin.so
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_plugindir}/validatorsplugin.so
|
|
|
|
%{_kf5_plugindir}/webarchiverplugin.so
|
|
|
|
%{_kf5_plugindir}/webarchivethumbnail.so
|
|
|
|
%{_kf5_servicesdir}/fsview_part.desktop
|
|
|
|
%{_kf5_servicesdir}/webarchivethumbnail.desktop
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_sharedir}/akregator/
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_sharedir}/dolphinpart/kpartplugins/
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_sharedir}/domtreeviewer/
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_sharedir}/fsview/
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/akregator_konqfeedicon.*
|
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/autorefresh.*
|
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/khtmlsettingsplugin.*
|
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/minitoolsplugin.*
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/plugin_babelfish.*
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/plugin_domtreeviewer.*
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/plugin_rellinks.*
|
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/plugin_translator.*
|
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/plugin_validators.*
|
|
|
|
%{_kf5_sharedir}/khtml/kpartplugins/plugin_webarchiver.*
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_sharedir}/kwebkitpart/kpartplugins/akregator_konqfeedicon.*
|
|
|
|
%{_kf5_sharedir}/kwebkitpart/kpartplugins/autorefresh.*
|
|
|
|
%{_kf5_sharedir}/kwebkitpart/kpartplugins/khtmlsettingsplugin.*
|
2017-08-06 01:34:39 +02:00
|
|
|
%{_kf5_sharedir}/kwebkitpart/kpartplugins/plugin_babelfish.*
|
|
|
|
%{_kf5_sharedir}/kwebkitpart/kpartplugins/plugin_translator.*
|
|
|
|
%{_kf5_sharedir}/kwebkitpart/kpartplugins/plugin_validators.*
|
2016-12-03 15:10:58 +01:00
|
|
|
|
2017-03-26 09:21:24 +02:00
|
|
|
%files devel
|
2016-12-03 15:10:58 +01:00
|
|
|
%defattr(-,root,root)
|
2017-08-06 01:34:39 +02:00
|
|
|
%doc COPYING*
|
2016-12-03 15:10:58 +01:00
|
|
|
%{_kf5_libdir}/cmake/KF5Konq/
|
|
|
|
%{_kf5_libdir}/libKF5Konq.so
|
|
|
|
%{_kf5_includedir}/
|
|
|
|
|
2017-04-15 15:28:35 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%doc COPYING*
|
|
|
|
%endif
|
|
|
|
|
2016-12-03 15:10:58 +01:00
|
|
|
%changelog
|