From 9c261dce657447796b91e6e8f67deda095010593ef365717b9933b46553e7e8d Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Sat, 5 Aug 2017 22:01:48 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-contact?expand=0&rev=51 --- akonadi-contact.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/akonadi-contact.spec b/akonadi-contact.spec index 7f24ce7..c7e5389 100644 --- a/akonadi-contact.spec +++ b/akonadi-contact.spec @@ -49,9 +49,9 @@ BuildRequires: pkgconfig(Qt5WebEngineWidgets) >= 5.6.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.6.0 Requires: libKF5AkonadiContact5 = %{version} Requires: libKF5ContactEditor5 = %{version} +Recommends: %{name}-lang Provides: akonadi-contacts = %{version} Obsoletes: akonadi-contacts < %{version} -Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build # It can only build on the same platforms as Qt Webengine ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64 @@ -80,12 +80,15 @@ Requires: akonadi-contact >= %{version} This package provides a library used for handling personal contacts, as part of the KDE Personal Information Management (PIM) software. + %package devel Summary: KDE PIM Libraries: Build Environment Group: Development/Libraries/KDE Requires: akonadi-server-devel Requires: kcontacts-devel +Requires: akonadi-contact = %{version} Requires: libKF5AkonadiContact5 = %{version} +Requires: libKF5ContactEditor5 = %{version} Obsoletes: akonadi-contacts-devel < %{version} Provides: akonadi-contacts-devel = %{version} @@ -112,18 +115,19 @@ to develop KDE PIM applications. %post -n libKF5AkonadiContact5 -p /sbin/ldconfig %postun -n libKF5AkonadiContact5 -p /sbin/ldconfig + %post -n libKF5ContactEditor5 -p /sbin/ldconfig %postun -n libKF5ContactEditor5 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING* -%config %{_kf5_configdir}/akonadi-contacts.categories -%config %{_kf5_configdir}/contact-editor.categories +%config %{_kf5_configdir}/*.categories %dir %{_kf5_plugindir} +%dir %{_kf5_plugindir}/akonadi/contacts/ %dir %{_kf5_servicesdir}/akonadi -%dir %{_kf5_servicesdir}/akonadi/contact %{_kf5_datadir}/akonadi/contact/ +%{_kf5_plugindir}/akonadi/contacts/plugins/ %{_kf5_plugindir}/kcm_akonadicontact_actions.so %{_kf5_servicesdir}/akonadi/contact/ %{_kf5_servicesdir}/akonadicontact_actions.desktop @@ -140,7 +144,6 @@ to develop KDE PIM applications. %doc COPYING* %{_kf5_libdir}/libKF5ContactEditor.so.* - %files devel %defattr(-,root,root) %doc COPYING* @@ -149,6 +152,7 @@ to develop KDE PIM applications. %{_kf5_includedir}/Akonadi/Contact/ %{_kf5_includedir}/ContactEditor/ %{_kf5_includedir}/akonadi/contact/ +%{_kf5_includedir}/contacteditor/ %{_kf5_libdir}/cmake/KF5AkonadiContact/ %{_kf5_libdir}/cmake/KF5ContactEditor/ %{_kf5_libdir}/libKF5AkonadiContact.so @@ -162,5 +166,3 @@ to develop KDE PIM applications. %endif %changelog - -