1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust |
3 |
# This package is part of the KDE Stack. |
4 |
# |
5 |
|
6 |
%define rel 1 |
7 |
%define with_otr 0 |
8 |
|
9 |
Name: kopete |
10 |
Summary: KDE Internet Messenger |
11 |
Group: Networking/Instant messaging |
12 |
URL: http://www.kde.org/applications/internet/kopete/ |
13 |
Version: 4.12.2 |
14 |
Release: %mkrel %{rel} |
15 |
Epoch: 3 |
16 |
License: GPLv2 LGPLv2 GFDL |
17 |
Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
18 |
# fwang: Patch from kde bug tracker #318825 |
19 |
#Patch0: kopete-4.10.97-mediastreamer-2.9.0.patch |
20 |
|
21 |
BuildRequires: kdepimlibs4-devel >= 2:%{version} |
22 |
BuildRequires: pkgconfig(ortp) |
23 |
BuildRequires: pkgconfig(libidn) |
24 |
BuildRequires: pkgconfig(libxslt) |
25 |
%if %with_otr |
26 |
# Comment out the build with libotr due to libotr updated to 5.0 see kde #306276 |
27 |
BuildRequires: pkgconfig(libotr) |
28 |
%endif |
29 |
BuildRequires: pkgconfig(libmsn) |
30 |
BuildRequires: pkgconfig(linphone) |
31 |
BuildRequires: pkgconfig(meanwhile) |
32 |
BuildRequires: pkgconfig(libgadu) |
33 |
BuildRequires: pkgconfig(libv4l2) |
34 |
BuildRequires: pkgconfig(qimageblitz) |
35 |
BuildRequires: jasper-devel |
36 |
BuildRequires: expat-devel |
37 |
BuildRequires: jsoncpp-devel |
38 |
BuildRequires: srtp >= 1.4.5 |
39 |
|
40 |
|
41 |
Conflicts: kdenetwork4-core < 3:4.5.72 |
42 |
Conflicts: kdenetwork4-devel < 3:4.6.95 |
43 |
Requires: akonadi >= 1:1.1.95 |
44 |
Requires: qca2-plugin-openssl-%{_lib} |
45 |
Requires: kdepimlibs4-core >= 2:%{version} |
46 |
Requires: jasper |
47 |
Suggests: kopete-handbook |
48 |
|
49 |
|
50 |
%description |
51 |
Kopete is a flexible and extendable multiple protocol instant messaging |
52 |
system designed as a plugin-based system. |
53 |
|
54 |
All protocols are plugins and allow modular installment, configuration, |
55 |
and usage without the main application knowing anything about the plugin |
56 |
being loaded. |
57 |
|
58 |
The goal of Kopete is to provide users with a standard and easy to use |
59 |
interface for all of their instant messaging systems, but at the same |
60 |
time also providing developers with the ease of writing plugins to support |
61 |
new protocols. |
62 |
|
63 |
The core Kopete development team provides a handful of plugins that most |
64 |
users can use, in addition to templates for new developers to base a plugin |
65 |
off of. |
66 |
|
67 |
%files |
68 |
%{_kde_appsdir}/kconf_update/kopete-* |
69 |
%{_kde_bindir}/googletalk-call |
70 |
%{_kde_bindir}/kopete |
71 |
%{_kde_bindir}/kopete_latexconvert.sh |
72 |
%{_kde_bindir}/winpopup-install |
73 |
%{_kde_bindir}/winpopup-send |
74 |
%{_kde_libdir}/kde4/kcm_kopete_* |
75 |
%{_kde_libdir}/kde4/kopete_* |
76 |
%{_kde_libdir}/libqgroupwise.so |
77 |
%{_kde_libdir}/kde4/libchattexteditpart.so |
78 |
%{_kde_libdir}/kde4/plugins/accessible/chatwindowaccessiblewidgetfactory.so |
79 |
%{_kde_applicationsdir}/kopete.desktop |
80 |
%{_kde_datadir}/config/kopeterc |
81 |
%{_kde_datadir}/config.kcfg/historyconfig.kcfg |
82 |
%{_kde_datadir}/config.kcfg/kopeteappearancesettings.kcfg |
83 |
%{_kde_datadir}/config.kcfg/kopetebehaviorsettings.kcfg |
84 |
%{_kde_datadir}/config.kcfg/latexconfig.kcfg |
85 |
%{_kde_datadir}/config.kcfg/nowlisteningconfig.kcfg |
86 |
%{_kde_datadir}/config.kcfg/webpresenceconfig.kcfg |
87 |
%{_kde_datadir}/config.kcfg/translatorconfig.kcfg |
88 |
%{_kde_datadir}/config.kcfg/kopetestatussettings.kcfg |
89 |
%if %with_otr |
90 |
%{_kde_datadir}/config.kcfg/kopete_otr.kcfg |
91 |
%{_kde_appsdir}/kopete_otr |
92 |
%{_kde_iconsdir}/*/*/actions/mail-encrypt.* |
93 |
%{_kde_iconsdir}/*/*/status/object-locked-finished.* |
94 |
%{_kde_iconsdir}/*/*/status/object-locked-unverified.* |
95 |
%{_kde_iconsdir}/*/*/status/object-locked-verified.* |
96 |
%endif |
97 |
%{_datadir}/dbus-1/interfaces/org.kde.Kopete.xml |
98 |
%{_datadir}/dbus-1/interfaces/org.kde.kopete.Client.xml |
99 |
%{_datadir}/dbus-1/interfaces/org.kde.kopete.Statistics.xml |
100 |
%{_kde_services}/aim.protocol |
101 |
%{_kde_services}/chatwindow.desktop |
102 |
%{_kde_services}/emailwindow.desktop |
103 |
%{_kde_services}/kconfiguredialog/kopete_* |
104 |
%{_kde_services}/kopete_* |
105 |
%{_kde_services}/xmpp.protocol |
106 |
%{_kde_services}/callto.protocol |
107 |
%{_kde_services}/skype.protocol |
108 |
%{_kde_services}/tel.protocol |
109 |
%{_kde_servicetypes}/kopete* |
110 |
%{_kde_datadir}/sounds/Kopete_Event.ogg |
111 |
%{_kde_datadir}/sounds/Kopete_Received.ogg |
112 |
%{_kde_datadir}/sounds/Kopete_Sent.ogg |
113 |
%{_kde_datadir}/sounds/Kopete_User_is_Online.ogg |
114 |
%{_kde_appsdir}/kopete |
115 |
%{_kde_appsdir}/kopete_contactnotes |
116 |
%{_kde_appsdir}/kopete_history |
117 |
%{_kde_appsdir}/kopete_jabber |
118 |
%{_kde_appsdir}/kopete_wlm |
119 |
%{_kde_appsdir}/kopete_privacy |
120 |
%{_kde_appsdir}/kopete_statistics |
121 |
%{_kde_appsdir}/kopete_translator |
122 |
%{_kde_appsdir}/kopete_yahoo |
123 |
%{_kde_appsdir}/kopete_groupwise |
124 |
%{_kde_appsdir}/kopete_skype |
125 |
%{_kde_appsdir}/kopeterichtexteditpart |
126 |
%{_kde_appsdir}/kopete_history2/history2chatui.rc |
127 |
%{_kde_appsdir}/kopete_history2/history2ui.rc |
128 |
%{_kde_iconsdir}/*/*/actions/account_offline_overlay.* |
129 |
%{_kde_iconsdir}/*/*/actions/contact_away_overlay.* |
130 |
%{_kde_iconsdir}/*/*/actions/contact_busy_overlay.* |
131 |
%{_kde_iconsdir}/*/*/actions/contact_food_overlay.* |
132 |
%{_kde_iconsdir}/*/*/actions/contact_invisible_overlay.* |
133 |
%{_kde_iconsdir}/*/*/actions/contact_phone_overlay.* |
134 |
%{_kde_iconsdir}/*/*/actions/contact_xa_overlay.* |
135 |
%{_kde_iconsdir}/*/*/actions/emoticon.* |
136 |
%{_kde_iconsdir}/*/*/actions/im-status-message-edit.* |
137 |
%{_kde_iconsdir}/*/*/actions/metacontact_unknown.* |
138 |
%{_kde_iconsdir}/*/*/actions/newmessage.* |
139 |
%{_kde_iconsdir}/*/*/actions/status_unknown_overlay.* |
140 |
%{_kde_iconsdir}/*/*/actions/status_unknown.* |
141 |
%{_kde_iconsdir}/*/*/actions/view-user-offline-kopete.* |
142 |
%{_kde_iconsdir}/*/*/actions/voicecall.* |
143 |
%{_kde_iconsdir}/*/*/actions/webcamreceive.* |
144 |
%{_kde_iconsdir}/*/*/actions/webcamsend.* |
145 |
%{_kde_iconsdir}/*/*/apps/kopete-offline.* |
146 |
%{_kde_iconsdir}/*/*/apps/kopete.* |
147 |
%{_kde_datadir}/config.kcfg/urlpicpreview.kcfg |
148 |
%{_kde_libdir}/mozilla/plugins/skypebuttons.so |
149 |
%{_kde_datadir}/config.kcfg/history2config.kcfg |
150 |
%exclude %{_kde_libdir}/kde4/kcm_kopete_latex.* |
151 |
%exclude %{_kde_libdir}/kde4/kopete_latex.* |
152 |
%exclude %{_kde_datadir}/kde4/services/kopete_latex.desktop |
153 |
%exclude %{_kde_datadir}/config.kcfg/latexconfig.kcfg |
154 |
%exclude %{_kde_bindir}/kopete_latexconvert.sh |
155 |
%exclude %{_kde_datadir}/kde4/services/kconfiguredialog/kopete_latex_config.desktop |
156 |
%exclude %{_kde_appsdir}/kopete/icons/oxygen/32x32/apps/latex.png |
157 |
|
158 |
#------------------------------------------------------------------------------ |
159 |
|
160 |
%package -n kopete-handbook |
161 |
Summary: Kopete Handbook |
162 |
Conflicts: kopete < 3:4.7.1 |
163 |
Requires: kopete >= %{epoch}:%{version}-%{release} |
164 |
BuildArch: noarch |
165 |
Group: Documentation |
166 |
|
167 |
%description -n kopete-handbook |
168 |
This package provides kopete handbook |
169 |
|
170 |
%files -n kopete-handbook |
171 |
%doc %{_kde_docdir}/HTML/en/kopete |
172 |
|
173 |
#------------------------------------------------------------------------------ |
174 |
|
175 |
%package -n kopete-latex |
176 |
Group: Graphical desktop/KDE |
177 |
Summary: Kopete latex plugin for writing and reading mesages in latex |
178 |
Requires: kopete = %{epoch}:%{version} |
179 |
Requires: imagemagick |
180 |
Obsoletes: kopete-kopete-latex < 3:4.7.1 |
181 |
|
182 |
%description -n kopete-latex |
183 |
Kopete latex plugin for writing and reading messages in latex. |
184 |
|
185 |
%files -n kopete-latex |
186 |
%{_kde_appsdir}/kopete_latex |
187 |
%{_kde_libdir}/kde4/kcm_kopete_latex.* |
188 |
%{_kde_libdir}/kde4/kopete_latex.* |
189 |
%{_kde_services}/kopete_latex.desktop |
190 |
%{_kde_datadir}/config.kcfg/latexconfig.kcfg |
191 |
%{_kde_bindir}/kopete_latexconvert.sh |
192 |
%{_kde_services}/kconfiguredialog/kopete_latex_config.desktop |
193 |
%{_kde_appsdir}/kopete/icons/oxygen/32x32/apps/latex.png |
194 |
|
195 |
#------------------------------------------------------------------------------ |
196 |
|
197 |
%define major_kopetecontactlist 1 |
198 |
%define libkopetecontactlist %mklibname kopetecontactlist %{major_kopetecontactlist} |
199 |
|
200 |
%package -n %libkopetecontactlist |
201 |
Summary: Runtime library for Kopete |
202 |
Group: System/Libraries |
203 |
|
204 |
%description -n %libkopetecontactlist |
205 |
Runtime library for Kopete. |
206 |
|
207 |
%files -n %libkopetecontactlist |
208 |
%{_kde_libdir}/libkopetecontactlist.so.%{major_kopetecontactlist}* |
209 |
|
210 |
#------------------------------------------------------------------------------ |
211 |
|
212 |
%define major_kyahoo 1 |
213 |
%define libkyahoo %mklibname kyahoo %{major_kyahoo} |
214 |
|
215 |
%package -n %libkyahoo |
216 |
Summary: Runtime library for Kopete |
217 |
Group: System/Libraries |
218 |
|
219 |
%description -n %libkyahoo |
220 |
Runtime library for Kopete providing support for the Yahoo Instant Messenger |
221 |
protocol. |
222 |
|
223 |
%files -n %libkyahoo |
224 |
%{_kde_libdir}/libkyahoo.so.%{major_kyahoo}* |
225 |
|
226 |
#------------------------------------------------------------------------------ |
227 |
|
228 |
%define major_kopete_videodevice 4 |
229 |
%define libkopete_videodevice %mklibname kopete_videodevice %{major_kopete_videodevice} |
230 |
|
231 |
%package -n %libkopete_videodevice |
232 |
Summary: Runtime Library for Kopete |
233 |
Group: System/Libraries |
234 |
|
235 |
%description -n %libkopete_videodevice |
236 |
Runtime Library for Kopete providing video support. |
237 |
|
238 |
%files -n %libkopete_videodevice |
239 |
%{_kde_libdir}/libkopete_videodevice.so.%{major_kopete_videodevice}* |
240 |
|
241 |
#------------------------------------------------------------------------------ |
242 |
|
243 |
%define major_kopeteaddaccountwizard 1 |
244 |
%define libkopeteaddaccountwizard %mklibname kopeteaddaccountwizard %{major_kopeteaddaccountwizard} |
245 |
|
246 |
%package -n %libkopeteaddaccountwizard |
247 |
Summary: Runtime library for Kopete |
248 |
Group: System/Libraries |
249 |
|
250 |
%description -n %libkopeteaddaccountwizard |
251 |
Runtime library for Kopete. |
252 |
|
253 |
%files -n %libkopeteaddaccountwizard |
254 |
%{_kde_libdir}/libkopeteaddaccountwizard.so.%{major_kopeteaddaccountwizard}* |
255 |
|
256 |
#------------------------------------------------------------------------------ |
257 |
|
258 |
%define major_kopete 4 |
259 |
%define libkopete %mklibname kopete %{major_kopete} |
260 |
|
261 |
%package -n %libkopete |
262 |
Summary: Runtime library for Kopete |
263 |
Group: System/Libraries |
264 |
|
265 |
%description -n %libkopete |
266 |
Runtime library for Kopete |
267 |
|
268 |
%files -n %libkopete |
269 |
%{_kde_libdir}/libkopete.so.%{major_kopete}* |
270 |
|
271 |
#------------------------------------------------------------------------------ |
272 |
|
273 |
%define major_kopeteprivacy 1 |
274 |
%define libkopeteprivacy %mklibname kopeteprivacy %{major_kopeteprivacy} |
275 |
|
276 |
%package -n %libkopeteprivacy |
277 |
Summary: Runtime library for Kopete |
278 |
Group: System/Libraries |
279 |
|
280 |
%description -n %libkopeteprivacy |
281 |
Runtime library for Kopete. |
282 |
|
283 |
%files -n %libkopeteprivacy |
284 |
%{_kde_libdir}/libkopeteprivacy.so.%{major_kopeteprivacy}* |
285 |
|
286 |
#------------------------------------------------------------------------------ |
287 |
|
288 |
%define major_kopetechatwindow_shared 1 |
289 |
%define libkopetechatwindow_shared %mklibname kopetechatwindow_shared %{major_kopetechatwindow_shared} |
290 |
|
291 |
%package -n %libkopetechatwindow_shared |
292 |
Summary: Runtime library for Kopete |
293 |
Group: System/Libraries |
294 |
|
295 |
%description -n %libkopetechatwindow_shared |
296 |
Runtime library for Kopete. |
297 |
|
298 |
%files -n %libkopetechatwindow_shared |
299 |
%{_kde_libdir}/libkopetechatwindow_shared.so.%{major_kopetechatwindow_shared}* |
300 |
|
301 |
|
302 |
#------------------------------------------------------------------------------ |
303 |
%if %with_otr |
304 |
%define major_kopete_otr_shared 1 |
305 |
%define libkopete_otr_shared %mklibname kopete_otr_shared %{major_kopete_otr_shared} |
306 |
|
307 |
%package -n %libkopete_otr_shared |
308 |
Summary: Runtime library for Kopete |
309 |
Group: System/Libraries |
310 |
|
311 |
%description -n %libkopete_otr_shared |
312 |
Runtime library for Kopete. |
313 |
|
314 |
%files -n %libkopete_otr_shared |
315 |
%{_kde_libdir}/libkopete_otr_shared.so.%{major_kopete_otr_shared}* |
316 |
%endif |
317 |
|
318 |
#------------------------------------------------------------------------------ |
319 |
|
320 |
%define major_kopetestatusmenu 1 |
321 |
%define libkopetestatusmenu %mklibname kopetestatusmenu %{major_kopetestatusmenu} |
322 |
|
323 |
%package -n %libkopetestatusmenu |
324 |
Summary: Runtime library for Kopete |
325 |
Group: System/Libraries |
326 |
|
327 |
%description -n %libkopetestatusmenu |
328 |
Runtime library for Kopete. |
329 |
|
330 |
%files -n %libkopetestatusmenu |
331 |
%{_kde_libdir}/libkopetestatusmenu.so.%{major_kopetestatusmenu}* |
332 |
|
333 |
#------------------------------------------------------------------------------ |
334 |
|
335 |
%define major_kopete_oscar 4 |
336 |
%define libkopete_oscar %mklibname kopete_oscar %{major_kopete_oscar} |
337 |
|
338 |
%package -n %libkopete_oscar |
339 |
Summary: KDE Runtime library for Kopete |
340 |
Group: System/Libraries |
341 |
|
342 |
%description -n %libkopete_oscar |
343 |
KDE Runtime library for Kopete providing support for the OSCAR (Open System for |
344 |
Communication in Realtime) protocol. |
345 |
|
346 |
%files -n %libkopete_oscar |
347 |
%{_kde_libdir}/libkopete_oscar.so.%{major_kopete_oscar}* |
348 |
|
349 |
#------------------------------------------------------------------------------ |
350 |
|
351 |
%define major_liboscar 1 |
352 |
%define liboscar %mklibname oscar %{major_liboscar} |
353 |
|
354 |
%package -n %liboscar |
355 |
Summary: Runtime library providing OSCAR protocol support |
356 |
Group: System/Libraries |
357 |
|
358 |
%description -n %liboscar |
359 |
Runtime library providing support for the OSCAR (Open System for Communication |
360 |
in Realtime) protocol. |
361 |
|
362 |
%files -n %liboscar |
363 |
%{_kde_libdir}/liboscar.so.%{major_liboscar}* |
364 |
|
365 |
#------------------------------------------------------------------------------ |
366 |
|
367 |
%define major_kopeteidentity 1 |
368 |
%define libkopeteidentity %mklibname kopeteidentity %{major_kopeteidentity} |
369 |
|
370 |
%package -n %libkopeteidentity |
371 |
Summary: Runtime library for Kopete |
372 |
Group: System/Libraries |
373 |
|
374 |
%description -n %libkopeteidentity |
375 |
Runtime library for Kopete |
376 |
|
377 |
%files -n %libkopeteidentity |
378 |
%{_kde_libdir}/libkopeteidentity.so.%{major_kopeteidentity}* |
379 |
|
380 |
|
381 |
|
382 |
#------------------------------------------------------------------------------ |
383 |
|
384 |
%package devel |
385 |
Summary: Devel stuff for %{name} |
386 |
Group: Development/KDE and Qt |
387 |
Requires: %libkopetecontactlist = %{epoch}:%{version} |
388 |
Requires: %libkyahoo = %{epoch}:%{version} |
389 |
Requires: %libkopete_videodevice = %{epoch}:%{version} |
390 |
Requires: %libkopeteaddaccountwizard = %{epoch}:%{version} |
391 |
Requires: %libkopete = %{epoch}:%{version} |
392 |
Requires: %libkopeteprivacy = %{epoch}:%{version} |
393 |
Requires: %libkopetechatwindow_shared = %{epoch}:%{version} |
394 |
Requires: %libkopete_oscar = %{epoch}:%{version} |
395 |
Requires: %liboscar = %{epoch}:%{version} |
396 |
%if %with_otr |
397 |
Requires: %libkopete_otr_shared = %{epoch}:%{version} |
398 |
%endif |
399 |
Requires: %libkopeteidentity = %{epoch}:%{version} |
400 |
Requires: %libkopetestatusmenu = %{epoch}:%{version} |
401 |
|
402 |
Conflicts: kdenetwork4-devel < 3:4.10.80 |
403 |
|
404 |
%description devel |
405 |
This package contains header files needed if you wish to build applications |
406 |
based on %{name}. |
407 |
|
408 |
%files devel |
409 |
%{_kde_libdir}/*.so |
410 |
%exclude %{_kde_libdir}/libqgroupwise.so |
411 |
%{_kde_includedir}/kopete |
412 |
|
413 |
#------------------------------------------------------------------------------ |
414 |
|
415 |
%prep |
416 |
%setup -q |
417 |
%apply_patches |
418 |
|
419 |
%build |
420 |
export LD=/usr/bin/ld.gold |
421 |
%cmake_kde4 -DKDE4_ENABLE_FINAL=OFF |
422 |
%make |
423 |
|
424 |
%install |
425 |
%makeinstall_std -C build |