/
sociald.spec
609 lines (476 loc) · 19.1 KB
1
2
Name: sociald
Summary: Syncs device data from social services
3
Version: 0.2.3
4
Release: 1
5
Group: System/Libraries
6
License: LGPLv2.1
7
8
URL: https://bitbucket.org/jolla/base-sociald
Source0: %{name}-%{version}.tar.bz2
9
10
11
12
13
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(mlite5)
14
BuildRequires: pkgconfig(buteosyncfw5) >= 0.6.36
15
BuildRequires: pkgconfig(libsignon-qt5)
16
BuildRequires: pkgconfig(accounts-qt5) >= 1.13
17
BuildRequires: pkgconfig(socialcache) >= 0.0.48
18
BuildRequires: pkgconfig(libsailfishkeyprovider)
19
BuildRequires: qt5-qttools-linguist
20
BuildRequires: ssu-devel
21
Requires: buteo-syncfw-qt5-msyncd
22
23
Requires: systemd
Requires(post): systemd
24
Obsoletes: sociald-facebook-notifications
25
26
%description
27
A Buteo plugin which provides data synchronization with various social services.
28
29
30
%files
%defattr(-,root,root,-)
31
32
33
34
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/sociald-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libsociald-client.so
35
%config %{_sysconfdir}/buteo/profiles/client/sociald.xml
36
37
38
39
40
%config %{_sysconfdir}/buteo/profiles/sync/sociald.All.xml
%package facebook-calendars
Summary: Provides calendar synchronisation with Facebook
41
License: LGPLv2.1
42
43
44
45
46
47
48
49
50
Group: System/Libraries
BuildRequires: pkgconfig(libmkcal-qt5)
BuildRequires: pkgconfig(libkcalcoren-qt5)
Requires: %{name} = %{version}-%{release}
%description facebook-calendars
Provides calendar synchronisation with Facebook
%files facebook-calendars
51
52
53
54
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/facebook-calendars-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libfacebook-calendars-client.so
55
%config %{_sysconfdir}/buteo/profiles/client/facebook-calendars.xml
56
%config %{_sysconfdir}/buteo/profiles/sync/facebook.Calendars.xml
57
58
%pre facebook-calendars
59
60
rm -f /home/nemo/.cache/msyncd/sync/client/facebook-calendars.xml || :
rm -f /home/nemo/.cache/msyncd/sync/facebook.Calendars.xml || :
61
62
%post facebook-calendars
63
systemctl-user try-restart msyncd.service || :
64
65
66
67
%package facebook-contacts
Summary: Provides contact synchronisation with Facebook
68
License: LGPLv2.1
69
Group: System/Libraries
70
BuildRequires: pkgconfig(Qt5Gui)
71
72
73
74
75
76
77
78
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions)
Requires: %{name} = %{version}-%{release}
%description facebook-contacts
Provides contact synchronisation with Facebook
%files facebook-contacts
79
80
81
82
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/facebook-contacts-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libfacebook-contacts-client.so
83
%config %{_sysconfdir}/buteo/profiles/client/facebook-contacts.xml
84
%config %{_sysconfdir}/buteo/profiles/sync/facebook.Contacts.xml
85
86
%pre facebook-contacts
87
88
rm -f /home/nemo/.cache/msyncd/sync/client/facebook-contacts.xml || :
rm -f /home/nemo/.cache/msyncd/sync/facebook.Contacts.xml || :
89
90
%post facebook-contacts
91
systemctl-user try-restart msyncd.service || :
92
93
94
95
%package facebook-images
Summary: Provides image synchronisation with Facebook
96
License: LGPLv2.1
97
98
99
100
101
102
103
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description facebook-images
Provides image synchronisation with Facebook
%files facebook-images
104
105
106
107
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/facebook-images-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libfacebook-images-client.so
108
%config %{_sysconfdir}/buteo/profiles/client/facebook-images.xml
109
%config %{_sysconfdir}/buteo/profiles/sync/facebook.Images.xml
110
111
%pre facebook-images
112
113
rm -f /home/nemo/.cache/msyncd/sync/client/facebook-images.xml || :
rm -f /home/nemo/.cache/msyncd/sync/facebook.Images.xml || :
114
115
%post facebook-images
116
systemctl-user try-restart msyncd.service || :
117
118
119
120
%package facebook-signon
Summary: Provides signon credentials refreshing with Facebook
121
License: LGPLv2.1
122
123
124
125
126
127
128
129
Group: System/Libraries
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description facebook-signon
Provides signon credentials refreshing with Facebook
%files facebook-signon
130
131
132
133
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/facebook-signon-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libfacebook-signon-client.so
134
135
136
137
%config %{_sysconfdir}/buteo/profiles/client/facebook-signon.xml
%config %{_sysconfdir}/buteo/profiles/sync/facebook.Signon.xml
%pre facebook-signon
138
139
rm -f /home/nemo/.cache/msyncd/sync/client/facebook-signon.xml || :
rm -f /home/nemo/.cache/msyncd/sync/facebook.Signon.xml || :
140
141
%post facebook-signon
142
systemctl-user try-restart msyncd.service || :
143
144
145
146
147
%package google-calendars
Summary: Provides calendar synchronisation with Google
148
License: LGPLv2.1
149
150
151
152
153
154
155
156
157
Group: System/Libraries
BuildRequires: pkgconfig(libmkcal-qt5)
BuildRequires: pkgconfig(libkcalcoren-qt5)
Requires: %{name} = %{version}-%{release}
%description google-calendars
Provides calendar synchronisation with Google
%files google-calendars
158
159
160
161
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/google-calendars-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libgoogle-calendars-client.so
162
163
164
165
%config %{_sysconfdir}/buteo/profiles/client/google-calendars.xml
%config %{_sysconfdir}/buteo/profiles/sync/google.Calendars.xml
%pre google-calendars
166
167
rm -f /home/nemo/.cache/msyncd/sync/client/google-calendars.xml || :
rm -f /home/nemo/.cache/msyncd/sync/google.Calendars.xml || :
168
169
%post google-calendars
170
systemctl-user try-restart msyncd.service || :
171
172
173
174
%package google-contacts
Summary: Provides contact synchronisation with Google
175
License: LGPLv2.1
176
Group: System/Libraries
177
BuildRequires: pkgconfig(Qt5Gui)
178
BuildRequires: pkgconfig(Qt5Contacts)
179
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions) >= 0.1.58
180
181
182
183
184
185
Requires: %{name} = %{version}-%{release}
%description google-contacts
Provides contact synchronisation with Google
%files google-contacts
186
187
188
189
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/google-contacts-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libgoogle-contacts-client.so
190
191
192
193
%config %{_sysconfdir}/buteo/profiles/client/google-contacts.xml
%config %{_sysconfdir}/buteo/profiles/sync/google.Contacts.xml
%pre google-contacts
194
195
rm -f /home/nemo/.cache/msyncd/sync/client/google-contacts.xml || :
rm -f /home/nemo/.cache/msyncd/sync/google.Contacts.xml || :
196
197
%post google-contacts
198
systemctl-user try-restart msyncd.service || :
199
200
201
202
%package google-signon
Summary: Provides signon credentials refreshing with Google
203
License: LGPLv2.1
204
205
206
207
208
209
210
211
Group: System/Libraries
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description google-signon
Provides signon credentials refreshing with Google
%files google-signon
212
213
214
215
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/google-signon-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libgoogle-signon-client.so
216
217
218
219
%config %{_sysconfdir}/buteo/profiles/client/google-signon.xml
%config %{_sysconfdir}/buteo/profiles/sync/google.Signon.xml
%pre google-signon
220
221
rm -f /home/nemo/.cache/msyncd/sync/client/google-signon.xml || :
rm -f /home/nemo/.cache/msyncd/sync/google.Signon.xml || :
222
223
%post google-signon
224
systemctl-user try-restart msyncd.service || :
225
226
227
228
229
%package twitter-notifications
Summary: Provides notification synchronisation with Twitter
230
License: LGPLv2.1
231
232
233
234
235
236
237
238
239
240
241
Group: System/Libraries
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions)
BuildRequires: nemo-qml-plugin-notifications-qt5-devel
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description twitter-notifications
Provides notification synchronisation with Twitter
%files twitter-notifications
242
243
244
245
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/twitter-notifications-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libtwitter-notifications-client.so
246
247
248
%config %{_sysconfdir}/buteo/profiles/client/twitter-notifications.xml
%config %{_sysconfdir}/buteo/profiles/sync/twitter.Notifications.xml
%{_datadir}/lipstick/notificationcategories/x-nemo.social.twitter.mention.conf
249
250
%{_datadir}/lipstick/notificationcategories/x-nemo.social.twitter.retweet.conf
%{_datadir}/lipstick/notificationcategories/x-nemo.social.twitter.follower.conf
251
%{_datadir}/translations/lipstick-jolla-home-twitter-notif_eng_en.qm
252
253
%pre twitter-notifications
254
255
rm -f /home/nemo/.cache/msyncd/sync/client/twitter-notifications.xml || :
rm -f /home/nemo/.cache/msyncd/sync/twitter.Notifications.xml || :
256
257
%post twitter-notifications
258
systemctl-user try-restart msyncd.service || :
259
260
261
262
%package twitter-posts
Summary: Provides post synchronisation with Twitter
263
License: LGPLv2.1
264
265
266
267
268
269
270
271
272
273
Group: System/Libraries
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions)
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description twitter-posts
Provides post synchronisation with Twitter
%files twitter-posts
274
275
276
277
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/twitter-posts-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libtwitter-posts-client.so
278
279
280
281
282
%config %{_sysconfdir}/buteo/profiles/client/twitter-posts.xml
%config %{_sysconfdir}/buteo/profiles/sync/twitter.Posts.xml
%{_datadir}/lipstick/notificationcategories/x-nemo.social.twitter.tweet.conf
%pre twitter-posts
283
284
rm -f /home/nemo/.cache/msyncd/sync/client/twitter-posts.xml || :
rm -f /home/nemo/.cache/msyncd/sync/twitter.Posts.xml || :
285
286
%post twitter-posts
287
systemctl-user try-restart msyncd.service || :
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
%package onedrive-signon
Summary: Provides signon credentials refreshing with OneDrive
License: LGPLv2.1
Group: System/Libraries
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description onedrive-signon
Provides signon credentials refreshing with OneDrive
%files onedrive-signon
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/onedrive-signon-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libonedrive-signon-client.so
%config %{_sysconfdir}/buteo/profiles/client/onedrive-signon.xml
%config %{_sysconfdir}/buteo/profiles/sync/onedrive.Signon.xml
%pre onedrive-signon
309
310
rm -f /home/nemo/.cache/msyncd/sync/client/onedrive-signon.xml || :
rm -f /home/nemo/.cache/msyncd/sync/onedrive.Signon.xml || :
311
312
313
314
315
%post onedrive-signon
systemctl-user try-restart msyncd.service || :
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
%package vk-posts
Summary: Provides post synchronisation with VK
License: LGPLv2.1
Group: System/Libraries
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions)
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description vk-posts
Provides post synchronisation with VK
%files vk-posts
%{_datadir}/lipstick/notificationcategories/x-nemo.social.vk.statuspost.conf
#%{_datadir}/translations/lipstick-jolla-home-vk_eng_en.qm
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/vk-posts-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libvk-posts-client.so
%config %{_sysconfdir}/buteo/profiles/client/vk-posts.xml
%config %{_sysconfdir}/buteo/profiles/sync/vk.Posts.xml
%pre vk-posts
339
340
rm -f /home/nemo/.cache/msyncd/sync/client/vk-posts.xml || :
rm -f /home/nemo/.cache/msyncd/sync/vk.Posts.xml || :
341
342
343
%post vk-posts
systemctl-user restart msyncd.service || :
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
%package dropbox-images
Summary: Provides image synchronisation with Dropbox
License: LGPLv2.1
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description dropbox-images
Provides image synchronisation with Dropbox
%files dropbox-images
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/dropbox-images-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libdropbox-images-client.so
%config %{_sysconfdir}/buteo/profiles/client/dropbox-images.xml
%config %{_sysconfdir}/buteo/profiles/sync/dropbox.Images.xml
%pre dropbox-images
363
364
rm -f /home/nemo/.cache/msyncd/sync/client/dropbox-images.xml || :
rm -f /home/nemo/.cache/msyncd/sync/dropbox.Images.xml || :
365
366
367
368
%post dropbox-images
systemctl-user try-restart msyncd.service || :
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
%package onedrive-images
Summary: Provides image synchronisation with OneDrive
License: LGPLv2.1
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description onedrive-images
Provides image synchronisation with OneDrive
%files onedrive-images
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/onedrive-images-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libonedrive-images-client.so
%config %{_sysconfdir}/buteo/profiles/client/onedrive-images.xml
%config %{_sysconfdir}/buteo/profiles/sync/onedrive.Images.xml
%pre onedrive-images
387
388
rm -f /home/nemo/.cache/msyncd/sync/client/onedrive-images.xml || :
rm -f /home/nemo/.cache/msyncd/sync/onedrive.Images.xml || :
389
390
391
392
393
394
%post onedrive-images
systemctl-user try-restart msyncd.service || :
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
%package onedrive-backup
Summary: Provides backup-blob synchronization for OneDrive
License: LGPLv2.1
Group: System/Libraries
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description onedrive-backup
Provides backup-blob synchronization for OneDrive
%files onedrive-backup
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/onedrive-backup-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libonedrive-backup-client.so
%config %{_sysconfdir}/buteo/profiles/client/onedrive-backup.xml
%config %{_sysconfdir}/buteo/profiles/sync/onedrive.Backup.xml
%pre onedrive-backup
414
415
rm -f /home/nemo/.cache/msyncd/sync/client/onedrive-backup.xml || :
rm -f /home/nemo/.cache/msyncd/sync/onedrive.Backup.xml || :
416
417
418
419
%post onedrive-backup
systemctl-user try-restart msyncd.service || :
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
%package dropbox-backup
Summary: Provides backup-blob synchronization for Dropbox
License: LGPLv2.1
Group: System/Libraries
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description dropbox-backup
Provides backup-blob synchronization for Dropbox
%files dropbox-backup
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/dropbox-backup-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libdropbox-backup-client.so
%config %{_sysconfdir}/buteo/profiles/client/dropbox-backup.xml
%config %{_sysconfdir}/buteo/profiles/sync/dropbox.Backup.xml
%pre dropbox-backup
441
442
rm -f /home/nemo/.cache/msyncd/sync/client/dropbox-backup.xml || :
rm -f /home/nemo/.cache/msyncd/sync/dropbox.Backup.xml || :
443
444
445
446
447
448
%post dropbox-backup
systemctl-user try-restart msyncd.service || :
449
450
%package vk-notifications
Summary: Provides notification synchronisation with VK
451
License: LGPLv2.1
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
Group: System/Libraries
BuildRequires: nemo-qml-plugin-notifications-qt5-devel
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}
%description vk-notifications
Provides notification synchronisation with VK
%files vk-notifications
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/vk-notifications-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libvk-notifications-client.so
%config %{_sysconfdir}/buteo/profiles/client/vk-notifications.xml
%config %{_sysconfdir}/buteo/profiles/sync/vk.Notifications.xml
%{_datadir}/lipstick/notificationcategories/x-nemo.social.vk.notification.conf
%pre vk-notifications
470
471
rm -f /home/nemo/.cache/msyncd/sync/client/vk-notifications.xml || :
rm -f /home/nemo/.cache/msyncd/sync/vk.Notifications.xml || :
472
473
474
475
476
%post vk-notifications
systemctl-user restart msyncd.service || :
477
478
%package vk-calendars
Summary: Provides calendar synchronisation with VK
479
License: LGPLv2.1
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
Group: System/Libraries
BuildRequires: pkgconfig(libmkcal-qt5)
BuildRequires: pkgconfig(libkcalcoren-qt5)
Requires: %{name} = %{version}-%{release}
%description vk-calendars
Provides calendar synchronisation with VK
%files vk-calendars
#out-of-proces-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/vk-calendars-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libvk-calendars-client.so
%config %{_sysconfdir}/buteo/profiles/client/vk-calendars.xml
%config %{_sysconfdir}/buteo/profiles/sync/vk.Calendars.xml
%pre vk-calendars
497
498
rm -f /home/nemo/.cache/msyncd/sync/client/vk-calendars.xml || :
rm -f /home/nemo/.cache/msyncd/sync/vk.Calendars.xml || :
499
500
501
502
503
%post vk-calendars
systemctl-user restart msyncd.service || :
504
505
%package vk-contacts
Summary: Provides contact synchronisation with VK
506
License: LGPLv2.1
507
Group: System/Libraries
508
BuildRequires: pkgconfig(Qt5Gui)
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions)
Requires: %{name} = %{version}-%{release}
%description vk-contacts
Provides contact synchronisation with VK
%files vk-contacts
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/vk-contacts-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libvk-contacts-client.so
%config %{_sysconfdir}/buteo/profiles/client/vk-contacts.xml
%config %{_sysconfdir}/buteo/profiles/sync/vk.Contacts.xml
%pre vk-contacts
525
526
rm -f /home/nemo/.cache/msyncd/sync/client/vk-contacts.xml || :
rm -f /home/nemo/.cache/msyncd/sync/vk.Contacts.xml || :
527
528
529
530
%post vk-contacts
systemctl-user restart msyncd.service || :
531
532
533
%package vk-images
Summary: Provides image synchronisation with VK
534
License: LGPLv2.1
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description vk-images
Provides image synchronisation with VK
%files vk-images
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/vk-images-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libvk-images-client.so
%config %{_sysconfdir}/buteo/profiles/client/vk-images.xml
%config %{_sysconfdir}/buteo/profiles/sync/vk.Images.xml
%pre vk-images
550
551
rm -f /home/nemo/.cache/msyncd/sync/client/vk-images.xml || :
rm -f /home/nemo/.cache/msyncd/sync/vk.Images.xml || :
552
553
554
555
556
%post vk-images
systemctl-user restart msyncd.service || :
557
558
%package ts-devel
Summary: Translation source for sociald
559
License: LGPLv2.1
560
561
562
563
564
565
566
Group: System/Applications
%description ts-devel
Translation source for sociald
%files ts-devel
%defattr(-,root,root,-)
567
%{_datadir}/translations/source/lipstick-jolla-home-twitter-notif.ts
568
569
570
%package tests
Summary: Automatable tests for sociald
571
License: LGPLv2.1
572
Group: System/Applications
573
574
575
BuildRequires: pkgconfig(Qt5Test)
Requires: qt5-qtdeclarative-devel-tools
Requires: qt5-qtdeclarative-import-qttest
576
577
578
579
580
581
582
583
%description tests
Automatable tests for sociald
%files tests
%defattr(-,root,root,-)
/opt/tests/sociald/*
584
585
586
587
588
%prep
%setup -q -n %{name}-%{version}
%build
589
%qmake5 "DEFINES+=OUT_OF_PROCESS_PLUGIN"
590
make %{_smp_mflags}
591
592
%pre
593
594
595
596
597
598
599
600
601
rm -f /home/nemo/.cache/msyncd/sync/client/sociald.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.facebook.Calendars.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.facebook.Contacts.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.facebook.Images.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.facebook.Notifications.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.twitter.Notifications.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.twitter.Posts.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.google.Calendars.xml || :
rm -f /home/nemo/.cache/msyncd/sync/sociald.google.Contacts.xml || :
602
603
604
%install
rm -rf %{buildroot}
605
%qmake5_install
606
607
%post
608
systemctl-user try-restart msyncd.service || :