2015-08-07 07:51:41 +00:00
|
|
|
#
|
|
|
|
# spec file for package dolphin
|
|
|
|
#
|
2021-01-06 14:50:59 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-08-07 07:51:41 +00: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-10-12 08:43:44 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-07 07:51:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-08-11 22:52:48 +00:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 13:22:05 +00:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 12:44:24 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:44:00 +00:00
|
|
|
Name: dolphin
|
2022-05-12 11:01:41 +00:00
|
|
|
Version: 22.04.1
|
2018-11-24 23:44:00 +00:00
|
|
|
Release: 0
|
2015-08-07 07:51:41 +00:00
|
|
|
Summary: KDE File Manager
|
2018-03-10 12:10:14 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-08-07 07:51:41 +00:00
|
|
|
Group: Productivity/File utilities
|
2021-04-19 13:30:47 +00:00
|
|
|
URL: https://apps.kde.org/dolphin
|
2022-04-21 08:20:49 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 12:44:24 +00:00
|
|
|
%if %{with released}
|
2022-04-21 08:20:49 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 13:30:47 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2019-08-15 14:00:15 +00:00
|
|
|
Source3: dolphinsu.desktop
|
2015-08-07 07:51:41 +00:00
|
|
|
Patch0: dolphin-go_up.diff
|
2017-04-22 12:02:27 +00:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2021-03-28 07:26:51 +00:00
|
|
|
Patch1: 0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
|
|
|
|
BuildRequires: extra-cmake-modules
|
2020-11-21 12:57:39 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2015-08-07 07:51:41 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2021-03-28 07:26:51 +00:00
|
|
|
BuildRequires: cmake(KF5Activities)
|
2019-11-29 11:38:56 +00:00
|
|
|
BuildRequires: cmake(KF5Baloo)
|
|
|
|
BuildRequires: cmake(KF5BalooWidgets)
|
2021-03-28 07:26:51 +00:00
|
|
|
BuildRequires: cmake(KF5Bookmarks)
|
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2019-11-29 11:38:56 +00:00
|
|
|
BuildRequires: cmake(KF5Crash)
|
2021-03-28 07:26:51 +00:00
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2019-11-29 11:38:56 +00:00
|
|
|
BuildRequires: cmake(KF5FileMetaData)
|
2021-03-28 07:26:51 +00:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
2021-11-30 07:58:15 +00:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
2021-03-28 07:26:51 +00:00
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5Parts)
|
|
|
|
BuildRequires: cmake(KF5Solid)
|
|
|
|
BuildRequires: cmake(KF5TextEditor)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
2019-11-29 11:38:56 +00:00
|
|
|
BuildRequires: cmake(Phonon4Qt5)
|
2021-03-28 07:26:51 +00:00
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2017-08-11 22:52:48 +00:00
|
|
|
Requires: baloo5-kioslaves
|
|
|
|
Requires: dolphin-part = %{version}-%{release}
|
2018-11-24 23:44:00 +00:00
|
|
|
Recommends: kio-extras5
|
|
|
|
Recommends: konsole-part
|
|
|
|
Obsoletes: dolphin5
|
2015-08-07 07:51:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the default file manager of KDE Workspaces.
|
|
|
|
|
2017-07-08 12:28:16 +00:00
|
|
|
%package part
|
2015-08-07 07:51:41 +00:00
|
|
|
Summary: KDE File Manager
|
|
|
|
Group: Productivity/File utilities
|
2018-11-24 23:44:00 +00:00
|
|
|
%requires_ge kio
|
|
|
|
Obsoletes: dolphin5-part
|
2015-08-07 07:51:41 +00:00
|
|
|
|
2017-07-08 12:28:16 +00:00
|
|
|
%description part
|
2015-08-07 07:51:41 +00:00
|
|
|
This package contains the libraries used by Dolphin and Konqueror.
|
|
|
|
|
|
|
|
%package -n libdolphinvcs5
|
|
|
|
Summary: KDE File Manager
|
|
|
|
Group: Productivity/File utilities
|
|
|
|
|
|
|
|
%description -n libdolphinvcs5
|
|
|
|
This package contains the libraries used by Dolphin and Konqueror.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: KDE File Manager
|
|
|
|
Group: Productivity/File utilities
|
|
|
|
Requires: libdolphinvcs5 = %{version}
|
|
|
|
Obsoletes: dolphin5-devel < %{version}
|
|
|
|
Provides: dolphin5-devel = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the libraries used by Dolphin and Konqueror.
|
|
|
|
|
2022-01-06 12:44:24 +00:00
|
|
|
%if %{with released}
|
2017-07-12 07:10:46 +00:00
|
|
|
%package -n %{name}-part-lang
|
|
|
|
Summary: Translations for package %{name}
|
|
|
|
Group: System/Localization
|
|
|
|
Requires: %{name}-part = %{version}
|
2020-03-28 13:56:48 +00:00
|
|
|
Supplements: (bundle-lang-other and %{name}-part)
|
2017-07-12 07:10:46 +00:00
|
|
|
Provides: %{name}-lang = %{version}
|
|
|
|
Obsoletes: %{name}-lang < %{version}
|
|
|
|
Provides: %{name}-part-lang-all = %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}-part-lang
|
|
|
|
Provides translations for the "%{name}" package.
|
2017-04-15 13:27:50 +00:00
|
|
|
%endif
|
|
|
|
|
2015-08-07 07:51:41 +00:00
|
|
|
%prep
|
2020-08-03 08:29:35 +00:00
|
|
|
%autosetup -p1
|
2015-08-07 07:51:41 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-07 08:38:52 +00:00
|
|
|
%cmake_build
|
2015-08-07 07:51:41 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2022-01-06 12:44:24 +00:00
|
|
|
%if %{with released}
|
2017-04-15 13:27:50 +00:00
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-24 23:44:00 +00:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 13:27:50 +00:00
|
|
|
%endif
|
2015-08-07 07:51:41 +00:00
|
|
|
|
2019-08-15 14:00:15 +00:00
|
|
|
install -D -m 0644 %{SOURCE3} %{buildroot}%{_kf5_applicationsdir}/org.kde.dolphinsu.desktop
|
2021-07-27 09:35:36 +00:00
|
|
|
%suse_update_desktop_file org.kde.dolphin System FileManager
|
2015-08-07 07:51:41 +00:00
|
|
|
|
2017-04-20 17:45:50 +00:00
|
|
|
%post part -p /sbin/ldconfig
|
|
|
|
%postun part -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2015-08-07 07:51:41 +00:00
|
|
|
%post -n libdolphinvcs5 -p /sbin/ldconfig
|
|
|
|
%postun -n libdolphinvcs5 -p /sbin/ldconfig
|
|
|
|
|
2017-04-20 17:45:50 +00:00
|
|
|
%files
|
2018-11-24 23:44:00 +00:00
|
|
|
%license COPYING*
|
2020-07-22 19:31:45 +00:00
|
|
|
%doc README.md
|
2020-11-21 12:57:39 +00:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/dolphin/
|
2019-07-26 14:02:23 +00:00
|
|
|
%dir %{_kf5_sharedir}/kglobalaccel/
|
2017-08-05 21:39:20 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.dolphin.desktop
|
|
|
|
%{_kf5_applicationsdir}/org.kde.dolphinsu.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.dolphin.appdata.xml
|
|
|
|
%{_kf5_bindir}/dolphin
|
2019-07-26 14:02:23 +00:00
|
|
|
%{_kf5_bindir}/servicemenuinstaller
|
2017-08-11 22:52:48 +00:00
|
|
|
%{_kf5_dbusinterfacesdir}/org.freedesktop.FileManager1.xml
|
|
|
|
%{_kf5_sharedir}/dbus-1/services/org.kde.dolphin.FileManager1.service
|
2019-07-26 14:02:23 +00:00
|
|
|
%{_kf5_sharedir}/kglobalaccel/org.kde.dolphin.desktop
|
2021-03-28 07:26:51 +00:00
|
|
|
%{_userunitdir}/plasma-dolphin.service
|
2015-08-07 07:51:41 +00:00
|
|
|
|
2017-04-20 17:45:50 +00:00
|
|
|
%files part
|
2015-08-07 07:51:41 +00:00
|
|
|
%{_kf5_configkcfgdir}/dolphin_*.kcfg
|
2020-08-03 08:29:35 +00:00
|
|
|
%{_kf5_debugdir}/dolphin.categories
|
|
|
|
%{_kf5_knsrcfilesdir}/servicemenu.knsrc
|
2017-08-05 21:39:20 +00:00
|
|
|
%{_kf5_libdir}/libdolphinprivate.so.*
|
2021-11-30 07:58:15 +00:00
|
|
|
%dir %{_kf5_plugindir}/dolphin
|
|
|
|
%dir %{_kf5_plugindir}/dolphin/kcms
|
|
|
|
%{_kf5_plugindir}/dolphin/kcms/libkcm_dolphin*.so
|
2021-03-28 07:26:51 +00:00
|
|
|
%dir %{_kf5_plugindir}/kf5
|
|
|
|
%dir %{_kf5_plugindir}/kf5/parts
|
|
|
|
%{_kf5_plugindir}/kf5/parts/dolphinpart.so
|
2017-08-05 21:39:20 +00:00
|
|
|
%{_kf5_servicesdir}/dolphinpart.desktop
|
|
|
|
%{_kf5_servicesdir}/kcmdolphingeneral.desktop
|
2015-08-07 07:51:41 +00:00
|
|
|
%{_kf5_servicesdir}/kcmdolphinnavigation.desktop
|
2017-08-05 21:39:20 +00:00
|
|
|
%{_kf5_servicesdir}/kcmdolphinviewmodes.desktop
|
|
|
|
%{_kf5_servicetypesdir}/fileviewversioncontrolplugin.desktop
|
2015-08-07 07:51:41 +00:00
|
|
|
|
|
|
|
%files -n libdolphinvcs5
|
|
|
|
%{_kf5_libdir}/libdolphinvcs.so.*
|
|
|
|
|
|
|
|
%files devel
|
2017-08-05 21:39:20 +00:00
|
|
|
%{_includedir}/dolphinvcs_export.h
|
2017-08-11 22:52:48 +00:00
|
|
|
%{_kf5_cmakedir}/DolphinVcs/
|
2017-08-05 21:39:20 +00:00
|
|
|
%{_kf5_libdir}/libdolphinvcs.so
|
2015-08-07 07:51:41 +00:00
|
|
|
%{_kf5_prefix}/include/Dolphin/
|
|
|
|
%{_kf5_prefix}/include/dolphin_export.h
|
|
|
|
|
2022-01-06 12:44:24 +00:00
|
|
|
%if %{with released}
|
2017-07-08 12:28:16 +00:00
|
|
|
%files part-lang -f %{name}.lang
|
2017-07-16 09:25:55 +00:00
|
|
|
%dir %{_kf5_sharedir}/locale/fi/LC_SCRIPTS/
|
2017-07-16 09:33:50 +00:00
|
|
|
%lang(fi) %{_kf5_sharedir}/locale/fi/LC_SCRIPTS/dolphin/
|
2017-04-15 13:27:50 +00:00
|
|
|
%endif
|
|
|
|
|
2015-08-07 07:51:41 +00:00
|
|
|
%changelog
|