blob: c05bbd4de487e6390b8dd2c8409af8c6809ed5e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
Name: kaccounts-providers
Version: 23.04.3
Release: 1
Summary: Additional service providers for KAccounts framework
License: GPLv2
URL: https://invent.kde.org/network/%{name}
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
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: intltool
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
BuildRequires: kaccounts-integration-devel >= %{majmin_ver}
BuildRequires: kf5-kdeclarative-devel
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kio-devel
BuildRequires: kf5-rpm-macros
BuildRequires: pkgconfig(libaccounts-glib)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5WebEngine)
Requires: signon-ui
# https://pagure.io/fedora-kde/SIG/issue/66
Supplements: kaccounts-integration
# switched to arch'd pkg
Obsoletes: kaccounts-providers < 15.12.0
%description
%{summary}.
%prep
%autosetup -p1
%build
%cmake_kf5
%cmake_build
%install
%cmake_install
%find_lang %{name} --all-name
%files -f %{name}.lang
%license LICENSES/*
%config %{_sysconfdir}/signon-ui/webkit-options.d/*
%{_datadir}/accounts/providers/kde/
%dir %{_kf5_datadir}/kpackage/genericqml
%{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/
%dir %{_qt5_plugindir}/kaccounts/
%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
%{_kf5_metainfodir}/org.kde.kaccounts.owncloud.appdata.xml
%{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.nextcloud/
%{_kf5_metainfodir}/org.kde.kaccounts.nextcloud.appdata.xml
%{_kf5_datadir}/icons/hicolor/*/*/*
%changelog
* Fri Jul 21 2023 lichaoran <pkwarcraft@hotmail.com> - 23.04.3-1
- Init package
|