introducts hard qtwebengine dep, to limit archs
epel9
Rex Dieter 5 years ago
parent f16e4b0a75
commit 351faa8d76

@ -13,6 +13,9 @@ URL: https://cgit.kde.org/%{name}.git
%endif %endif
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: intltool BuildRequires: intltool
%global majmin_ver %(echo %{version} | cut -d. -f1,2) %global majmin_ver %(echo %{version} | cut -d. -f1,2)
@ -21,8 +24,11 @@ BuildRequires: kf5-kdeclarative-devel
BuildRequires: kf5-ki18n-devel BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kio-devel BuildRequires: kf5-kio-devel
BuildRequires: kf5-rpm-macros BuildRequires: kf5-rpm-macros
BuildRequires: pkgconfig(libaccounts-glib) BuildRequires: pkgconfig(libaccounts-glib)
BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(QtWebEngine)
Requires: signon-ui Requires: signon-ui
@ -60,8 +66,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/ %{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/
%dir %{_qt5_plugindir}/kaccounts/ %dir %{_qt5_plugindir}/kaccounts/
%dir %{_qt5_plugindir}/kaccounts/ui/ %dir %{_qt5_plugindir}/kaccounts/ui/
%{_qt5_plugindir}/kaccounts/ui/nextcloud_plugin_kaccounts.so
%{_datadir}/accounts/services/kde/
%{_qt5_plugindir}/kaccounts/ui/owncloud_plugin_kaccounts.so %{_qt5_plugindir}/kaccounts/ui/owncloud_plugin_kaccounts.so
%{_kf5_metainfodir}/org.kde.kaccounts.owncloud.appdata.xml %{_kf5_metainfodir}/org.kde.kaccounts.owncloud.appdata.xml
%{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.nextcloud/
%{_kf5_metainfodir}/org.kde.kaccounts.nextcloud.appdata.xml
%changelog %changelog

Loading…
Cancel
Save