2016-08-08 16:10:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package akonadi-contact
|
|
|
|
#
|
2023-03-02 15:20:32 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
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.
|
|
|
|
|
2018-09-14 14:12:37 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-08-08 16:10:36 +02:00
|
|
|
#
|
|
|
|
|
2016-10-11 22:53:23 +02:00
|
|
|
|
2019-08-15 16:00:06 +02:00
|
|
|
%define rname akonadi-contacts
|
2016-12-03 15:16:44 +01:00
|
|
|
%define sonum 5
|
2023-03-20 09:51:16 +01:00
|
|
|
%define kf5_version 5.104.0
|
2022-01-06 13:44:21 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:43:49 +01:00
|
|
|
Name: akonadi-contact
|
2023-04-03 12:25:49 +02:00
|
|
|
Version: 23.03.90
|
2018-11-25 00:43:49 +01:00
|
|
|
Release: 0
|
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
|
2019-08-15 16:00:06 +02:00
|
|
|
URL: https://www.kde.org
|
2023-03-20 09:51:16 +01:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:21 +01:00
|
|
|
%if %{with released}
|
2023-03-20 09:51:16 +01:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 15:30:44 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-08-11 14:18:21 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2016-08-08 16:10:36 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2020-11-21 13:57:33 +01:00
|
|
|
BuildRequires: cmake(Grantlee5)
|
2019-11-29 12:38:46 +01:00
|
|
|
BuildRequires: cmake(KF5Codecs) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Completion) >= %{kf5_version}
|
2020-01-29 16:50:12 +01:00
|
|
|
BuildRequires: cmake(KF5Config) >= %{kf5_version}
|
2020-03-28 14:56:37 +01:00
|
|
|
BuildRequires: cmake(KF5Contacts) >= %{kf5_version}
|
2023-03-20 09:51:16 +01:00
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
|
2020-01-29 16:50:12 +01:00
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= %{kf5_version}
|
2021-07-27 11:35:33 +02:00
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= %{kf5_version}
|
2020-02-07 09:19:30 +01:00
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Prison) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Service) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5TextWidgets) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= %{kf5_version}
|
2023-03-20 09:51:16 +01:00
|
|
|
BuildRequires: cmake(KPim5Akonadi)
|
|
|
|
BuildRequires: cmake(KPim5GrantleeTheme)
|
|
|
|
BuildRequires: cmake(KPim5Mime)
|
2021-03-28 09:26:45 +02:00
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2023-03-20 09:51:16 +01:00
|
|
|
Requires: libKPim5AkonadiContact5 = %{version}
|
|
|
|
Requires: libKPim5ContactEditor5 = %{version}
|
2016-12-03 15:16:44 +01:00
|
|
|
Provides: akonadi-contacts = %{version}
|
|
|
|
Obsoletes: akonadi-contacts < %{version}
|
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.
|
|
|
|
|
2023-03-20 09:51:16 +01:00
|
|
|
%package -n libKPim5AkonadiContact5
|
2016-08-08 16:10:36 +02:00
|
|
|
Summary: Library for personal contact handling
|
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
|
2020-12-12 09:17:41 +01:00
|
|
|
Obsoletes: kdepim-apps-libs <= 20.08.3
|
2020-12-23 08:30:21 +01:00
|
|
|
Obsoletes: kdepim-apps-libs-lang <= 20.08.3
|
2023-03-20 09:51:16 +01:00
|
|
|
Provides: libKF5AkonadiContact5 = %{version}
|
|
|
|
Obsoletes: libKF5AkonadiContact5 < %{version}
|
2016-08-08 16:10:36 +02:00
|
|
|
|
2023-03-20 09:51:16 +01:00
|
|
|
%description -n libKPim5AkonadiContact5
|
2016-08-08 16:10:36 +02:00
|
|
|
This package provides a library used for handling personal contacts,
|
|
|
|
as part of the KDE Personal Information Management (PIM) software.
|
|
|
|
|
2023-03-20 09:51:16 +01:00
|
|
|
%package -n libKPim5ContactEditor5
|
2017-08-05 23:13:15 +02:00
|
|
|
Summary: Library for personal contact handling
|
|
|
|
Requires: akonadi-contact >= %{version}
|
2023-03-20 09:51:16 +01:00
|
|
|
Provides: libKF5ContactEditor5 = %{version}
|
|
|
|
Obsoletes: libKF5ContactEditor5 < %{version}
|
2017-08-05 23:13:15 +02:00
|
|
|
|
2023-03-20 09:51:16 +01:00
|
|
|
%description -n libKPim5ContactEditor5
|
2017-08-05 23:13:15 +02:00
|
|
|
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
|
|
|
|
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
|
2017-08-12 00:51:57 +02:00
|
|
|
Requires: akonadi-contact = %{version}
|
2023-03-20 09:51:16 +01:00
|
|
|
Requires: libKPim5AkonadiContact5 = %{version}
|
|
|
|
Requires: libKPim5ContactEditor5 = %{version}
|
2021-11-30 08:58:11 +01:00
|
|
|
Requires: cmake(Grantlee5)
|
2023-03-20 09:51:16 +01:00
|
|
|
Requires: cmake(KPim5Akonadi)
|
2019-11-29 12:38:46 +01:00
|
|
|
Requires: cmake(KF5Contacts)
|
2023-03-20 09:51:16 +01:00
|
|
|
Requires: cmake(KPim5GrantleeTheme)
|
2021-03-28 09:26:45 +02:00
|
|
|
Requires: cmake(Qt5Widgets)
|
2016-12-03 15:16:44 +01:00
|
|
|
Obsoletes: akonadi-contacts-devel < %{version}
|
|
|
|
Provides: akonadi-contacts-devel = %{version}
|
2020-12-12 09:17:41 +01:00
|
|
|
Obsoletes: kdepim-apps-libs-devel <= 20.08.3
|
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
|
2021-04-19 15:30:44 +02:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%build
|
2023-03-20 09:51:16 +01:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:37:50 +01:00
|
|
|
%cmake_build
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:57:56 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2016-08-08 16:10:36 +02:00
|
|
|
|
2023-03-20 09:51:16 +01:00
|
|
|
%ldconfig_scriptlets -n libKPim5AkonadiContact5
|
|
|
|
%ldconfig_scriptlets -n libKPim5ContactEditor5
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%files
|
2020-11-21 13:57:33 +01:00
|
|
|
%license LICENSES/*
|
2022-08-09 16:12:08 +02:00
|
|
|
%dir %{_kf5_plugindir}/pim5
|
|
|
|
%dir %{_kf5_plugindir}/pim5/akonadi/
|
|
|
|
%dir %{_kf5_plugindir}/pim5/akonadi/contacts/
|
|
|
|
%dir %{_kf5_plugindir}/pim5/kcms/
|
|
|
|
%dir %{_kf5_plugindir}/pim5/kcms/kaddressbook
|
2021-04-19 15:30:44 +02:00
|
|
|
%{_kf5_datadir}/akonadi/contact/
|
2018-07-28 15:18:54 +02:00
|
|
|
%{_kf5_debugdir}/*.categories
|
2018-04-10 15:19:22 +02:00
|
|
|
%{_kf5_debugdir}/*.renamecategories
|
2022-08-09 16:12:08 +02:00
|
|
|
%{_kf5_plugindir}/pim5/akonadi/contacts/plugins/
|
|
|
|
%{_kf5_plugindir}/pim5/kcms/kaddressbook/kcm_akonadicontact_actions.so
|
2016-08-08 16:10:36 +02:00
|
|
|
|
2023-03-20 09:51:16 +01:00
|
|
|
%files -n libKPim5AkonadiContact5
|
|
|
|
%{_kf5_libdir}/libKPim5AkonadiContact.so.*
|
2016-08-08 16:10:36 +02:00
|
|
|
|
2023-03-20 09:51:16 +01:00
|
|
|
%files -n libKPim5ContactEditor5
|
|
|
|
%{_kf5_libdir}/libKPim5ContactEditor.so.*
|
2017-08-05 23:13:15 +02:00
|
|
|
|
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
|
2023-03-20 09:51:16 +01:00
|
|
|
%dir %{_includedir}/KPim5
|
|
|
|
%{_includedir}/KPim5/AkonadiContact/
|
|
|
|
%{_includedir}/KPim5/AkonadiContactEditor/
|
2021-04-19 15:30:44 +02:00
|
|
|
%{_kf5_cmakedir}/KF5AkonadiContact/
|
2023-03-20 09:51:16 +01:00
|
|
|
%{_kf5_cmakedir}/KF5AkonadiContactEditor/
|
|
|
|
%{_kf5_cmakedir}/KPim5AkonadiContact/
|
|
|
|
%{_kf5_cmakedir}/KPim5ContactEditor/
|
|
|
|
%{_kf5_libdir}/libKPim5AkonadiContact.so
|
|
|
|
%{_kf5_libdir}/libKPim5ContactEditor.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
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%changelog
|