fix build, make arch'd

epel9
Rex Dieter 9 years ago
parent f349c5bb68
commit c2391a8b2a

3
.gitignore vendored

@ -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

@ -3,8 +3,7 @@ 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
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

Loading…
Cancel
Save