dolphin
This commit is contained in:
6
1.md
6
1.md
@@ -247,6 +247,12 @@ libmtp
|
||||
- [x] xcursor-themes
|
||||
- [x] sfwbar
|
||||
|
||||
## VNC
|
||||
|
||||
wayvnc
|
||||
aml
|
||||
neatvnc
|
||||
|
||||
|
||||
|
||||
ps:KDE源码包 https://download.kde.org/stable/frameworks/6.22/
|
||||
|
||||
163
dolphin/dolphin.spec
Normal file
163
dolphin/dolphin.spec
Normal file
@@ -0,0 +1,163 @@
|
||||
|
||||
%define kf6_version 6.19.0
|
||||
%define plasma6_version 5.27.80
|
||||
%define qt6_version 6.9.0
|
||||
|
||||
Name: dolphin
|
||||
Version: 25.12.3
|
||||
Release: 0
|
||||
Summary: KDE File Manager
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://apps.kde.org/dolphin
|
||||
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||
|
||||
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: cmake(KF6Baloo) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6BalooWidgets) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Bookmarks) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Codecs) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6ColorScheme) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Completion) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6FileMetaData) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6GuiAddons) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Parts) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6UserFeedback) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
|
||||
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Multimedia) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6MultimediaWidgets) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
BuildRequires: cmake(packagekitqt6)
|
||||
Requires: dolphin-part = %{version}-%{release}
|
||||
Requires: kf6-baloo-kioslaves >= %{kf6_version}
|
||||
Recommends: kio-extras6
|
||||
Recommends: konsole-part
|
||||
Obsoletes: dolphin5
|
||||
Provides: dolphin-zsh-completion = %{version}
|
||||
Obsoletes: dolphin-zsh-completion < %{version}
|
||||
|
||||
%description
|
||||
This package contains the default file manager of KDE Workspaces.
|
||||
|
||||
%package part
|
||||
Summary: KDE File Manager
|
||||
Obsoletes: dolphin5-part
|
||||
%if %{with released}
|
||||
%requires_ge kf6-kio
|
||||
%endif
|
||||
|
||||
%description part
|
||||
This package contains the libraries used by Dolphin and Konqueror.
|
||||
|
||||
%package -n libdolphinvcs6
|
||||
Summary: KDE File Manager
|
||||
|
||||
%description -n libdolphinvcs6
|
||||
This package contains the libraries used by Dolphin and Konqueror.
|
||||
|
||||
%package devel
|
||||
Summary: KDE File Manager
|
||||
Requires: libdolphinvcs6 = %{version}
|
||||
Obsoletes: dolphin5-devel < %{version}
|
||||
Provides: dolphin5-devel = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains the libraries used by Dolphin and Konqueror.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
# todo: fix the name error.
|
||||
# Avoid illegal package names
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@*
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
|
||||
rm -rf $RPM_BUILD_ROOT%{_mandir}/*@*
|
||||
rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@*
|
||||
rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/en_GB
|
||||
# Use langpacks macro to auto-split translations
|
||||
%find_lang %{name} --with-qt --all-name --with-man --with-html --generate-subpackages
|
||||
|
||||
|
||||
# ZSH completion script prevents running dolphin <tab> to open the application in the selected folder
|
||||
rm %{buildroot}%{_datadir}/zsh/site-functions/_dolphin
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%ldconfig_scriptlets -n libdolphinvcs6
|
||||
%ldconfig_scriptlets part
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%doc %lang(en) %{_kf6_htmldir}/en/dolphin/
|
||||
%{_kf6_applicationsdir}/org.kde.dolphin.desktop
|
||||
%{_kf6_appstreamdir}/org.kde.dolphin.appdata.xml
|
||||
%{_kf6_bindir}/dolphin
|
||||
%{_kf6_bindir}/servicemenuinstaller
|
||||
%{_kf6_configkcfgdir}/dolphin_*.kcfg
|
||||
%{_kf6_dbusinterfacesdir}/org.freedesktop.FileManager1.xml
|
||||
%{_kf6_iconsdir}/hicolor/scalable/apps/org.kde.dolphin.svg
|
||||
%dir %{_kf6_libdir}/kconf_update_bin
|
||||
%{_kf6_libdir}/kconf_update_bin/dolphin_25.04_update_statusandlocationbarssettings
|
||||
%{_kf6_sharedir}/dbus-1/services/org.kde.dolphin.FileManager1.service
|
||||
%{_kf6_sharedir}/kconf_update/dolphin_detailsmodesettings.upd
|
||||
%{_kf6_sharedir}/kconf_update/dolphin_replace_view_mode_with_view_settings_in_toolbar.py
|
||||
%{_kf6_sharedir}/kconf_update/dolphin_replace_view_mode_with_view_settings_in_toolbar.upd
|
||||
%{_kf6_sharedir}/kconf_update/dolphin_statusandlocationbarssettings.upd
|
||||
%dir %{_kf6_sharedir}/kglobalaccel
|
||||
%{_kf6_sharedir}/kglobalaccel/org.kde.dolphin.desktop
|
||||
%{_userunitdir}/plasma-dolphin.service
|
||||
|
||||
%files part
|
||||
%{_kf6_debugdir}/dolphin.categories
|
||||
%{_kf6_knsrcfilesdir}/servicemenu.knsrc
|
||||
%{_kf6_libdir}/libdolphinprivate.so.*
|
||||
%dir %{_kf6_plugindir}/dolphin
|
||||
%dir %{_kf6_plugindir}/dolphin/kcms
|
||||
%{_kf6_plugindir}/dolphin/kcms/kcm_dolphin*.so
|
||||
%dir %{_kf6_plugindir}/kf6/kfileitemaction/
|
||||
%{_kf6_plugindir}/kf6/kfileitemaction/hidefileitemaction.so
|
||||
%{_kf6_plugindir}/kf6/kfileitemaction/movetonewfolderitemaction.so
|
||||
%{_kf6_plugindir}/kf6/kfileitemaction/setfoldericonitemaction.so
|
||||
%{_kf6_plugindir}/kf6/parts/dolphinpart.so
|
||||
%{_kf6_sharedir}/dolphin/dolphinpartactions.desktop
|
||||
%dir %{_kf6_sharedir}/dolphin
|
||||
|
||||
%files -n libdolphinvcs6
|
||||
%{_kf6_libdir}/libdolphinvcs.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/Dolphin/
|
||||
%{_includedir}/dolphin_export.h
|
||||
%{_includedir}/dolphinvcs_export.h
|
||||
%{_kf6_cmakedir}/DolphinVcs/
|
||||
%{_kf6_libdir}/libdolphinvcs.so
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user