Christophe Giboudeaux 2017-08-05 22:01:48 +00:00 committed by Git OBS Bridge
parent 90aab2a455
commit 9c261dce65

View File

@ -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