|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
|
|
|
|
|
Name: dolphin
|
|
|
|
|
Summary: KDE File Manager
|
|
|
|
|
Version: 16.12.3
|
|
|
|
|
Version: 17.04.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
@ -23,27 +23,29 @@ URL: https://cgit.kde.org/%{name}.git/
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
|
BuildRequires: kf5-kdoctools-devel
|
|
|
|
|
BuildRequires: kf5-kinit-devel
|
|
|
|
|
BuildRequires: kf5-kcmutils-devel
|
|
|
|
|
BuildRequires: kf5-knewstuff-devel
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel
|
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
|
BuildRequires: kf5-kdbusaddons-devel
|
|
|
|
|
BuildRequires: kf5-kbookmarks-devel
|
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
|
|
|
|
BuildRequires: kf5-kio-devel
|
|
|
|
|
BuildRequires: kf5-kparts-devel
|
|
|
|
|
BuildRequires: kf5-solid-devel
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel
|
|
|
|
|
BuildRequires: kf5-kcompletion-devel
|
|
|
|
|
BuildRequires: kf5-ktexteditor-devel
|
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
|
|
|
BuildRequires: kf5-knotifications-devel
|
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
|
BuildRequires: cmake(KF5Init)
|
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
|
BuildRequires: cmake(KF5Bookmarks)
|
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
|
BuildRequires: cmake(KF5Parts)
|
|
|
|
|
BuildRequires: cmake(KF5Solid)
|
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
|
|
|
|
|
|
BuildRequires: phonon-qt5-devel
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
|
BuildRequires: kf5-kactivities-devel
|
|
|
|
@ -52,20 +54,26 @@ BuildRequires: kf5-kfilemetadata-devel
|
|
|
|
|
BuildRequires: baloo-widgets-devel >= %{majmin_ver}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: phonon-qt5-devel
|
|
|
|
|
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
|
BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
|
# for %%check
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
%{?kf5_kinit_requires}
|
|
|
|
|
|
|
|
|
|
Recommends: kio-extras%{?_isa}
|
|
|
|
|
|
|
|
|
|
# translations moved here
|
|
|
|
|
Conflicts: kde-l10n < 17.03
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
Summary: Dolphin runtime libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
%description libs
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
@ -95,19 +103,19 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%find_lang dolphin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml ||:
|
|
|
|
|
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop ||:
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
|
export CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
|
#dbus-launch --exit-with-session \
|
|
|
|
|
xvfb-run -a \
|
|
|
|
|
make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
|
update-desktop-database -q &> /dev/null ||:
|
|
|
|
|
|
|
|
|
@ -116,7 +124,7 @@ if [ $1 -eq 0 ] ; then
|
|
|
|
|
update-desktop-database -q &> /dev/null ||:
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%files -f dolphin.lang
|
|
|
|
|
%license COPYING*
|
|
|
|
|
%doc README
|
|
|
|
|
%{_kf5_bindir}/%{name}
|
|
|
|
@ -131,7 +139,16 @@ fi
|
|
|
|
|
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
|
|
|
|
|
%{_kf5_datadir}/kservicetypes5/fileviewversioncontrolplugin.desktop
|
|
|
|
|
%{_kf5_datadir}/kxmlgui5/%{name}/
|
|
|
|
|
%lang(ca) %{_kf5_docdir}/HTML/ca/%{name}/
|
|
|
|
|
%lang(de) %{_kf5_docdir}/HTML/de/%{name}/
|
|
|
|
|
%lang(en) %{_kf5_docdir}/HTML/en/%{name}/
|
|
|
|
|
%lang(es) %{_kf5_docdir}/HTML/es/%{name}/
|
|
|
|
|
%lang(it) %{_kf5_docdir}/HTML/it/%{name}/
|
|
|
|
|
%lang(nl) %{_kf5_docdir}/HTML/nl/%{name}/
|
|
|
|
|
%lang(pt_BR) %{_kf5_docdir}/HTML/pt_BR/%{name}/
|
|
|
|
|
%lang(sr) %{_kf5_docdir}/HTML/sr/%{name}/
|
|
|
|
|
%lang(sv) %{_kf5_docdir}/HTML/sv/%{name}/
|
|
|
|
|
%lang(uk) %{_kf5_docdir}/HTML/uk/%{name}/
|
|
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
@ -153,6 +170,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.0-1
|
|
|
|
|
- 17.04.0, +translations, cmake-style kf5 deps
|
|
|
|
|
|
|
|
|
|
* Wed Mar 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.3-1
|
|
|
|
|
- 16.12.3
|
|
|
|
|
|
|
|
|
|