diff --git a/.gitignore b/.gitignore index 69e14f7..5735048 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ -/kaccounts-providers-15.08.1.tar.xz -/kaccounts-providers-15.08.2.tar.xz -/kaccounts-providers-15.08.3.tar.xz /kaccounts-providers-15.12.0.tar.xz diff --git a/kaccounts-providers.spec b/kaccounts-providers.spec index 52134e8..ef33de5 100644 --- a/kaccounts-providers.spec +++ b/kaccounts-providers.spec @@ -1,10 +1,9 @@ -Name: kaccounts-providers +Name: kaccounts-providers Version: 15.12.0 Release: 1%{?dist} -Summary: Additional service providers for KAccounts framework -License: GPLv2 -URL: https://projects.kde.org/projects/kde/kdenetwork/kaccounts-providers -BuildArch: noarch +Summary: Additional service providers for KAccounts framework +License: GPLv2 +URL: https://projects.kde.org/kaccounts-providers %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 @@ -18,10 +17,14 @@ BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: intltool BuildRequires: kaccounts-integration-devel >= 15.08 +BuildREquires: kf5-kdeclarative-devel BuildRequires: pkgconfig(libaccounts-glib) BuildRequires: pkgconfig(Qt5Gui) -Requires: signon-ui +Requires: signon-ui%{?_isa} + +# switched to arch'd pkg +Obsoletes: kaccounts-provides < 15.12.0 %description %{summary}. @@ -33,7 +36,7 @@ Requires: signon-ui %build mkdir %{_target_platform} pushd %{_target_platform} -%{cmake} .. +%{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} @@ -45,8 +48,11 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %files %license COPYING -%{_datadir}/accounts/providers/*.provider %config %{_sysconfdir}/signon-ui/webkit-options.d/* +%{_datadir}/accounts/providers/*.provider +%dir %{_kf5_datadir}/kpackage/genericqml +%{_qt5_plugindir}/kaccounts/ui/owncloud_plugin_kaccounts.so +%{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/ %changelog