|
|
|
@ -22,8 +22,9 @@ URL: https://cgit.kde.org/%{name}.git/
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# for %%check
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
@ -47,6 +48,7 @@ BuildRequires: cmake(KF5Crash)
|
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
|
|
|
|
|
|
BuildRequires: phonon-qt5-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
|
BuildRequires: kf5-kactivities-devel
|
|
|
|
@ -57,8 +59,7 @@ BuildRequires: baloo-widgets-devel >= %{majmin_ver}
|
|
|
|
|
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
|
BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
|
# for %%check
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: rubygem(test-unit)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
@ -104,7 +105,7 @@ popd
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%find_lang dolphin --with-html
|
|
|
|
|
%find_lang dolphin --all-name --with-html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -120,10 +121,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
|
|
|
|
|
%files -f dolphin.lang
|
|
|
|
|
%license COPYING*
|
|
|
|
|
%doc README
|
|
|
|
|
%{_kf5_sysconfdir}/xdg/dolphin.*
|
|
|
|
|
%{_kf5_datadir}/qlogging-categories5/dolphin.*
|
|
|
|
|
%{_kf5_bindir}/dolphin
|
|
|
|
|
%{_kf5_bindir}/servicemenuinstallation
|
|
|
|
|
%{_kf5_bindir}/servicemenudeinstallation
|
|
|
|
|
%{_kf5_bindir}/servicemenuinstaller
|
|
|
|
|
%{_sysconfdir}/xdg/servicemenu.knsrc
|
|
|
|
|
%{_kf5_libdir}/libkdeinit5_dolphin.so
|
|
|
|
|
%{_kf5_datadir}/kservices5/kcmdolphin*.desktop
|
|
|
|
@ -131,6 +131,8 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
|
|
|
|
|
%{_datadir}/dbus-1/services/org.kde.dolphin.FileManager1.service
|
|
|
|
|
%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml
|
|
|
|
|
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
|
|
|
|
|
%dir %{_kf5_datadir}/kglobalaccel/
|
|
|
|
|
%{_kf5_datadir}/kglobalaccel/org.kde.dolphin.desktop
|
|
|
|
|
%{_kf5_datadir}/kservicetypes5/fileviewversioncontrolplugin.desktop
|
|
|
|
|
#{_kf5_datadir}/kxmlgui5/%{name}/
|
|
|
|
|
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/dolphin/
|
|
|
|
|