1 |
%define rel 2 |
2 |
%define srcname ktp-accounts-kcm |
3 |
|
4 |
Summary: KControl Module which handles Telepathy Accounts |
5 |
Name: telepathy-kde-accounts-kcm |
6 |
Version: 18.12.3 |
7 |
Release: %mkrel %{rel} |
8 |
License: GPLv2+ |
9 |
Group: Networking/Instant messaging |
10 |
Url: https://projects.kde.org/projects/extragear/network/telepathy/ktp-accounts-kcm |
11 |
Source0: http://download.kde.org/stable/kde-telepathy/%{version}/src/%{srcname}-%{version}.tar.xz |
12 |
|
13 |
BuildRequires: telepathy-kde-common-internals-devel >= %{version} |
14 |
|
15 |
BuildRequires: kf5-macros |
16 |
BuildRequires: kcmutils-devel |
17 |
BuildRequires: kio-devel |
18 |
BuildRequires: ki18n-devel |
19 |
BuildRequires: kwidgetsaddons-devel |
20 |
BuildRequires: kcodecs-devel |
21 |
BuildRequires: kcoreaddons-devel |
22 |
BuildRequires: kconfigwidgets-devel |
23 |
BuildRequires: kiconthemes-devel |
24 |
BuildRequires: kitemviews-devel |
25 |
|
26 |
BuildRequires: intltool |
27 |
BuildRequires: kaccounts-integration-devel |
28 |
|
29 |
Requires: telepathy-kde-auth-handler = %{version} |
30 |
Obsoletes: telepathy-kde-accounts-kcm-plugins < 0.2.0-0 |
31 |
Obsoletes: telepathy-accounts-kcm < 0.2.0-0 |
32 |
|
33 |
# conflicts with mga6 packages |
34 |
Conflicts: kde-l10n-ar < 17.04.3-1 |
35 |
Conflicts: kde-l10n-bg < 17.04.3-1 |
36 |
Conflicts: kde-l10n-bs < 17.04.3-1 |
37 |
Conflicts: kde-l10n-ca < 17.04.3-1 |
38 |
Conflicts: kde-l10n-ca-valencia < 17.04.3-1 |
39 |
Conflicts: kde-l10n-cs < 17.04.3-1 |
40 |
Conflicts: kde-l10n-da < 17.04.3-1 |
41 |
Conflicts: kde-l10n-de < 17.04.3-1 |
42 |
Conflicts: kde-l10n-el < 17.04.3-1 |
43 |
Conflicts: kde-l10n-en_GB < 17.04.3-1 |
44 |
Conflicts: kde-l10n-en_US < 17.04.3-1 |
45 |
Conflicts: kde-l10n-es < 17.04.3-1 |
46 |
Conflicts: kde-l10n-et < 17.04.3-1 |
47 |
Conflicts: kde-l10n-eu < 17.04.3-1 |
48 |
Conflicts: kde-l10n-fa < 17.04.3-1 |
49 |
Conflicts: kde-l10n-fi < 17.04.3-1 |
50 |
Conflicts: kde-l10n-fr < 17.04.3-1 |
51 |
Conflicts: kde-l10n-ga < 17.04.3-1 |
52 |
Conflicts: kde-l10n-gl < 17.04.3-1 |
53 |
Conflicts: kde-l10n-he < 17.04.3-1 |
54 |
Conflicts: kde-l10n-hi < 17.04.3-1 |
55 |
Conflicts: kde-l10n-hr < 17.04.3-1 |
56 |
Conflicts: kde-l10n-hu < 17.04.3-1 |
57 |
Conflicts: kde-l10n-ia < 17.04.3-1 |
58 |
Conflicts: kde-l10n-id < 17.04.3-1 |
59 |
Conflicts: kde-l10n-is < 17.04.3-1 |
60 |
Conflicts: kde-l10n-it < 17.04.3-1 |
61 |
Conflicts: kde-l10n-ja < 17.04.3-1 |
62 |
Conflicts: kde-l10n-kk < 17.04.3-1 |
63 |
Conflicts: kde-l10n-km < 17.04.3-1 |
64 |
Conflicts: kde-l10n-ko < 17.04.3-1 |
65 |
Conflicts: kde-l10n-lt < 17.04.3-1 |
66 |
Conflicts: kde-l10n-lv < 17.04.3-1 |
67 |
Conflicts: kde-l10n-mr < 17.04.3-1 |
68 |
Conflicts: kde-l10n-nb < 17.04.3-1 |
69 |
Conflicts: kde-l10n-nds < 17.04.3-1 |
70 |
Conflicts: kde-l10n-nl < 17.04.3-1 |
71 |
Conflicts: kde-l10n-nn < 17.04.3-1 |
72 |
Conflicts: kde-l10n-pa < 17.04.3-1 |
73 |
Conflicts: kde-l10n-pl < 17.04.3-1 |
74 |
Conflicts: kde-l10n-pt < 17.04.3-1 |
75 |
Conflicts: kde-l10n-pt_BR < 17.04.3-1 |
76 |
Conflicts: kde-l10n-ro < 17.04.3-1 |
77 |
Conflicts: kde-l10n-ru < 17.04.3-1 |
78 |
Conflicts: kde-l10n-sk < 17.04.3-1 |
79 |
Conflicts: kde-l10n-sl < 17.04.3-1 |
80 |
Conflicts: kde-l10n-sr < 17.04.3-1 |
81 |
Conflicts: kde-l10n-sv < 17.04.3-1 |
82 |
Conflicts: kde-l10n-tr < 17.04.3-1 |
83 |
Conflicts: kde-l10n-ug < 17.04.3-1 |
84 |
Conflicts: kde-l10n-uk < 17.04.3-1 |
85 |
Conflicts: kde-l10n-wa < 17.04.3-1 |
86 |
Conflicts: kde-l10n-zh_CN < 17.04.3-1 |
87 |
Conflicts: kde-l10n-zh_TW < 17.04.3-1 |
88 |
|
89 |
%description |
90 |
This is a KControl Module which handles adding/editing/removing Telepathy |
91 |
Accounts. It interacts with any Telepathy Spec compliant AccountManager, |
92 |
such as telepathy-accountmanager-kwallet to manipulate the accounts. |
93 |
|
94 |
%files -f %name.lang |
95 |
%_qt5_plugindir/kaccounts/ui/*.so |
96 |
%_qt5_plugindir/*.so |
97 |
%_kf5_datadir/accounts/providers/kde/*.provider |
98 |
%_kf5_datadir/accounts/services/kde/*.service |
99 |
%_kf5_services/*.desktop |
100 |
%_kf5_servicetypes/ktpaccountskcminternal-accountuiplugin.desktop |
101 |
%_kf5_datadir/telepathy/profiles/*.profile |
102 |
|
103 |
#------------------------------------------------------------------------------ |
104 |
|
105 |
%define major 18 |
106 |
%define libname %mklibname ktpaccountskcminternal %{major} |
107 |
#Added on 2011/11/27 for the switch to 0.2 to match upstream name |
108 |
%define oldlibname %mklibname telepathy-accounts-kcm 4 |
109 |
|
110 |
|
111 |
%package -n %{libname} |
112 |
Summary: Library package for %{name} |
113 |
Group: System/Libraries |
114 |
%rename %{oldlibname} |
115 |
Conflicts: %{_lib}ktpaccountskcminternal16 < 17.12.0 |
116 |
|
117 |
|
118 |
%description -n %{libname} |
119 |
Library package for %{name}. |
120 |
|
121 |
%files -n %{libname} |
122 |
%{_kf5_libdir}/libktpaccountskcminternal.so.%{major}* |
123 |
%{_kf5_libdir}/libktpaccountskcminternal.so.9 |
124 |
|
125 |
#------------------------------------------------------------------------------ |
126 |
|
127 |
%prep |
128 |
%setup -q -n %{srcname}-%{version} |
129 |
%autopatch -p1 |
130 |
|
131 |
%build |
132 |
%cmake_kf5 |
133 |
%make_build |
134 |
|
135 |
%install |
136 |
%make_install -C build |
137 |
%find_lang %{name} --all-name |