17.04.0, +translations, cmake-style kf5 deps

epel9
Rex Dieter 8 years ago
parent c3b54f68f3
commit 28066a6dc2

4
.gitignore vendored

@ -1,3 +1 @@
/dolphin-16.12.1.tar.xz /dolphin-17.04.0.tar.xz
/dolphin-16.12.2.tar.xz
/dolphin-16.12.3.tar.xz

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

@ -1 +1 @@
SHA512 (dolphin-16.12.3.tar.xz) = 99a6f35678918dffa7a55b453705186a92bf1b69776a7b80ef12553489e258f5776a5d7b2a5dd16cbdb2e6772a2a122fe10e74afb6233e7a939f8f925e1d8736 SHA512 (dolphin-17.04.0.tar.xz) = dc5fbd343e5f8f43694d6c024f72c00a9fe3274f9b718c2c9d11b8ee36001a85162e109c3c71cc5c1b4dbf8746fdd4076f32f6732ebfc546d4c862568e4f6435

Loading…
Cancel
Save