2016-08-08 16:10:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package akonadi-contact
|
|
|
|
#
|
2018-01-12 12:20:39 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-08-08 16:10:36 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2016-10-11 22:53:23 +02:00
|
|
|
|
2017-04-15 15:27:42 +02:00
|
|
|
%bcond_without lang
|
|
|
|
|
2016-12-03 15:16:44 +01:00
|
|
|
%define sonum 5
|
2016-08-08 16:10:36 +02:00
|
|
|
Name: akonadi-contact
|
2018-08-18 13:01:12 +02:00
|
|
|
Version: 18.08.0
|
2016-08-08 16:10:36 +02:00
|
|
|
Release: 0
|
2016-12-03 15:16:44 +01:00
|
|
|
%define kf5_version 5.26.0
|
2017-08-12 00:51:57 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:18:54 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2016-08-08 16:10:36 +02:00
|
|
|
Summary: KDE PIM Libraries for Akonadi Contacts
|
2018-03-10 13:10:02 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-08-08 16:10:36 +02:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
|
|
|
Source: akonadi-contacts-%{version}.tar.xz
|
2016-10-11 22:53:23 +02:00
|
|
|
BuildRequires: akonadi-mime-devel
|
2016-12-03 15:16:44 +01:00
|
|
|
BuildRequires: akonadi-server-devel >= %{_kapp_version}
|
2016-08-11 14:18:21 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2016-08-08 16:10:36 +02:00
|
|
|
BuildRequires: grantlee5-devel
|
2016-10-11 22:53:23 +02:00
|
|
|
BuildRequires: kcalcore-devel
|
2016-08-08 16:10:36 +02:00
|
|
|
BuildRequires: kcodecs-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kcompletion-devel >= %{kf5_version}
|
2016-10-11 22:53:23 +02:00
|
|
|
BuildRequires: kcontacts-devel
|
2016-08-08 16:10:36 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: kio-devel >= %{kf5_version}
|
2016-10-11 22:53:23 +02:00
|
|
|
BuildRequires: kmime-devel
|
2016-12-03 15:16:44 +01:00
|
|
|
BuildRequires: pkgconfig
|
2017-08-12 00:51:57 +02:00
|
|
|
BuildRequires: cmake(KF5Prison)
|
2016-08-11 14:18:21 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Test) >= 5.6.0
|
2016-08-08 16:10:36 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5WebEngine) >= 5.6.0
|
2016-08-11 14:18:21 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5WebEngineWidgets) >= 5.6.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.6.0
|
2016-08-08 16:10:36 +02:00
|
|
|
Requires: libKF5AkonadiContact5 = %{version}
|
2017-08-05 23:13:58 +02:00
|
|
|
Requires: libKF5ContactEditor5 = %{version}
|
2016-12-03 15:16:44 +01:00
|
|
|
Provides: akonadi-contacts = %{version}
|
|
|
|
Obsoletes: akonadi-contacts < %{version}
|
2017-08-12 00:51:57 +02:00
|
|
|
Recommends: %{name}-lang
|
2016-12-03 15:16:44 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
# It can only build on the same platforms as Qt Webengine
|
|
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides a library used for handling personal contacts,
|
|
|
|
as part of the KDE Personal Information Management (PIM) software.
|
|
|
|
|
|
|
|
%package -n libKF5AkonadiContact5
|
|
|
|
Summary: Library for personal contact handling
|
2016-12-03 15:16:44 +01:00
|
|
|
Group: System/Libraries
|
2016-08-14 21:28:07 +02:00
|
|
|
Requires: akonadi-contact >= %{version}
|
2016-12-03 15:16:44 +01:00
|
|
|
Obsoletes: akonadi-socialutils
|
2017-01-14 11:29:23 +01:00
|
|
|
Obsoletes: akonadi-socialutils-devel
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%description -n libKF5AkonadiContact5
|
|
|
|
This package provides a library used for handling personal contacts,
|
|
|
|
as part of the KDE Personal Information Management (PIM) software.
|
|
|
|
|
2017-08-05 23:13:15 +02:00
|
|
|
%package -n libKF5ContactEditor5
|
|
|
|
Summary: Library for personal contact handling
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: akonadi-contact >= %{version}
|
|
|
|
|
|
|
|
%description -n libKF5ContactEditor5
|
|
|
|
This package provides a library used for handling personal contacts,
|
|
|
|
as part of the KDE Personal Information Management (PIM) software.
|
|
|
|
|
2018-04-10 15:19:22 +02:00
|
|
|
%package -n akonadi-plugin-contacts
|
|
|
|
Summary: Plugins for personal contact handling
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: akonadi-contact >= %{version}
|
|
|
|
|
|
|
|
%description -n akonadi-plugin-contacts
|
|
|
|
This package provides plugins required by PIM applications to read and write contact data.
|
2017-08-06 00:01:48 +02:00
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%package devel
|
|
|
|
Summary: KDE PIM Libraries: Build Environment
|
|
|
|
Group: Development/Libraries/KDE
|
2017-08-12 00:51:57 +02:00
|
|
|
Requires: akonadi-contact = %{version}
|
2016-08-08 16:10:36 +02:00
|
|
|
Requires: akonadi-server-devel
|
2016-08-09 01:00:26 +02:00
|
|
|
Requires: kcontacts-devel
|
2016-08-08 16:10:36 +02:00
|
|
|
Requires: libKF5AkonadiContact5 = %{version}
|
2017-08-06 00:01:48 +02:00
|
|
|
Requires: libKF5ContactEditor5 = %{version}
|
2016-12-03 15:16:44 +01:00
|
|
|
Obsoletes: akonadi-contacts-devel < %{version}
|
|
|
|
Provides: akonadi-contacts-devel = %{version}
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop KDE PIM applications.
|
|
|
|
|
2017-04-15 15:27:42 +02:00
|
|
|
%lang_package
|
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n akonadi-contacts-%{version}
|
|
|
|
|
|
|
|
%build
|
2016-12-03 15:16:44 +01:00
|
|
|
%cmake_kf5 -d build -- -DKF5_INCLUDE_INSTALL_DIR=%{_kf5_includedir}
|
2016-08-08 16:10:36 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:27:42 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%endif
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%post -n libKF5AkonadiContact5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5AkonadiContact5 -p /sbin/ldconfig
|
2017-08-06 00:01:48 +02:00
|
|
|
|
2017-08-05 23:13:15 +02:00
|
|
|
%post -n libKF5ContactEditor5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5ContactEditor5 -p /sbin/ldconfig
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%dir %{_kf5_plugindir}
|
2017-08-06 00:01:48 +02:00
|
|
|
%dir %{_kf5_plugindir}/akonadi/contacts/
|
2016-08-08 16:10:36 +02:00
|
|
|
%dir %{_kf5_servicesdir}/akonadi
|
2017-08-12 00:51:57 +02:00
|
|
|
%dir %{_kf5_servicesdir}/akonadi/contact
|
2018-07-28 15:18:54 +02:00
|
|
|
%{_kf5_debugdir}/*.categories
|
2018-04-10 15:19:22 +02:00
|
|
|
%{_kf5_debugdir}/*.renamecategories
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_datadir}/akonadi/contact/
|
2017-08-06 00:01:48 +02:00
|
|
|
%{_kf5_plugindir}/akonadi/contacts/plugins/
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_plugindir}/kcm_akonadicontact_actions.so
|
2016-08-08 16:10:36 +02:00
|
|
|
%{_kf5_servicesdir}/akonadi/contact/
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_servicesdir}/akonadicontact_actions.desktop
|
|
|
|
%{_kf5_servicetypesdir}/kaddressbookimprotocol.desktop
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%files -n libKF5AkonadiContact5
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%{_kf5_libdir}/libKF5AkonadiContact.so.*
|
|
|
|
|
2017-08-05 23:13:15 +02:00
|
|
|
%files -n libKF5ContactEditor5
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%{_kf5_libdir}/libKF5ContactEditor.so.*
|
|
|
|
|
2018-04-10 15:19:22 +02:00
|
|
|
%files -n akonadi-plugin-contacts
|
|
|
|
%{_kf5_plugindir}/akonadi_serializer_addressee.so
|
|
|
|
%{_kf5_plugindir}/akonadi_serializer_contactgroup.so
|
|
|
|
%dir %{_kf5_sharedir}/akonadi
|
|
|
|
%dir %{_kf5_sharedir}/akonadi/plugins
|
|
|
|
%dir %{_kf5_sharedir}/akonadi/plugins/serializer
|
|
|
|
%{_kf5_sharedir}/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop
|
|
|
|
%{_kf5_sharedir}/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop
|
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%dir %{_kf5_includedir}/Akonadi
|
2017-08-12 00:51:57 +02:00
|
|
|
%dir %{_kf5_includedir}/ContactEditor
|
2016-08-08 16:10:36 +02:00
|
|
|
%dir %{_kf5_includedir}/akonadi
|
2017-08-12 00:51:57 +02:00
|
|
|
%dir %{_kf5_includedir}/contacteditor
|
2016-08-08 16:10:36 +02:00
|
|
|
%{_kf5_includedir}/Akonadi/Contact/
|
2017-08-12 00:51:57 +02:00
|
|
|
%{_kf5_includedir}/ContactEditor
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_includedir}/akonadi/contact/
|
2017-08-12 00:51:57 +02:00
|
|
|
%{_kf5_includedir}/contacteditor
|
|
|
|
%{_kf5_cmakedir}/KF5AkonadiContact/
|
|
|
|
%{_kf5_cmakedir}/KF5ContactEditor/
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiContact.so
|
|
|
|
%{_kf5_libdir}/libKF5ContactEditor.so
|
2016-08-08 16:10:36 +02:00
|
|
|
%{_kf5_mkspecsdir}/qt_AkonadiContact.pri
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_mkspecsdir}/qt_ContactEditor.pri
|
2016-08-08 16:10:36 +02:00
|
|
|
|
2017-04-15 15:27:42 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%doc COPYING*
|
|
|
|
%endif
|
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%changelog
|