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